summaryrefslogtreecommitdiffstats
path: root/pyload/plugins/hoster/TurbobitNet.py
diff options
context:
space:
mode:
authorGravatar Thierry Merle <thierry.merle@free.fr> 2014-11-14 01:39:27 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-11-14 01:55:29 +0100
commit8f68c847270c2fc963935a7fb95ceb4945e879c7 (patch)
treef1a0171f03a3ec873fcb4c86d64f8a7d8b4dfd3b /pyload/plugins/hoster/TurbobitNet.py
parentTry using SSL for FTP connections, proceed as normal otherwise (diff)
downloadpyload-8f68c847270c2fc963935a7fb95ceb4945e879c7.tar.xz
[RapidgatorNet] Set the language in COOKIES
Diffstat (limited to 'pyload/plugins/hoster/TurbobitNet.py')
-rw-r--r--pyload/plugins/hoster/TurbobitNet.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/pyload/plugins/hoster/TurbobitNet.py b/pyload/plugins/hoster/TurbobitNet.py
index 087052ebd..e8a8ed9a6 100644
--- a/pyload/plugins/hoster/TurbobitNet.py
+++ b/pyload/plugins/hoster/TurbobitNet.py
@@ -27,14 +27,14 @@ class TurbobitNet(SimpleHoster):
("prOq", None)]
- NAME_PATTERN = r'id="file-title">(?P<N>.+?)<'
- SIZE_PATTERN = r'class="file-size">(?P<S>[\d.,]+) (?P<U>[\w^_]+)'
- OFFLINE_PATTERN = r'<h2>File Not Found</h2>|html\(\'File (?:was )?not found'
-
URL_REPLACEMENTS = [(__pattern__, "http://turbobit.net/\g<ID>.html")]
COOKIES = [(".turbobit.net", "user_lang", "en")]
+ NAME_PATTERN = r'id="file-title">(?P<N>.+?)<'
+ SIZE_PATTERN = r'class="file-size">(?P<S>[\d.,]+) (?P<U>[\w^_]+)'
+ OFFLINE_PATTERN = r'<h2>File Not Found</h2>|html\(\'File (?:was )?not found'
+
LINK_PATTERN = r'(?P<url>/download/redirect/[^"\']+)'
LIMIT_WAIT_PATTERN = r'<div id=\'timeout\'>(\d+)<'