summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/IfileIt.py
diff options
context:
space:
mode:
authorGravatar zoidberg10 <zoidberg@mujmail.cz> 2012-02-11 13:27:22 +0100
committerGravatar zoidberg10 <zoidberg@mujmail.cz> 2012-02-11 13:27:22 +0100
commit8c6be4cb5ef4ee7c3a97ad0f276c602124b38817 (patch)
treeadf3d112d9e5570ba100ebfdd297a917b3af9c9e /module/plugins/hoster/IfileIt.py
parentfix uloz.to premium, add turbobit.net free (diff)
downloadpyload-8c6be4cb5ef4ee7c3a97ad0f276c602124b38817.tar.xz
closed #536, #540
Diffstat (limited to 'module/plugins/hoster/IfileIt.py')
-rw-r--r--module/plugins/hoster/IfileIt.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/module/plugins/hoster/IfileIt.py b/module/plugins/hoster/IfileIt.py
index ec830f3b2..cdb5a7919 100644
--- a/module/plugins/hoster/IfileIt.py
+++ b/module/plugins/hoster/IfileIt.py
@@ -26,7 +26,7 @@ class IfileIt(SimpleHoster):
__name__ = "IfileIt"
__type__ = "hoster"
__pattern__ = r"http://(?:\w*\.)*(?:ifile\.it|mihd\.net)/(\w+).*"
- __version__ = "0.24"
+ __version__ = "0.25"
__description__ = """Ifile.it"""
__author_name__ = ("zoidberg")
@@ -36,6 +36,7 @@ class IfileIt(SimpleHoster):
RECAPTCHA_KEY_PATTERN = r"var __recaptcha_public\s*=\s*'([^']+)';"
FILE_INFO_PATTERN = r'<span style="cursor: default;[^>]*>\s*(?P<N>.*?)\s*&nbsp;\s*<strong>\s*(?P<S>[0-9.]+)\s*(?P<U>[kKMG])i?B\s*</strong>\s*</span>'
FILE_OFFLINE_PATTERN = r'$\("#errorPnl"\)\.empty\(\)\.append\( "no such file" \);'
+ TEMP_OFFLINE_PATTERN = r'<span class="msg_red">Downloading of this file is temporarily disabled</span>'
def handleFree(self):
ukey = re.search(self.__pattern__, self.pyfile.url).group(1)