summaryrefslogtreecommitdiffstats
path: root/module/plugins/internal
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-12-02 00:04:41 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-12-02 00:04:41 +0100
commiteb71f308010e35aaec7f7bfa529ada96975c909d (patch)
tree2785704fab6122776f7418ad1d28e8f7601956f4 /module/plugins/internal
parentFixes (diff)
downloadpyload-eb71f308010e35aaec7f7bfa529ada96975c909d.tar.xz
[SimpleHoster] Force _isDirectLink to old style
Diffstat (limited to 'module/plugins/internal')
-rw-r--r--module/plugins/internal/SimpleHoster.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/module/plugins/internal/SimpleHoster.py b/module/plugins/internal/SimpleHoster.py
index cf03a1242..ba718950d 100644
--- a/module/plugins/internal/SimpleHoster.py
+++ b/module/plugins/internal/SimpleHoster.py
@@ -122,6 +122,8 @@ def _isDirectLink(self, url, resumable=True):
location = header['location']
+ resumable = False #@NOTE: Testing...
+
if resumable: #: sometimes http code may be wrong...
if 'location' in self.load(location, ref=True, cookies=True, just_header=True, decode=True):
return ""