summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/ExtabitCom.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2016-01-02 16:01:56 +0100
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2016-01-02 16:01:56 +0100
commit6c75c0363f496df86e9c744a9a946f86f82715fa (patch)
tree53e5b7f906e2b9fb1d853d2b0599be7a8c5c7a3d /module/plugins/hoster/ExtabitCom.py
parentTimeout for http request set to 1 minute + report effective url address in he... (diff)
downloadpyload-6c75c0363f496df86e9c744a9a946f86f82715fa.tar.xz
Spare code cosmetics
Diffstat (limited to 'module/plugins/hoster/ExtabitCom.py')
-rw-r--r--module/plugins/hoster/ExtabitCom.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/hoster/ExtabitCom.py b/module/plugins/hoster/ExtabitCom.py
index f854c0e38..e71fb41c1 100644
--- a/module/plugins/hoster/ExtabitCom.py
+++ b/module/plugins/hoster/ExtabitCom.py
@@ -28,7 +28,7 @@ class ExtabitCom(SimpleHoster):
NAME_PATTERN = r'<th>File:</th>\s*<td class="col-fileinfo">\s*<div title="(?P<N>.+?)">'
- SIZE_PATTERN = r'<th>Size:</th>\s*<td class="col-fileinfo">(?P<S>[^<]+)</td>'
+ SIZE_PATTERN = r'<th>Size:</th>\s*<td class="col-fileinfo">(?P<S>.+?)</td>'
OFFLINE_PATTERN = r'>File not found<'
TEMP_OFFLINE_PATTERN = r'>(File is temporary unavailable|No download mirror)<'
@@ -36,10 +36,10 @@ class ExtabitCom(SimpleHoster):
def handle_free(self, pyfile):
- if r">Only premium users can download this file" in self.data:
+ if r'>Only premium users can download this file" in self.data:
self.fail(_("Only premium users can download this file"))
- m = re.search(r"Next free download from your ip will be available in <b>(\d+)\s*minutes", self.data)
+ m = re.search(r"Next free download from your ip will be available in <b>(\d+)\s*minutes', self.data)
if m is not None:
self.wait(int(m.group(1)) * 60, True)
elif "The daily downloads limit from your IP is exceeded" in self.data: