summaryrefslogtreecommitdiffstats
path: root/module/plugins/internal/SimpleHoster.py
diff options
context:
space:
mode:
authorGravatar zoidberg10 <zoidberg@mujmail.cz> 2012-09-12 21:20:54 +0200
committerGravatar zoidberg10 <zoidberg@mujmail.cz> 2012-09-12 21:20:54 +0200
commit39cf572a4e6e85d1ecd542476ffe2636f0ecc708 (patch)
tree5dd9f6cee6cd78833b93ed2aac65d4ef6b948cde /module/plugins/internal/SimpleHoster.py
parentfix turbobit with ossp-js, ryushare, easybytez - thx trance4us, ChriZathens (diff)
downloadpyload-39cf572a4e6e85d1ecd542476ffe2636f0ecc708.tar.xz
update mediafire, rusfolder
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 566615120..6d7bb6284 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"""