diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2012-09-18 18:08:15 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2012-09-18 18:08:15 +0200 |
commit | 5ebf3e854216b4b25e273f8873f7203c5a82fadd (patch) | |
tree | e2c7c30fdcae6c014c00d2262d89ea606bc83309 /module/plugins/internal | |
parent | merged stable into default (diff) | |
parent | Backed out changeset e7db858d5ab2 (diff) | |
download | pyload-5ebf3e854216b4b25e273f8873f7203c5a82fadd.tar.xz |
merge newest changes
Diffstat (limited to 'module/plugins/internal')
-rw-r--r-- | module/plugins/internal/SimpleHoster.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/internal/SimpleHoster.py b/module/plugins/internal/SimpleHoster.py index 5056b22b2..a2e246d44 100644 --- a/module/plugins/internal/SimpleHoster.py +++ b/module/plugins/internal/SimpleHoster.py @@ -39,7 +39,7 @@ def set_cookies(cj, cookies): cj.setCookie(domain, name, value) def parseHtmlTagAttrValue(attr_name, tag): - m = re.search(r"%s\s*=\s*([\"']?)((?<=\")[^\"]+|(?<=')[^']+|[^\s\"'][^>\s]+)\1" % attr_name, tag) + m = re.search(r"%s\s*=\s*([\"']?)((?<=\")[^\"]+|(?<=')[^']+|[^>\s\"'][^>\s]*)\1" % attr_name, tag, re.I) return m.group(2) if m else None def parseHtmlForm(attr_str, html): @@ -129,7 +129,7 @@ class PluginParseError(Exception): class SimpleHoster(Hoster): __name__ = "SimpleHoster" - __version__ = "0.25" + __version__ = "0.26" __pattern__ = None __type__ = "hoster" __description__ = """Base hoster plugin""" |