源码相关说明:
1,源码有时效性,无时间保障,可能当天就失效,这些都是正常现象,不提供后期维护。
2,部分源码需要国内主机支持,故而境外主机无法使用。
3,部分源码需要服务器支持,包括但不限于PHP版本、某些参数等等。
4,所有源码都会有演示,演示没问题的话,请自行解决服务器相关问题,不做任何解答。给钱的大爷除外。
5,最重要的一点:部分源码其实是网络公开的,可能会收费,是因为我花时间了,你大可以自己去找,就看你的时间值不值这几毛钱了。如果有时间建议自己去找。
湖南卫视,http://39.106.167.36:52666/fm.php?id=hnws湖南经视,http://39.106.167.36:52666/fm.php?id=hnjs湖南都市,http://39.106.167.36:52666/fm.php?id=hnds
<?php/**http://127.0.0.1:8080/fm.php?id=hnwshttps://ls.mangguonews.com/mgnh5prod/tv?id=8ec33396-5a6e-11e9-8cf2-00163e0e9229https://ls.mangguonews.com/apinewsprod/tv/getTvProgramListH5?tvId=8ec33396-5a6e-11e9-8cf2-00163e0e9229*/$map = ['hnws' => '8ec33396-5a6e-11e9-8cf2-00163e0e9229', // 湖南卫视'hnjs' => '070db8ff-1869-11e8-84f7-00163e0c7ba3', // 湖南经视'hnds' => '9a39d52f-1869-11e8-84f7-00163e0c7ba3', // 湖南都市];$id = $_GET['id'] ?? '';if (!isset($map[$id])) die('参数错误,可用:hnws, hnjs, hnds');$apiUrl = 'https://ls.mangguonews.com/apinewsprod/tv/getTvH5?tvId=' . $map[$id];$data = json_decode(file_get_contents($apiUrl), true);$encrypted = base64_decode($data['data']['videoUrl']);$decrypted = openssl_decrypt($encrypted, 'AES-256-CBC', '8fm8uguAH9BSgRQkWp2ZRQ8app84a6a5', OPENSSL_RAW_DATA, '8fm8uguAH9BSgRQk');if ($decrypted) {header('Location: ' . $decrypted);} else {echo '解密失败';}?>
夜雨聆风