- Fix Wstream

- Fix Unshortenit
 - Fix Spostamento Videoteca
This commit is contained in:
Alhaziel01
2020-12-21 09:10:25 +01:00
parent 3ffb7498f4
commit 8fa69efc71
5 changed files with 41 additions and 40 deletions
+1 -1
View File
@@ -300,7 +300,7 @@ def downloadpage(url, **opt):
else:
req_headers = dict(opt['headers'])
if domain in directIP.keys():
if domain in directIP.keys() and not opt.get('disable_directIP', False):
req_headers['Host'] = domain
url = urlparse.urlunparse(parse._replace(netloc=directIP.get(domain)))