mirror of
https://github.com/SickGear/SickGear.git
synced 2025-01-20 16:43:43 +00:00
Update scc.py
This commit is contained in:
parent
5b713f0262
commit
90620e47b8
1 changed files with 1 additions and 3 deletions
|
@ -240,9 +240,7 @@ class SCCProvider(generic.TorrentProvider):
|
|||
parsed = list(urlparse.urlparse(url))
|
||||
parsed[2] = re.sub("/{2,}", "/", parsed[2]) # replace two or more / with one
|
||||
url = urlparse.urlunparse(parsed)
|
||||
|
||||
|
||||
|
||||
|
||||
response = self.session.get(url, headers=headers, verify=False)
|
||||
except (requests.exceptions.ConnectionError, requests.exceptions.HTTPError), e:
|
||||
logger.log(u"Error loading " + self.name + " URL: " + ex(e), logger.ERROR)
|
||||
|
|
Loading…
Reference in a new issue