diff options
author | 2015-10-04 20:09:55 +0200 | |
---|---|---|
committer | 2015-10-04 20:09:55 +0200 | |
commit | cf6531b2c87fea99fd03884636bac4c80d1b475d (patch) | |
tree | c39125695c85662d2279af57082b36e1718d574a /module/plugins/hoster/ZippyshareCom.py | |
parent | Fixpack (2) (diff) | |
download | pyload-cf6531b2c87fea99fd03884636bac4c80d1b475d.tar.xz |
Fixpack (3)
Diffstat (limited to 'module/plugins/hoster/ZippyshareCom.py')
-rw-r--r-- | module/plugins/hoster/ZippyshareCom.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/hoster/ZippyshareCom.py b/module/plugins/hoster/ZippyshareCom.py index 221ec8c42..306ea2fd3 100644 --- a/module/plugins/hoster/ZippyshareCom.py +++ b/module/plugins/hoster/ZippyshareCom.py @@ -81,7 +81,7 @@ class ZippyshareCom(SimpleHoster): return varName #: Handle all getElementById - reVar = r'document.getElementById\(([\'"\w-]+)\)(\.)?(getAttribute\([\'"])?(\w+)?([\'"]\))?' + reVar = r'document.getElementById\(([\'"\w\-]+)\)(\.)?(getAttribute\([\'"])?(\w+)?([\'"]\))?' scripts = [re.sub(reVar, repl_element_by_id, script) for script in scripts if script] #: Add try/catch in JS to handle deliberate errors |