diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-12-23 13:26:32 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-12-23 13:26:32 +0100 |
commit | e1d4186c62512d8bb76d35b6f8d1828d8d0aa94e (patch) | |
tree | e78b3eb323135b0fcb10577bda0b6ddf7181070f /module/plugins/hoster/BitshareCom.py | |
parent | New plugin: MultiHoster (diff) | |
download | pyload-e1d4186c62512d8bb76d35b6f8d1828d8d0aa94e.tar.xz |
[SimpleHoster] Improve multi-hoster feature
Diffstat (limited to 'module/plugins/hoster/BitshareCom.py')
-rw-r--r-- | module/plugins/hoster/BitshareCom.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/hoster/BitshareCom.py b/module/plugins/hoster/BitshareCom.py index 6a497f4bc..a4fbde048 100644 --- a/module/plugins/hoster/BitshareCom.py +++ b/module/plugins/hoster/BitshareCom.py @@ -13,7 +13,7 @@ class BitshareCom(SimpleHoster): __type__ = "hoster" __version__ = "0.51" - __pattern__ = r'http://(?:www\.)?bitshare\.com/(files/(?P<id1>\w+)(/(?P<NAME>.*?)\.html)?|\?f=(?P<id2>\w+))' + __pattern__ = r'http://(?:www\.)?bitshare\.com/(files/)?(?(1)|\?f=)(?P<ID>\w+)(?(1)/(?P<NAME>.*?)\.html)' __description__ = """Bitshare.com hoster plugin""" __license__ = "GPLv3" |