diff --git a/gui/slick/images/providers/zooqle.png b/gui/slick/images/providers/zooqle.png new file mode 100644 index 00000000..560c95c0 Binary files /dev/null and b/gui/slick/images/providers/zooqle.png differ diff --git a/sickbeard/helpers.py b/sickbeard/helpers.py index 485168a2..52b55b88 100644 --- a/sickbeard/helpers.py +++ b/sickbeard/helpers.py @@ -1174,8 +1174,10 @@ def getURL(url, post_data=None, params=None, headers=None, timeout=30, session=N else: resp = session.get(url, timeout=timeout, **kwargs) if resp.ok and not resp.content and 'url=' in resp.headers.get('Refresh', '').lower(): - parsed[2] = '/%s' % resp.headers.get('Refresh').lower().split('url=')[1].strip('/') - url = urlparse.urlunparse(parsed) + url = resp.headers.get('Refresh').lower().split('url=')[1].strip('/') + if not url.startswith('http'): + parsed[2] = '/%s' % url + url = urlparse.urlunparse(parsed) resp = session.get(url, timeout=timeout, **kwargs) if not resp.ok: