diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-06-02 22:35:17 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-06-02 22:35:17 +0200 |
commit | 89066413aa1ba9be46b2bc1ac1ea97c6c235e74b (patch) | |
tree | b8c1292bfcc9594899f3465c32221b1783a982e3 /module/plugins/hoster/WebshareCz.py | |
parent | [PremiumizeMe] Account fixup (diff) | |
download | pyload-89066413aa1ba9be46b2bc1ac1ea97c6c235e74b.tar.xz |
Fix https://github.com/pyload/pyload/issues/1446 (2)
Diffstat (limited to 'module/plugins/hoster/WebshareCz.py')
-rw-r--r-- | module/plugins/hoster/WebshareCz.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/WebshareCz.py b/module/plugins/hoster/WebshareCz.py index b56d06a5b..c898d23ab 100644 --- a/module/plugins/hoster/WebshareCz.py +++ b/module/plugins/hoster/WebshareCz.py @@ -9,7 +9,7 @@ from module.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo class WebshareCz(SimpleHoster): __name__ = "WebshareCz" __type__ = "hoster" - __version__ = "0.17" + __version__ = "0.18" __pattern__ = r'https?://(?:www\.)?(en\.)?webshare\.cz/(?:#/)?file/(?P<ID>\w+)' __config__ = [("use_premium", "bool", "Use premium account if available", True)] @@ -30,7 +30,7 @@ class WebshareCz(SimpleHoster): post={'ident': info['pattern']['ID'], 'wst': ""}, decode=True) - if not re.search(r'<status>OK'): + if not re.search(r'<status>OK', api_data): info['status'] = 1 else: info['status'] = 2 |