fix seriehd

This commit is contained in:
marco
2020-10-17 18:41:53 +02:00
parent 3f72418773
commit b022109f9e
3 changed files with 3 additions and 4 deletions

View File

@@ -544,8 +544,7 @@ class UnshortenIt(object):
if uri == prev_uri:
logger.info('Use Cloudscraper')
uri = httptools.downloadpage(uri, timeout=self._timeout, headers=headers, follow_redirects=False, cf=True).headers['location']
# from core import support
# support.dbg()
if "snip." in uri:
if 'out_generator' in uri:
uri = re.findall('url=(.*)$', uri)[0]