add proxy to get
This commit is contained in:
parent
7a5f3b6940
commit
15f350ae80
@ -59,7 +59,7 @@ def rewrite(current, provider):
|
|||||||
else:
|
else:
|
||||||
if "mpegurl" not in ctype.lower():
|
if "mpegurl" not in ctype.lower():
|
||||||
return None
|
return None
|
||||||
resp = requests.get(current)
|
resp = requests.get(current, proxies=proxy_req)
|
||||||
ndata = None
|
ndata = None
|
||||||
if resp.text is not None:
|
if resp.text is not None:
|
||||||
ndata = ""
|
ndata = ""
|
||||||
|
Loading…
Reference in New Issue
Block a user