summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/TurbobitNet.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-11-02 22:47:07 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-11-02 22:47:07 +0100
commit772e47ef806d18fd209e910be0535bce7c07dc7b (patch)
treedc6c2027e6e306da70817be917a7c426dc8fd044 /module/plugins/hoster/TurbobitNet.py
parent[LetitbitNet][Share4webCom][UnibytesCom] https support + use urljoin + update... (diff)
downloadpyload-772e47ef806d18fd209e910be0535bce7c07dc7b.tar.xz
Update all other plugins
Diffstat (limited to 'module/plugins/hoster/TurbobitNet.py')
-rw-r--r--module/plugins/hoster/TurbobitNet.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/hoster/TurbobitNet.py b/module/plugins/hoster/TurbobitNet.py
index be6b00b2e..93e037664 100644
--- a/module/plugins/hoster/TurbobitNet.py
+++ b/module/plugins/hoster/TurbobitNet.py
@@ -27,11 +27,11 @@ class TurbobitNet(SimpleHoster):
("prOq", None)]
- FILE_NAME_PATTERN = r'id="file-title">(?P<N>.+?)<'
- FILE_SIZE_PATTERN = r'class="file-size">(?P<S>[\d.,]+) (?P<U>[\w^_]+)'
+ 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'
- FILE_URL_REPLACEMENTS = [(__pattern__, "http://turbobit.net/\g<ID>.html")]
+ URL_REPLACEMENTS = [(__pattern__, "http://turbobit.net/\g<ID>.html")]
COOKIES = [(".turbobit.net", "user_lang", "en")]