forked from photonmang/quantumultX
-
Notifications
You must be signed in to change notification settings - Fork 6
/
91.js
28 lines (21 loc) · 5.09 KB
/
91.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*
91 short video unlock Gold&&Vip
由于91的无法定义请求头进行长度判断,所以只能改成正则匹配,可能存在一些小问题,但是能正常购买金币及视频无限观看。
此脚本帮朋友配置解锁,不作为自用,所以无法判断何时会失效,失效请Issues。
QX:
^https?:\/\/.+\.(my10api|(.*91.*))\.(com|tips|app|xyz)(:\d{2,5})?\/api.php$ url script-response-body https://raw.githubusercontent.com/photonmang/quantumultX/master/91.js
*/
let key1 = "0EB44C7F3C20A63808D6C2237D6F1A5FC6676D39D0CCCD7A9D65944578502BD7446F01ABE1B81496DB731924E87A5C95B876C2A164038906A8BEFF2D8B43D43700DB31E12A040D2EFDF0638C15170712ABE88492C096956FB5584E3AD9C19A0CB1D409EBD774C9F48F02BC355B2161458DCDC983A628CF8BB6136C929A3BB31A76B6897B831BEBFFF1F9507DDDA8EE7DA685B8411E79E3EBC5A62014295DB944D6A1DF207CCBA527CB688D0B2D9CD72CE714624029398F3CBEFA2050590C5B64CEC38E5D01772A61379D39980775BB9E626513DA761ADB7E405A9FC23EB7FE3357B94669FCCD6BB0D96D821C92DC9232B5805DDE076714703DC2ED0A76C5FE7D5F24C5A020E95626B1CBCF2B9A2560A6FC847A20A7ADB169D7424CEDDABDCE2626BA0260635B13598B75CF073A766A3C483B58B39D8E9F43E64080E394D7FEB4C31B416283F5A9671B069EC72CB6FDD875721E004E8CDBD1B81970CA905A32E50E78E50DE39654B54DBB2AE2B4E75A920A76302C2E4D1455B60B3C1F5451C138C3038DF17D35FB2804A602670BF3B27FF5987EC3D61C06B233C420533223F72DA762456211E6A59780AF1E6FEE97189BBACEC8AC50177178EBEBB8AB3DE71F5F6A87487F3AD03AA469146641681C48F55C48D8D8FB9F3F887C66D179C62FA873CE024BD73DCABC44CD9681EF8F23E0A9BBC30AA58480C9C4903D312225C6AFBBA5B60035212A697061094498A9B77A376EED77373737AAA57B59B676D0D0B99D66474EBCAAE684336B006B998946FD9FF97B1184AFB92EDCBC41B590F2A1547191E6FAAC2D539D80491CD9E2E66EB601B2FA1D516BE8312B916CCB18BD3F42CE59040AEC6CDFC3ACFAA07C5014861A7EF3C6F1BFBC1DC0952414863D4DCA31D08EAB86CC81F4D24ECE958BAD97DEB4E048EDF4A7F9590079548601EA51607B0CD60A91BE4F508B11643433AF1982A8C02A15704160CDD0A215C867CDA1486CB46FA3206E9E8D975C46EFEA0ED8678F5916F15010CBD744957015B89909CEDC5D75BFF17015A0ABAD03B3E4396DCAFFC32DAEE482E72572590934FAB255AE21157ABA58E2AC4E69ACE5083B551FED9C504834173D73E4F656D02782C976AB924C13FEF23CE8DDDF196FFE9DE6FAADA83383C3EF27DAD38CAFCA315F6F048F0A7C37B990A7C61D7930F5405C15D9A17888B08E4EAD8EAF677115CA83C8A6D30961C97567ADD1A1035F9CF2998DDA55E198A73D3F71619985F320A0FAD6DF59DFFAA9B95B23456E3B22857922BD8FB61338ECECC48C24BEA6169D66039AA39BD50B5EE06E6815A818939375041F1B46880D7CD87B3A64071BA26D9DB76039EA06E02F475EF52EAC3F8A2C587756B9C0B295E4EC4E1FF0DAC8221A7694CA7C06B0A97405A402BF074058BED28EA29D20F1B499F922AAB664B594344CA03D7990A1ED41AAD4E6C4EBB15C5A26B6374D86207C110B602E8C855DFE085C2D9322AB8C250811933FEF4E36B990EA00DD5D6559B761E652BE61236D5623F9836A1F30BC8AF8055377932B580C77D493E4EF88C421E4607C7DB84C7A608676C389067A73EC9E44A595F2BDCFB062DAA0E2565AFEFA0DEEFC7DE412B94585B13B86EB42B210E291A3F5AE142E015CDB8A66F5E5F2CA9816A20C2508ABAAF4C81990E9E415F3FDB2B3F13706076C9A2EB91C33C2A58C8695A0B27D02907D9E100A6812D4010D75B32CB1EFE55D44730B2DAF80667D9DE2146E81F741B3D61BF744FFF97D962045EC2AD683326D8E18486021AA229187BE363CC3C9ECD5438356C5AD67736E97FB3D7C267672876F6D98797C5D6C266214216E975C0AA700D81906F05F48E9F37F1AEB9673AB9C2DCC91065EA0748B1C3163C143ECA27FE77123FD82C72C7E5D5E8B21CF6CE6590C732832A056D11885D1148A72E48DD1B47057568191836D11FA3316E2FE1BEA4C17B8D974A8CE049E4E06CD6406DA12F385337283F7C0E811E46E68FD0A58F56F36C863ABD1A46492A80F0EAB1511B912AABD68D1D18D881EC2539CFFA0B82C865C9D1C6691B86793CBA615F05C03C9E50E157365B0525C421D61E783B15C11EDEB93BA586420747C7F46279DAFF52BF8CAA419C6AA50A18168B98FA241F1D835E1B56BD08C94E6EC9843E264EAB8BBEE1CCAC6AFE9385D867FBC3CC828759116DA5C4EA4E26536DEB9C723E6B3705035D9177EE5DC80C100C546DFCC2FCBEACE8937AE6C982F7CD365C431EDEAB56F8CDCE09D20930F63BBB3F2588D8B3D43D8245D1363B3DAAF6FDC6AC2A2D462B440E36C612532AFD768360394454991ECC3379C569A4EA0647C0C0DFD1A640DCDBF1E7AF7945D93EF472E7697DA84BC54704C961FA54869B605F00D13CF63AB33A5A45BC4";
let key2 = "0EB44C7F3C20A63808D6C2237D6F1A5FC64F297AC0CC9B21C47DC74B11136E866D04F5037F64EF85423C7C300AB72B95A948AB1A38DE035F376D30EEFFBA2310754E1B807EFF9EF44B92B7F443606AC8185A4ECE29DA17D910BB021B87FB489CB27F5FC148ED9257425D088C8E1F910D5519699C49D1989905775A396EB07285B611801BE8D36DCB080500BC28D7020FD37C23BC33BEC9142FE5A2235AF7AB371DEB34182A4CBA0CAD943A09B59BDE7DC3664EE9981DCAD27930734475A560ECD0514C7190B752709C00237EB4CDC3EFC16D3865F70E44416DD04559D6B1D06A7E82A24CAB029E89B7BA1C8C283CE1F1B286AA43681539BA60CC6747FE66B389B94BBC12013D28ACBEB137A311FA49BB618C03FA1B9E9823F12AE11100FB5A55B580D6F80B6C79122317FA442D1CA06E54F1D4AA71C5BB08509B225FBCCAE5026F51EABFF2B2FDF7B482DC630B50500045DB7E6404102C002EC3645AB773A485B1310DF975CE8672DCECC168BBC091F3245F0D4A466BEA069503197D2A9AFB6186A634289EEA1B17F1040F89105617A8EC97294B0E94CC3752DCED41BD3D6B62197573723473C6DA66F37D349E6D457650E51C05C66483081355569B33B614994E62AC741E4D0338F1B0345CA9FEE8C1C982622267E1FA50BF9A0FC8D09BC171CD383DD42CB526D5B79213ED36B6FB23249D";
let obj = JSON.parse($response.body);
if (obj.data.match(/^[A-Z0-9]{2704,6000}$/)) {
obj.data = key1;
$done({body: JSON.stringify(obj)});
} else {
if (obj.data.match(/^[A-Z0-9]{1000,1226}$/)) {
obj.data = key2;
$done({body: JSON.stringify(obj)});
} else {
$done({});
}
}