summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/hoster/GigapetaCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugin/hoster/GigapetaCom.py')
-rw-r--r--pyload/plugin/hoster/GigapetaCom.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/pyload/plugin/hoster/GigapetaCom.py b/pyload/plugin/hoster/GigapetaCom.py
index 6397882f8..e9351eac1 100644
--- a/pyload/plugin/hoster/GigapetaCom.py
+++ b/pyload/plugin/hoster/GigapetaCom.py
@@ -43,14 +43,13 @@ class GigapetaCom(SimpleHoster):
m = re.search(r'Location\s*:\s*(.+)', self.req.http.header, re.I)
if m:
- download_url = m.group(1)
+ self.link = m.group(1).rstrip() #@TODO: Remove .rstrip() in 0.4.10
break
elif "Entered figures don`t coincide with the picture" in self.html:
self.invalidCaptcha()
else:
self.fail(_("No valid captcha code entered"))
- self.download(download_url)
def checkErrors(self):