summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nitzo <nitzo2001@yahoo.com> 2016-01-22 00:38:45 +0100
committerGravatar Nitzo <nitzo2001@yahoo.com> 2016-01-22 00:38:45 +0100
commitf95471bcc28cb0c83f6fd6ad9c9d792b88d226bf (patch)
treee1caa03f7c79bccdf58b77e3c834af0e142b460d
parent[FilecryptCc] fix #2311 (diff)
downloadpyload-f95471bcc28cb0c83f6fd6ad9c9d792b88d226bf.tar.xz
[Misc] fix #2159
-rw-r--r--module/plugins/internal/misc.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/module/plugins/internal/misc.py b/module/plugins/internal/misc.py
index c449070e0..e62a7d6cd 100644
--- a/module/plugins/internal/misc.py
+++ b/module/plugins/internal/misc.py
@@ -38,7 +38,7 @@ except ImportError:
class misc(object):
__name__ = "misc"
__type__ = "plugin"
- __version__ = "0.24"
+ __version__ = "0.25"
__status__ = "stable"
__pattern__ = r'^unmatchable$'
@@ -711,7 +711,8 @@ def parse_html_header(header):
hdict = {}
regexp = r'[ ]*(?P<key>.+?)[ ]*:[ ]*(?P<value>.+?)[ ]*\r?\n'
- for key, value in re.findall(regexp, header.lower()):
+ for key, value in re.findall(regexp, header):
+ key = key.lower()
if key in hdict:
header_key = hdict.get(key)
if type(header_key) is list: