diff options
author | GammaC0de <GammaC0de@users.noreply.github.com> | 2015-08-23 21:24:27 +0200 |
---|---|---|
committer | GammaC0de <GammaC0de@users.noreply.github.com> | 2015-08-23 21:24:27 +0200 |
commit | a2da3c7790b81233a748bd28107e8c6ccdbb0594 (patch) | |
tree | ce4eec2445370fa03a2cc2beab6b9b455cb4d3e3 /module/plugins | |
parent | Update OneFichierCom.py (diff) | |
download | pyload-a2da3c7790b81233a748bd28107e8c6ccdbb0594.tar.xz |
Update OneFichierCom.py
Diffstat (limited to 'module/plugins')
-rw-r--r-- | module/plugins/hoster/OneFichierCom.py | 2 |
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: |