php获取
2020-07-07
327
PHP获取huya虎牙直播地址代码
PHP获取huya虎牙直播地址代码,新建一个php文件,保存以下代码<?php$id=$_GET['id'];if (!$id){exit();}$url='https://www.huya.com/'.$id;$uri=file_get_contents($url);preg_match('|"sStreamName":"(.*?)"|',$uri,$sS);pr...
