diff --git a/js/version.txt b/js/version.txt index c7022e81737e8271adfeabc9e40fb0c669e3f333..4f51e4329998910c2be9abc0064e06c189dd4955 100644 --- a/js/version.txt +++ b/js/version.txt @@ -1 +1 @@ -3.9.28beta5 \ No newline at end of file +3.9.28beta6 \ No newline at end of file diff --git "a/js/\350\213\271\346\236\234\347\210\261\345\276\256.js" "b/js/\350\213\271\346\236\234\347\210\261\345\276\256.js" new file mode 100644 index 0000000000000000000000000000000000000000..a1f646cf2135768d7f551088cc9598002ca2b982 --- /dev/null +++ "b/js/\350\213\271\346\236\234\347\210\261\345\276\256.js" @@ -0,0 +1,28 @@ +/* 已知问题: +1.图片是base64文本编码壳子无法显示 +2.播放地址 https://ss.rongliren.com/api/video/m3u8?id=22180&admin=1 像这样,壳子无法播放 + */ +var rule = { + title:'苹果爱微', + host:'https://files.yuchenglw.com', + homeUrl:'/Index/lists?cat=1', + url:'/Index/lists?cat=fyclass', + headers:{ + 'User-Agent':'IOS_UA' + }, + searchable:0, + quickSearch:0, + timeout:5000, + // play_json:[{re:'*', json:{jx:0, parse:1,header:JSON.stringify({"user-agent":"Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1"})}}], + // play_json:0, + class_parse:'.childs a;a&&Text;a&&href;cat=(.*)', + limit:5, + play_parse:true, + lazy:'', + 推荐:'*', + 一级:'.row.lists .item;.time&&Text;img&&data-src;.time&&Text;a&&href', + // 二级:'*', + 二级:'*', + 图片来源:'@Referer=https://files.yuchenglw.com', + lazy:'js:pd=jsp.pd;let html=request(input);let a=pd(html,"source&&src");input=a' +} \ No newline at end of file diff --git a/templates/config.txt b/templates/config.txt index ad982386ef4b9e6009e0b7b9a3ca8d3bd655a205..8444e2175b44d76f32c43baebbb2c8530b21558a 100644 --- a/templates/config.txt +++ b/templates/config.txt @@ -281,6 +281,11 @@ ] } ], +"rules":[ +{ +"host":"files.yuchenglw.com", +"rule":["m3u8?id="], +}], "ads": [ "mimg.0c1q0l.cn", "www.googletagmanager.com", diff --git a/txt/py/py_alist.py b/txt/py/py_alist.py index 40849bacfa2c9baed53e46b9cc20851edea3259a..f8fb4e4ffadf3eb384469cc11f97b823d9be5b90 100644 --- a/txt/py/py_alist.py +++ b/txt/py/py_alist.py @@ -32,7 +32,8 @@ class Spider(Spider): # 元类 默认的元类 type # "小孟资源": "https://8023.haohanba.cn/小孟丨资源大合集/无损音乐", "资源小站": "https://960303.xyz/ali", "轻弹浅唱": "https://g.xiang.lol", - "小兵组网盘视频": "https://6vv.app" + "小兵组网盘视频": "https://6vv.app", + # "wenwen": "http://518p8g7316.goho.co:5244", } classes = [] for k in cateManual: