提交 5e130b80 编写于 作者: H hjdhnx

优化爱弹幕和js0的兼容性

上级 28a09a03
3.9.32beta4 3.9.32beta5
\ No newline at end of file \ No newline at end of file
...@@ -19,7 +19,7 @@ var rule = { ...@@ -19,7 +19,7 @@ var rule = {
图片来源:'@Referer=https://www.girigirilove.com/', 图片来源:'@Referer=https://www.girigirilove.com/',
推荐:'.list-vod.flex.wrap.border-box.public-r.hide-a-21 .public-list-box;a&&title;.lazy&&data-original;.public-list-prb&&Text;a&&href', 推荐:'.list-vod.flex.wrap.border-box.public-r.hide-a-21 .public-list-box;a&&title;.lazy&&data-original;.public-list-prb&&Text;a&&href',
一级:'', 一级:'',
一级:'js:let body=input.split("#")[1];let t=Math.round(new Date/1e3).toString();let key=md5("DS"+t+"DCC147D11943AF75");let url=input.split("#")[0];body=body+"&time="+t+"&key="+key;print(body);fetch_params.body=body;let html=post(url,fetch_params);let data=JSON.parse(html);VODS=data.list.map(function(it){it.vod_pic=urljoin(input.split("/i")[0],it.vod_pic);return it});', 一级:'js:let body=input.split("#")[1];let t=Math.round(new Date/1e3).toString();let key=md5("DS"+t+"DCC147D11943AF75");let url=input.split("#")[0];body=body+"&time="+t+"&key="+key;print(body);fetch_params.body=body;let html=post(url,fetch_params);let data=JSON.parse(html);VODS=data.list.map(function(it){it.vod_pic=urljoin2(input.split("/i")[0],it.vod_pic);return it});',
二级:{ 二级:{
"title":".slide-info-title&&Text;.slide-info:eq(3)--strong&&Text", "title":".slide-info-title&&Text;.slide-info:eq(3)--strong&&Text",
"img":"body&&.wow.fadeInLeft;a&&data-original", "img":"body&&.wow.fadeInLeft;a&&data-original",
......
...@@ -287,7 +287,7 @@ def base_request(url,obj): ...@@ -287,7 +287,7 @@ def base_request(url,obj):
method = 'get' method = 'get'
obj['method'] = 'method' obj['method'] = 'method'
# print(obj) # print(obj)
print(f"{method}:{url}:{obj['headers']}:{obj.get('body','')}") print(f"{method}:{url}:{obj['headers']}:{obj.get('body','')},请求超时:{obj['timeout']}")
try: try:
# r = requests.get(url, headers=headers, params=body, timeout=timeout) # r = requests.get(url, headers=headers, params=body, timeout=timeout)
if method.lower() == 'get': if method.lower() == 'get':
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册