虎牙静态ip代理,这下应该不断流了
本帖最后由 duboy 于 2024-12-11 08:53 编辑看到 guoma 大佬 分享了 虎牙静态ip一堆堆, 应该利用起来, 解决虎牙断流的问题.
食用方法:将大佬分享的 IP 复制到 代码第6行 和 第8行之间,OK
另外免费送大家一条亚洲卫视源{:4_104:}
**** Hidden Message *****
本帖最后由 guoma 于 2024-12-10 21:37 编辑
<?php
error_reporting(0);
$ar1 = ['182.40.120.','180,171,186,183,194,191,195,216,213,230,241,229'];
$ar2 = ['11.40.184.','121,139,90,129,65,133,72,98,78,132,86,165,40,162,137,62'];
$ar3 = ['39.145.1.','43,48,114,117,116,113,120,134,178,180'];
$ar4 = ['110.249.196.','17,48,46,53,81,90,103,117,134,156,169,170,188,194,195,203,221,224,234,241'];
$ar5 = ['112.29.119.','17,13,20,12,14,11,16,30,25,24,27,28,35,32,53,73'];
$ar6 = ['112.46.6.','13,12,17,21,19,23,32,44,50'];
$ar7 = ['112.48.119.','28,30,39,38,34,36,37,43,44,51,42,53,52,82,93,160,171'];
$ar8 = ['112.49.28.','17,20,45,60,76,81,90,98,141,147'];
$ar9 = ['112.49.40.','10,55,63,69,102,110,122,129,132,133,128,141,137,155,165,183,206,227'];
$ar10 = ['120.222.228.','23,34,35,57,58,69,70,81,92,241'];
$ar11 = ['123.6.37.','14,35,19,43,51,41,63,100,110,115,130,126,121,134,136,141,143,150,154,162,171,167,177,180,176,190,197,192,196,193,191,200,214,199,208,211,223,227,219,226,239,244,243,245,232,249,254,247'];
$ar12 = ['123.6.40.','21,12,18,32,25,26,38,45,51,53,49,66,77,73,78,85,97,108,125,131,144,140,147,151,157,159,165,163,169,162,179,178,180,186,183,188,227,230,241,253'];
$ar13 = ['120.206.189.','24,20,31,35,37,52,64,78,71,80,87,91'];
$ar14 = ['123.182.162.','53,55,51,54,56,64,70,73,80,84,81,79,89,97,101,100,99,110,121,115,128,129,172'];
$ar15 = ['123.184.28.','16,23,24,27,98,113,118,121,147'];
$ar16 = ['140.249.242.','31,33,34,35,41,44,38,39,40,43,42,49,47,48,101,103,104,105,111,112,110,106,107,117,116,115,113,114,161,163,162,164,167,166,168,169,170,172,174,179,173,177,180'];
$ar17 = ['150.138.233.','20,45,66,68,65,64,73,74,78,75,79,80,133,130,127,131,136,135,191,196,199,220,228,214'];
$ar18 = ['182.40.24.','39,12,36,17,47,42,32,38,46,35,34,62,87,104,93,108,111,114,115,116,122,147,141,162,177,166,169,163,164,173,242,239,232,235,234,237,244,238,240,245'];
$ar19 = ['182.40.98.','13,32,29,40,52,43,41,97,96,87,101,110,113,118,111,112,148,159,160,173'];
$ar20 = ['223.85.105.','21,11,58,64,66,59,73,84,124,114,122,129,128,167,150,168,174,194,221,220,229,248,246,253'];
$ar21 = ['183.240.218.','35,41,38,33,30,36,24,42,43,29,47'];
$ar22 = ['123.184.27.','14,12,86,82,141,149,174,164,221,217,235'];
$ar23 = ['123.184.26.','142,144,155,143,150,152,141,160,154,157,153,146,166,172,173,174,168,213,242,237'];
$ar24 = ['123.184.21.','34,43,89,123'];
$ar25 = ['182.40.27.','17,20,22'];
$ar26 = ['182.40.116.','10,7,56,58,59,69,85,110,126,123,151,169,183,189,201,207,221'];
$ar27 = ['182.40.121.','104,109,118,128,139,133,126,147,149,146,142,164,161,173,172,177,180,183,184,170,191,196,195,205,204,190,207,208,218,209,228'];
$ar28 = ['120.206.185.','18,13,29,30,37,46,115,237,147,228,227,213,215,200,226,217,216,211,242,235,239,223,225,212,206'];
$arr = [$ar1,$ar2,$ar3,$ar4,$ar5,$ar6,$ar7,$ar8,$ar9,$ar10,$ar11,$ar12,$ar13,$ar14,$ar15,$ar16,$ar17,$ar18,$ar19,$ar20,$ar21,$ar22,$ar23,$ar24,$ar25,$ar26,$ar27,$ar28];
$sj = $arr;
$a = explode(',', $sj);
$ip4 = $a;
$ip = $sj.$ip4;
$id = isset($_GET['id'])?$_GET['id']:'11342412';
$data = json_decode(file_get_contents("https://mp.huya.com/cache.php?m=Live&do=profileRoom&roomid=".$id),1);
$sStreamName = $data['data']['stream']['baseSteamInfoList']['sStreamName'];
$playurl = "http://$ip/test-txdwk.flv.huya.com/src/$sStreamName.m3u8";//可将m3u8换成flv
header("location:" . $playurl);
//print_r($playurl);
?>
谢谢好心分享啊!~ 将大佬发的 IP 复制到 代码第6行 和 第8行之间,OK 这个可以测试看看 谢谢好心分享 谢谢楼主分享 这以量取胜 将大佬发的 IP 复制到 代码第6行 和 第8行之间,OK 学习学习…… 看看............................... ip失效了又要重新扫ip 谢谢楼主分享