搜索频道 (“CCTV1”)变量名 | 类 型 | 静态 | 数组 | 备 注 |
str | 文本型 | | |
文本数组 | 文本型 | | 0 |
i | 整数型 | | |
tba_class | 文本型 | | |
关键字 =
“CCTV1”str =
到文本 (网页_访问_对象 (“https://tonkiang.us/?”, 1,
“seerch=” + 关键字 +
“&Submit=+&city=670ede1b”, , , , , , , , , , , , , , , ,
))
str =
编码_URL解码 (str,
真) tba_class =
文本_取出中间文本 (str,
“table-layout:fixed; width: 100%; overflow: hidden;”,
“ {”, ,
)tba_class =
文本_取右边 (tba_class,
“.”, ,
)文本_取中间_批量 (str, tba_class +
“>”,
“”, 文本数组, , , , , , ,
)
计次循环首 (取数组成员数 (文本数组
), i
)
调试输出 (文本数组
[i
])
计次循环尾 ()调试输出 (“ok”)
搜索频道 (“CCTV1”)变量名 | 类 型 | 静态 | 数组 | 备 注 |
str | 文本型 | | |
文本数组 | 文本型 | | 0 |
i | 整数型 | | |
tba_class | 文本型 | | |
关键字 =
“CCTV1”str =
到文本 (网页_访问_对象 (“https://tonkiang.us/?”, 1,
“seerch=” + 关键字 +
“&Submit=+&city=670ede1b”, , , , , , , , , , , , , , , ,
))
str =
编码_URL解码 (str,
真) tba_class =
文本_取出中间文本 (str,
“table-layout:fixed; width: 100%; overflow: hidden;”,
“ {”, ,
)tba_class =
文本_取右边 (tba_class,
“.”, ,
)文本_取中间_批量 (str, tba_class +
“>”,
“”, 文本数组, , , , , , ,
)
计次循环首 (取数组成员数 (文本数组
), i
)
调试输出 (文本数组
[i
])
计次循环尾 ()调试输出 (“ok”)