add proxy to get

This commit is contained in:
2021-05-09 11:49:09 +02:00
parent 7a5f3b6940
commit 15f350ae80

View File

@ -59,7 +59,7 @@ def rewrite(current, provider):
else:
if "mpegurl" not in ctype.lower():
return None
resp = requests.get(current)
resp = requests.get(current, proxies=proxy_req)
ndata = None
if resp.text is not None:
ndata = ""