summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/hoster/ExtabitCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugin/hoster/ExtabitCom.py')
-rw-r--r--pyload/plugin/hoster/ExtabitCom.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/pyload/plugin/hoster/ExtabitCom.py b/pyload/plugin/hoster/ExtabitCom.py
index 93d9b74a8..d5c1f0ba4 100644
--- a/pyload/plugin/hoster/ExtabitCom.py
+++ b/pyload/plugin/hoster/ExtabitCom.py
@@ -9,15 +9,15 @@ from pyload.plugin.internal.SimpleHoster import SimpleHoster, secondsToMidnight
class ExtabitCom(SimpleHoster):
- __name = "ExtabitCom"
- __type = "hoster"
- __version = "0.65"
+ __name__ = "ExtabitCom"
+ __type__ = "hoster"
+ __version__ = "0.65"
- __pattern = r'http://(?:www\.)?extabit\.com/(file|go|fid)/(?P<ID>\w+)'
+ __pattern__ = r'http://(?:www\.)?extabit\.com/(file|go|fid)/(?P<ID>\w+)'
- __description = """Extabit.com hoster plugin"""
- __license = "GPLv3"
- __authors = [("zoidberg", "zoidberg@mujmail.cz")]
+ __description__ = """Extabit.com hoster plugin"""
+ __license__ = "GPLv3"
+ __authors__ = [("zoidberg", "zoidberg@mujmail.cz")]
NAME_PATTERN = r'<th>File:</th>\s*<td class="col-fileinfo">\s*<div title="(?P<N>[^"]+)">'
@@ -40,7 +40,7 @@ class ExtabitCom(SimpleHoster):
self.wait(secondsToMidnight(gmt=2), True)
self.logDebug("URL: " + self.req.http.lastEffectiveURL)
- m = re.match(self.__pattern, self.req.http.lastEffectiveURL)
+ m = re.match(self.__pattern__, self.req.http.lastEffectiveURL)
fileID = m.group('ID') if m else self.info['pattern']['ID']
m = re.search(r'recaptcha/api/challenge\?k=(\w+)', self.html)