summaryrefslogtreecommitdiffstats
path: root/module/plugins
diff options
context:
space:
mode:
authorGravatar GammaC0de <GammaC0de@users.noreply.github.com> 2015-08-23 21:24:27 +0200
committerGravatar GammaC0de <GammaC0de@users.noreply.github.com> 2015-08-23 21:24:27 +0200
commita2da3c7790b81233a748bd28107e8c6ccdbb0594 (patch)
treece4eec2445370fa03a2cc2beab6b9b455cb4d3e3 /module/plugins
parentUpdate OneFichierCom.py (diff)
downloadpyload-a2da3c7790b81233a748bd28107e8c6ccdbb0594.tar.xz
Update OneFichierCom.py
Diffstat (limited to 'module/plugins')
-rw-r--r--module/plugins/hoster/OneFichierCom.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/hoster/OneFichierCom.py b/module/plugins/hoster/OneFichierCom.py
index fcf6842a6..93f056377 100644
--- a/module/plugins/hoster/OneFichierCom.py
+++ b/module/plugins/hoster/OneFichierCom.py
@@ -48,7 +48,7 @@ class OneFichierCom(SimpleHoster):
redirect = url
for i in xrange(10):
try:
- headers = dict(re.findall(r"(?P<name>.+?): (?P<value>.+?)\r", get_url(redirect, just_header=True).lower()))
+ headers = dict(re.findall(r"(?P<name>.+?): (?P<value>.+?)\r?\n", get_url(redirect, just_header=True).lower()))
if 'location' in headers and headers['location']:
redirect = headers['location']
else: