diff options
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): |