diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-12-02 00:04:41 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-12-02 00:04:41 +0100 |
commit | eb71f308010e35aaec7f7bfa529ada96975c909d (patch) | |
tree | 2785704fab6122776f7418ad1d28e8f7601956f4 /module/plugins/internal | |
parent | Fixes (diff) | |
download | pyload-eb71f308010e35aaec7f7bfa529ada96975c909d.tar.xz |
[SimpleHoster] Force _isDirectLink to old style
Diffstat (limited to 'module/plugins/internal')
-rw-r--r-- | module/plugins/internal/SimpleHoster.py | 2 |
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 "" |