summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/hoster/AlldebridCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugin/hoster/AlldebridCom.py')
-rw-r--r--pyload/plugin/hoster/AlldebridCom.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/pyload/plugin/hoster/AlldebridCom.py b/pyload/plugin/hoster/AlldebridCom.py
index 03efde803..533f7beb6 100644
--- a/pyload/plugin/hoster/AlldebridCom.py
+++ b/pyload/plugin/hoster/AlldebridCom.py
@@ -11,15 +11,15 @@ from pyload.utils import parseFileSize
class AlldebridCom(Hoster):
- __name = "AlldebridCom"
- __type = "hoster"
- __version = "0.34"
+ __name__ = "AlldebridCom"
+ __type__ = "hoster"
+ __version__ = "0.34"
- __pattern = r'https?://(?:[^/]*\.)?alldebrid\..*'
+ __pattern__ = r'https?://(?:[^/]*\.)?alldebrid\..*'
- __description = """Alldebrid.com hoster plugin"""
- __license = "GPLv3"
- __authors = [("Andy Voigt", "spamsales@online.de")]
+ __description__ = """Alldebrid.com hoster plugin"""
+ __license__ = "GPLv3"
+ __authors__ = [("Andy Voigt", "spamsales@online.de")]
def getFilename(self, url):
@@ -38,7 +38,7 @@ class AlldebridCom(Hoster):
def process(self, pyfile):
- if re.match(self.__pattern, pyfile.url):
+ if re.match(self.__pattern__, pyfile.url):
new_url = pyfile.url
elif not self.account:
self.logError(_("Please enter your %s account or deactivate this plugin") % "AllDebrid")