diff options
author | Stefano <l.stickell@yahoo.it> | 2013-06-09 15:59:43 +0200 |
---|---|---|
committer | Stefano <l.stickell@yahoo.it> | 2013-06-09 15:59:43 +0200 |
commit | 5740943d0fd04f70fc575db0c93d45163e2459d8 (patch) | |
tree | 4d646fcb94508273f4cedb445368477e1d16a601 | |
parent | Merge pull request #155 from 4Christopher/XvidstageCom-fix (diff) | |
download | pyload-5740943d0fd04f70fc575db0c93d45163e2459d8.tar.xz |
TurbobitNet: updated FILE_OFFLINE_PATTERN
http://forum.pyload.org/viewtopic.php?p=9962#p9962
-rw-r--r-- | module/plugins/hoster/TurbobitNet.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/TurbobitNet.py b/module/plugins/hoster/TurbobitNet.py index b429d5510..09ce46a31 100644 --- a/module/plugins/hoster/TurbobitNet.py +++ b/module/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")] |