This commit is contained in:
Yuuki 2025-01-04 14:46:40 +09:00
parent c8782672b1
commit 5f0468c091

2
run.py
View file

@ -81,8 +81,6 @@ if not file_exists('data/channels.xml'):
else:
guide.channels = open('data/channels.xml', mode='r', encoding='UTF-8').read().splitlines()
breakpoint()
for x in range(0, 7):
req = Request(request_url())
req.add_header('user-agent', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36')