Capture Neko/WG/network hubs, Studio viewer charts, physical deploy docs, and one-shot scripts so VPS vs physical can be toggled later without losing WIP. Co-authored-by: Cursor <cursoragent@cursor.com>
11 lines
530 B
Python
11 lines
530 B
Python
# -*- coding: utf-8 -*-
|
|
import re, sys, httpx
|
|
sys.stdout.reconfigure(encoding="utf-8", errors="replace")
|
|
url = "https://dy.nomadro.cn/_next/static/chunks/app/youtube/page-7a6c91c3bf577da9.js"
|
|
body = httpx.get(url, timeout=40).text
|
|
for n in ["选择已授权频道", "listbox", "aria-haspopup", "ChevronDown", "role:\"listbox\"", 'role:"listbox"', "option value", "<select", "native"]:
|
|
print(n, n in body)
|
|
# show context around 选择已授权
|
|
i = body.find("选择已授权频道")
|
|
print("context:", body[max(0,i-120):i+200])
|