summaryrefslogtreecommitdiffstats
path: root/module/plugins/internal/SimpleHoster.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2015-01-25 00:27:21 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2015-01-25 00:27:21 +0100
commitbe322927f8bedbe86e801326651bd548eeda1dd3 (patch)
treef7eccca505cc96c983b66bb963b85d2c52159020 /module/plugins/internal/SimpleHoster.py
parentFree XFS Premium chunked downloads. (diff)
downloadpyload-be322927f8bedbe86e801326651bd548eeda1dd3.tar.xz
[BasePlugin] Fix https://github.com/pyload/pyload/issues/1073
Diffstat (limited to 'module/plugins/internal/SimpleHoster.py')
-rw-r--r--module/plugins/internal/SimpleHoster.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/internal/SimpleHoster.py b/module/plugins/internal/SimpleHoster.py
index 506974259..5c9d993e7 100644
--- a/module/plugins/internal/SimpleHoster.py
+++ b/module/plugins/internal/SimpleHoster.py
@@ -245,7 +245,7 @@ def secondsToMidnight(gmt=0):
class SimpleHoster(Hoster):
__name__ = "SimpleHoster"
__type__ = "hoster"
- __version__ = "1.09"
+ __version__ = "1.10"
__pattern__ = r'^unmatchable$'
@@ -492,7 +492,7 @@ class SimpleHoster(Hoster):
self.checkFile()
- def downloadLink(self, link, disposition=False):
+ def downloadLink(self, link, disposition=False): #@TODO: Set `disposition=True` in 0.4.10
if link and isinstance(link, basestring):
self.correctCaptcha()
@@ -501,7 +501,7 @@ class SimpleHoster(Hoster):
baseurl = "%s://%s" % (url_p.scheme, url_p.netloc)
link = urljoin(baseurl, link)
- self.download(link, disposition=disposition) #@TODO: Set `disposition=True` in 0.4.10
+ self.download(link, ref=False, disposition=disposition)
def checkFile(self):