summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/BitshareCom.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-12-23 13:26:32 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-12-23 13:26:32 +0100
commite1d4186c62512d8bb76d35b6f8d1828d8d0aa94e (patch)
treee78b3eb323135b0fcb10577bda0b6ddf7181070f /module/plugins/hoster/BitshareCom.py
parentNew plugin: MultiHoster (diff)
downloadpyload-e1d4186c62512d8bb76d35b6f8d1828d8d0aa94e.tar.xz
[SimpleHoster] Improve multi-hoster feature
Diffstat (limited to 'module/plugins/hoster/BitshareCom.py')
-rw-r--r--module/plugins/hoster/BitshareCom.py2
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"