提交 275776e5 编写于 作者: H hjdhnx

增加自定义免嗅,增加规则模板

上级 fffbb681
...@@ -19,8 +19,8 @@ def lazyParse(input,d): ...@@ -19,8 +19,8 @@ def lazyParse(input,d):
r.encoding = d.encoding r.encoding = d.encoding
html = r.text html = r.text
# print(html) # print(html)
js = d.jsp.pdfh(html,'.stui-player__video script:eq(0)&&Html') # js = d.jsp.pdfh(html,'.stui-player__video script:eq(0)&&Html')
print(js) # print(js)
try: try:
ret = re.search('var player_(.*?)=(.*?)<', html, re.M | re.I).groups()[1] ret = re.search('var player_(.*?)=(.*?)<', html, re.M | re.I).groups()[1]
ret = json.loads(ret) ret = json.loads(ret)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册