summaryrefslogtreecommitdiffstats
path: root/module/plugins/internal/SimpleHoster.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-11-07 17:08:21 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-11-07 17:08:21 +0100
commit58c9c8d78417ec6ccac5b6b117ea540033a09574 (patch)
tree38b4cef702d015cae371dc661e214d701ca8c5c4 /module/plugins/internal/SimpleHoster.py
parent[DataportCz][SendspaceCom] Fix missing getInfo (diff)
downloadpyload-58c9c8d78417ec6ccac5b6b117ea540033a09574.tar.xz
Fix download link formatting in some plugins
Diffstat (limited to 'module/plugins/internal/SimpleHoster.py')
-rw-r--r--module/plugins/internal/SimpleHoster.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/internal/SimpleHoster.py b/module/plugins/internal/SimpleHoster.py
index 87a348367..6a8a6ff6f 100644
--- a/module/plugins/internal/SimpleHoster.py
+++ b/module/plugins/internal/SimpleHoster.py
@@ -200,7 +200,7 @@ def timestamp():
class SimpleHoster(Hoster):
__name__ = "SimpleHoster"
__type__ = "hoster"
- __version__ = "0.52"
+ __version__ = "0.53"
__pattern__ = r'^unmatchable$'
@@ -318,7 +318,7 @@ class SimpleHoster(Hoster):
if parseFileInfo(self, url, html)[2] is not 2:
try:
- return re.search(r"Location\s*:\s*(.+)", self.req.http.header, re.I).group(1).strip().lower() #@TODO: Remove .strip().lower() in 0.4.10
+ return re.search(r'Location\s*:\s*(.+)', self.req.http.header, re.I).group(1).rstrip() #@TODO: Remove .rstrip() in 0.4.10
except:
pass