diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-10-11 01:04:09 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-10-11 01:04:09 +0200 |
commit | c3b3f3ea5c813edbe3e6941c535c78ad494244ee (patch) | |
tree | 6a76a01cdf3d5fe678e02618bdbe7d0c5ce8ca8c /module/plugins/hoster/OboomCom.py | |
parent | Fix https://github.com/pyload/pyload/issues/2002 (diff) | |
download | pyload-c3b3f3ea5c813edbe3e6941c535c78ad494244ee.tar.xz |
Fix https://github.com/pyload/pyload/issues/1998
Fix https://github.com/pyload/pyload/issues/1999
Fix https://github.com/pyload/pyload/issues/2001
Diffstat (limited to 'module/plugins/hoster/OboomCom.py')
-rw-r--r-- | module/plugins/hoster/OboomCom.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/module/plugins/hoster/OboomCom.py b/module/plugins/hoster/OboomCom.py index ec2b91957..a73d646e1 100644 --- a/module/plugins/hoster/OboomCom.py +++ b/module/plugins/hoster/OboomCom.py @@ -11,12 +11,13 @@ from module.plugins.captcha.ReCaptcha import ReCaptcha class OboomCom(Hoster): - __name = "OboomCom" + __name__ = "OboomCom" __type__ = "hoster" __version__ = "0.39" __status__ = "testing" __pattern__ = r'https?://(?:www\.)?oboom\.com/(?:#(?:id=|/)?)?(?P<ID>\w{8})' + __config__ = [("activated", "bool", "Activated", True)] __description__ = """Oboom.com hoster plugin""" __license__ = "GPLv3" @@ -53,7 +54,7 @@ class OboomCom(Hoster): def get_file_id(self, url): - self.file_id = re.match(OboomCom.__pattern, url).group('ID') + self.file_id = re.match(OboomCom.__pattern__, url).group('ID') def get_session_token(self): |