summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorGravatar Pedro Algarvio <pedro@algarvio.me> 2012-01-28 20:40:17 +0100
committerGravatar Pedro Algarvio <pedro@algarvio.me> 2012-01-28 20:40:17 +0100
commita00c570460963995b6c6259507cea7e5da2e82a3 (patch)
tree29e5eacd009ec3f5820810695b44156583e326db /module
parentre-enable filejungle (diff)
downloadpyload-a00c570460963995b6c6259507cea7e5da2e82a3.tar.xz
Update FileJungle for non existing files.
Diffstat (limited to 'module')
-rw-r--r--module/plugins/hoster/FilejungleCom.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/FilejungleCom.py b/module/plugins/hoster/FilejungleCom.py
index b880086a6..652d9547b 100644
--- a/module/plugins/hoster/FilejungleCom.py
+++ b/module/plugins/hoster/FilejungleCom.py
@@ -31,7 +31,7 @@ class FilejungleCom(SimpleHoster):
__author_mail__ = ("zoidberg@mujmail.cz")
FILE_INFO_PATTERN = r'<div id="file_name">(?P<N>[^<]+) <span class="filename_normal">\((?P<S>[0-9.]+) (?P<U>[kKMG])i?B\)</span></div>'
- FILE_OFFLINE_PATTERN = r'class="error_msg_title"> Invalid or Deleted File. </div>'
+ FILE_OFFLINE_PATTERN = r'(This file is no longer available.</h1>|class="error_msg_title"> Invalid or Deleted File. </div>)'
RECAPTCHA_KEY_PATTERN = r"var reCAPTCHA_publickey='([^']+)'"
WAIT_TIME_PATTERN = r'<h1>Please wait for (\d+) seconds to download the next file\.</h1>'
@@ -82,4 +82,4 @@ class FilejungleCom(SimpleHoster):
response = self.load(url, post = {"downloadLink" : "show"})
self.download(url, post = {"download" : "normal"})
-getInfo = create_getInfo(FilejungleCom) \ No newline at end of file
+getInfo = create_getInfo(FilejungleCom)