From 5daca8d13e5d562954ecde2454369775fe042ea5 Mon Sep 17 00:00:00 2001 From: lhie1 Date: Tue, 22 Dec 2020 17:59:17 +0800 Subject: [PATCH] Module Update --- Surge/Surge 3/Module/Historical price.sgmodule | 2 +- Surge/Surge 3/Module/Netflix ratings.sgmodule | 5 +++-- Surge/Surge 3/Module/TikTokUnlock.sgmodule | 10 +++++++--- Surge/Surge 3/Module/Weibo.sgmodule | 5 ++--- Surge/Surge 3/Module/YouTube.sgmodule | 3 +++ 5 files changed, 16 insertions(+), 9 deletions(-) diff --git a/Surge/Surge 3/Module/Historical price.sgmodule b/Surge/Surge 3/Module/Historical price.sgmodule index b3813bd..762324b 100644 --- a/Surge/Surge 3/Module/Historical price.sgmodule +++ b/Surge/Surge 3/Module/Historical price.sgmodule @@ -8,4 +8,4 @@ http-request ^http://.+/amdc/mobileDispatch requires-body=1,script-path=https:// http-response ^https?://trade-acs\.m\.taobao\.com/gw/mtop\.taobao\.detail\.getdetail requires-body=1,script-path=https://raw.githubusercontent.com/yichahucha/surge/master/tb_price.js [MITM] -hostname = %APPEND% api.m.jd.com, amdc.m.taobao.com, trade-acs.m.taobao.com +hostname = %APPEND% api.m.jd.com, trade-acs.m.taobao.com \ No newline at end of file diff --git a/Surge/Surge 3/Module/Netflix ratings.sgmodule b/Surge/Surge 3/Module/Netflix ratings.sgmodule index 81d6518..9fed235 100644 --- a/Surge/Surge 3/Module/Netflix ratings.sgmodule +++ b/Surge/Surge 3/Module/Netflix ratings.sgmodule @@ -5,6 +5,7 @@ [Script] http-request ^https?://ios\.prod\.ftl\.netflix\.com/iosui/user/.+path=%5B%22videos%22%2C%\d+%22%2C%22summary%22%5D script-path=https://raw.githubusercontent.com/yichahucha/surge/master/nf_rating.js http-response ^https?://ios\.prod\.ftl\.netflix\.com/iosui/user/.+path=%5B%22videos%22%2C%\d+%22%2C%22summary%22%5D requires-body=1,script-path=https://raw.githubusercontent.com/yichahucha/surge/master/nf_rating.js - +# 单集评分 +nf_rating_season.js = type=http-response,pattern=^https?://ios\.prod\.ftl\.netflix\.com/iosui/warmer/.+type=show-ath,requires-body=1,max-size=0,script-path=https://raw.githubusercontent.com/yichahucha/surge/master/nf_rating_season.js [MITM] -hostname = %APPEND% ios.prod.ftl.netflix.com \ No newline at end of file +hostname = ios.prod.ftl.netflix.com \ No newline at end of file diff --git a/Surge/Surge 3/Module/TikTokUnlock.sgmodule b/Surge/Surge 3/Module/TikTokUnlock.sgmodule index 465ba3c..0c35ec4 100644 --- a/Surge/Surge 3/Module/TikTokUnlock.sgmodule +++ b/Surge/Surge 3/Module/TikTokUnlock.sgmodule @@ -4,8 +4,12 @@ [URL Rewrite] (?<=_region=)CN(?=&) JP 307 -(?<=&app_version=)17..(?=.?.?&) 1 307 -(?<=\?version_code=)17..(?=.?.?&) 1 307 +(?<=&mcc_mnc=)4 2 307 +(?<=&app_version=)1[6-9]..(?=.?.?&) 100. 307 +(?<=\?version_code=)1[6-9]..(?=.?.?&) 100. 307 + +[URL Rewrite] +^https://api[\w-]*?.tiktokv.com/aweme/v\d/policy/notice/? - reject [MITM] -hostname = %APPEND% *.tiktokv.com, *.byteoversea.com, *.musical.ly, *.snssdk.com +hostname = %APPEND% *.tiktokv.com, *.byteoversea.com, *.musical.ly, *.snssdk.com \ No newline at end of file diff --git a/Surge/Surge 3/Module/Weibo.sgmodule b/Surge/Surge 3/Module/Weibo.sgmodule index 470ef44..03d8542 100644 --- a/Surge/Surge 3/Module/Weibo.sgmodule +++ b/Surge/Surge 3/Module/Weibo.sgmodule @@ -4,7 +4,6 @@ [Script] http-response ^https?://(sdk|wb)app\.uve\.weibo\.com(/interface/sdk/sdkad.php|/wbapplua/wbpullad.lua) requires-body=1,script-path=https://raw.githubusercontent.com/yichahucha/surge/master/wb_launch.js -http-response ^https?://m?api\.weibo\.c(n|om)/2/(statuses/(unread|extend|positives/get|(friends|video)(/|_)(mix)?timeline)|stories/(video_stream|home_list)|(groups|fangle)/timeline|profile/statuses|comments/build_comments|photo/recommend_list|service/picfeed|searchall|cardlist|page|!/photos/pic_recommend_status|video/tiny_stream_video_list) requires-body=1,max-size=-1,script-path=https://raw.githubusercontent.com/yichahucha/surge/master/wb_ad.js - +http-response ^https?://m?api\.weibo\.c(n|om)/2/(statuses/(unread|extend|positives/get|(friends|video)(/|_)(mix)?timeline)|stories/(video_stream|home_list)|(groups|fangle)/timeline|profile/statuses|comments/build_comments|photo/recommend_list|service/picfeed|searchall|cardlist|page|!/(photos/pic_recommend_status|live/media_homelist)|video/tiny_stream_video_list|photo/info) requires-body=1,max-size=-1,script-path=https://raw.githubusercontent.com/yichahucha/surge/master/wb_ad.js [MITM] -hostname = %APPEND% *.uve.weibo.com, api.weibo.cn, mapi.weibo.com, storage.wax.weibo.com +hostname = api.weibo.cn, mapi.weibo.com, *.uve.weibo.com \ No newline at end of file diff --git a/Surge/Surge 3/Module/YouTube.sgmodule b/Surge/Surge 3/Module/YouTube.sgmodule index a36a9b3..66450b3 100644 --- a/Surge/Surge 3/Module/YouTube.sgmodule +++ b/Surge/Surge 3/Module/YouTube.sgmodule @@ -19,5 +19,8 @@ URL-REGEX,https?:\/\/[\w-]+\.googlevideo\.com\/.+&oad,REJECT-TINYGIF [URL Rewrite] ctier=[A-Z] citer=A 302 +[Script] +http-request https?:\/\/.+?\.googlevideo\.com\/.+&(oad|ctier)=(?!A),script-path=https://choler.github.io/Surge/Script/YouTube.js + [MITM] hostname = %APPEND% *.googlevideo.com, *.youtube.com, youtubei.googleapis.com \ No newline at end of file