{"id":13466805,"url":"https://github.com/yichahucha/surge","last_synced_at":"2025-05-15T07:06:27.731Z","repository":{"id":37734864,"uuid":"183581938","full_name":"yichahucha/surge","owner":"yichahucha","description":"Some useful scripts.","archived":false,"fork":false,"pushed_at":"2023-01-27T22:30:42.000Z","size":666,"stargazers_count":2499,"open_issues_count":3,"forks_count":475,"subscribers_count":133,"default_branch":"master","last_synced_at":"2025-04-15T05:18:09.776Z","etag":null,"topics":["script","surge"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yichahucha.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-04-26T07:41:05.000Z","updated_at":"2025-04-07T09:27:03.000Z","dependencies_parsed_at":"2023-02-15T13:00:49.773Z","dependency_job_id":null,"html_url":"https://github.com/yichahucha/surge","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yichahucha%2Fsurge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yichahucha%2Fsurge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yichahucha%2Fsurge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yichahucha%2Fsurge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yichahucha","download_url":"https://codeload.github.com/yichahucha/surge/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254292042,"owners_count":22046426,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["script","surge"],"created_at":"2024-07-31T15:00:50.262Z","updated_at":"2025-05-15T07:06:22.723Z","avatar_url":"https://github.com/yichahucha.png","language":"JavaScript","funding_links":[],"categories":["JavaScript","Proxy Rules And Scripts"],"sub_categories":["Python"],"readme":"# Surge\n\nNetflix ratings（IMDb、douban）\n```properties\n[Script]\nnf_rating.js = type=http-request,pattern=^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\nnf_rating.js = type=http-response,requires-body=1,pattern=^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\n[MITM]\nhostname = ios-*.prod.ftl.netflix.com,ios.prod.ftl.netflix.com\n```\n\nWb\n```properties\n[Script]\nhttp-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\nhttp-response ^https?://m?api\\.weibo\\.c(n|om)/2/(messageflow/notice|search/(container_timeline|finder)|statuses/(container_timeline_hot|container_timeline_unread|container_timeline|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|remind/unread_count) requires-body=1,max-size=-1,script-path=https://raw.githubusercontent.com/yichahucha/surge/master/wb_ad.js\n[MITM]\nhostname = api.weibo.cn, mapi.weibo.com, *.uve.weibo.com\n```\n\n~~Display jd historical price~~\n```properties\n[Script]\nhttp-response ^https?://api\\.m\\.jd\\.com/client\\.action\\?functionId=(wareBusiness|serverConfig|basicConfig) requires-body=1,script-path=https://raw.githubusercontent.com/yichahucha/surge/master/jd_price.js\n[MITM]\nhostname = api.m.jd.com\n```\n\n~~Display taobao historical price~~\n```properties\n[Script]\nhttp-response ^http://.+/amdc/mobileDispatch requires-body=1,script-path=https://raw.githubusercontent.com/yichahucha/surge/master/tb_price.js\nhttp-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\n[MITM]\nhostname = trade-acs.m.taobao.com\n```\n\n# Quan-X\n\nNetflix ratings（IMDb、douban）\n```properties\n[rewrite_local]\n^https?://ios(-.*)?\\.prod\\.ftl\\.netflix\\.com/iosui/user/.+path=%5B%22videos%22%2C%\\d+%22%2C%22summary%22%5D url script-request-header https://raw.githubusercontent.com/yichahucha/surge/master/nf_rating.js\n^https?://ios(-.*)?\\.prod\\.ftl\\.netflix\\.com/iosui/user/.+path=%5B%22videos%22%2C%\\d+%22%2C%22summary%22%5D url script-response-body https://raw.githubusercontent.com/yichahucha/surge/master/nf_rating.js\n[mitm]\nhostname = ios-*.prod.ftl.netflix.com,ios.prod.ftl.netflix.com\n```\n\nWb\n```properties\n[rewrite_local]\n^https?://(sdk|wb)app\\.uve\\.weibo\\.com(/interface/sdk/sdkad.php|/wbapplua/wbpullad.lua) url script-response-body https://raw.githubusercontent.com/yichahucha/surge/master/wb_launch.js\n^https?://m?api\\.weibo\\.c(n|om)/2/(messageflow/notice|search/(container_timeline|finder)|statuses/(container_timeline_hot|container_timeline_unread|container_timeline|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|remind/unread_count) url script-response-body https://raw.githubusercontent.com/yichahucha/surge/master/wb_ad.js\n[mitm]\nhostname = api.weibo.cn, mapi.weibo.com, *.uve.weibo.com\n```\n\n~~Display jd historical price~~\n```properties\n[rewrite_local]\n^https?://api\\.m\\.jd\\.com/client\\.action\\?functionId=(wareBusiness|serverConfig|basicConfig) url script-response-body https://raw.githubusercontent.com/yichahucha/surge/master/jd_price.js\n[mitm]\nhostname = api.m.jd.com\n```\n\n~~Display taobao historical price~~\n```properties\n[rewrite_local]\n^http://.+/amdc/mobileDispatch url script-response-body https://raw.githubusercontent.com/yichahucha/surge/master/tb_price.js\n^https?://trade-acs\\.m\\.taobao\\.com/gw/mtop\\.taobao\\.detail\\.getdetail url script-response-body https://raw.githubusercontent.com/yichahucha/surge/master/tb_price.js\n[mitm]\nhostname = trade-acs.m.taobao.com\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyichahucha%2Fsurge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyichahucha%2Fsurge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyichahucha%2Fsurge/lists"}