Update IPTV搜索引擎采集.py

This commit is contained in:
frxz751113
2024-09-13 01:54:10 +08:00
committed by GitHub
parent e032840a93
commit d064493b4b
+2 -1
View File
@@ -38,7 +38,8 @@ def via_tonking(url):
} }
try: try:
response = requests.get( response = requests.get(
url=f'http://tonkiang.us/alllist.php?s={url}&c=false&y=false', #url=f'http://tonkiang.us/alllist.php?s={url}&c=false&y=false',
url=f'tonkiang.us/hotellist.html?s={url}&c=false&y=false',
headers=headers, headers=headers,
timeout=10 timeout=10
) )