summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/QuickshareCz.py
diff options
context:
space:
mode:
authorGravatar GammaC0de <GammaC0de@users.noreply.github.com> 2015-04-14 01:49:49 +0200
committerGravatar GammaC0de <GammaC0de@users.noreply.github.com> 2015-04-14 01:49:49 +0200
commit20d88924fd6a3a5d15b521441a414aa3f8121e79 (patch)
tree2477c8c150048bdc580a6fe6000eb62d6db89b6f /module/plugins/hoster/QuickshareCz.py
parentUpdate DepositfilesCom.py (diff)
parent[UnSkipOnFail] Typo (diff)
downloadpyload-20d88924fd6a3a5d15b521441a414aa3f8121e79.tar.xz
Merge pull request #1 from pyload/stable
Sync
Diffstat (limited to 'module/plugins/hoster/QuickshareCz.py')
-rw-r--r--module/plugins/hoster/QuickshareCz.py10
1 files changed, 4 insertions, 6 deletions
diff --git a/module/plugins/hoster/QuickshareCz.py b/module/plugins/hoster/QuickshareCz.py
index 250a33d0d..893c3b6c7 100644
--- a/module/plugins/hoster/QuickshareCz.py
+++ b/module/plugins/hoster/QuickshareCz.py
@@ -68,11 +68,12 @@ class QuickshareCz(SimpleHoster):
m = re.search(r'Location\s*:\s*(.+)', self.header, re.I)
if m is None:
self.fail(_("File not found"))
- download_url = m.group(1).rstrip() #@TODO: Remove .rstrip() in 0.4.10
- self.logDebug("FREE URL2:" + download_url)
+
+ self.link = m.group(1).rstrip() #@TODO: Remove .rstrip() in 0.4.10
+ self.logDebug("FREE URL2:" + self.link)
# check errors
- m = re.search(r'/chyba/(\d+)', download_url)
+ m = re.search(r'/chyba/(\d+)', self.link)
if m:
if m.group(1) == '1':
self.retry(60, 2 * 60, "This IP is already downloading")
@@ -81,9 +82,6 @@ class QuickshareCz(SimpleHoster):
else:
self.fail(_("Error %d") % m.group(1))
- # download file
- self.download(download_url)
-
def handlePremium(self, pyfile):
download_url = '%s/download_premium.php' % self.jsvars['server']