Delete LIVE/广州.php

This commit is contained in:
alantang 2023-12-22 16:26:09 +08:00 committed by GitHub
parent 057b149212
commit 154b9f6794
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,20 +0,0 @@
<?php
/*
广州综合,id=zhonghe
广州新闻,id=xinwen
广州竞赛,id=jingsai
广州影视,id=yingshi
广州法治,id=fazhi
广州南国都市,id=shenghuo
*/
$id=$_GET['id'];
$url='https://www.gztv.com/gztv/api/tv/'.$id;
$ch=curl_init();
curl_setopt($ch,CURLOPT_URL,$url);
curl_setopt($ch,CURLOPT_RETURNTRANSFER,1);
curl_setopt($ch,CURLOPT_SSL_VERIFYPEER,false);
$data=curl_exec($ch);
curl_close($ch);
$re=json_decode($data)->data;
header('location:'.$re);
?>