summaryrefslogtreecommitdiffstats
path: root/pyload/plugins/hoster/TurbobitNet.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-07-12 13:11:11 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-07-12 13:11:11 +0200
commitfc638ded28b7b222203fba9907b6bf7f828d1b7b (patch)
tree7bc4f95042c9f4a036901837e74248b257506675 /pyload/plugins/hoster/TurbobitNet.py
parentadded legacy file to fix older plugins (diff)
parentMerge pull request #193 from vuolter/plugin/UnrestrictLi (diff)
downloadpyload-fc638ded28b7b222203fba9907b6bf7f828d1b7b.tar.xz
Merge remote-tracking branch 'origin/stable'
Conflicts: module/plugins/accounts/Premium4Me.py pyload/plugins/addons/Premium4Me.py pyload/plugins/crypter/NCryptIn.py pyload/plugins/hooks/Captcha9kw.py pyload/plugins/hoster/Premium4Me.py pyload/plugins/hoster/Xdcc.py pyload/plugins/hoster/XvidstageCom.py
Diffstat (limited to 'pyload/plugins/hoster/TurbobitNet.py')
-rw-r--r--pyload/plugins/hoster/TurbobitNet.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyload/plugins/hoster/TurbobitNet.py b/pyload/plugins/hoster/TurbobitNet.py
index b429d5510..09ce46a31 100644
--- a/pyload/plugins/hoster/TurbobitNet.py
+++ b/pyload/plugins/hoster/TurbobitNet.py
@@ -36,14 +36,14 @@ class TurbobitNet(SimpleHoster):
__name__ = "TurbobitNet"
__type__ = "hoster"
__pattern__ = r"http://(?:\w*\.)?(turbobit.net|unextfiles.com)/(?:download/free/)?(?P<ID>\w+).*"
- __version__ = "0.08"
+ __version__ = "0.09"
__description__ = """Turbobit.net plugin"""
__author_name__ = ("zoidberg")
__author_mail__ = ("zoidberg@mujmail.cz")
FILE_INFO_PATTERN = r"<span class='file-icon1[^>]*>(?P<N>[^<]+)</span>\s*\((?P<S>[^\)]+)\)\s*</h1>" #long filenames are shortened
FILE_NAME_PATTERN = r'<meta name="keywords" content="\s+(?P<N>[^,]+)' #full name but missing on page2
- FILE_OFFLINE_PATTERN = r'<h2>File Not Found</h2>|html\(\'File was not found'
+ FILE_OFFLINE_PATTERN = r'<h2>File Not Found</h2>|html\(\'File (?:was )?not found'
FILE_URL_REPLACEMENTS = [(r"http://(?:\w*\.)?(turbobit.net|unextfiles.com)/(?:download/free/)?(?P<ID>\w+).*", "http://turbobit.net/\g<ID>.html")]
SH_COOKIES = [("turbobit.net", "user_lang", "en")]