diff options
author | zoidberg10 <zoidberg@mujmail.cz> | 2012-02-01 23:39:33 +0100 |
---|---|---|
committer | zoidberg10 <zoidberg@mujmail.cz> | 2012-02-01 23:39:33 +0100 |
commit | 78eed3992134312e6640e1ddf367f35b759d9844 (patch) | |
tree | 01ae97c552caa2309a681923d5450922f4626017 /module/plugins/hoster/FilejungleCom.py | |
parent | closed #528 - netload.in (diff) | |
download | pyload-78eed3992134312e6640e1ddf367f35b759d9844.tar.xz |
little plugin fixes
Diffstat (limited to 'module/plugins/hoster/FilejungleCom.py')
-rw-r--r-- | module/plugins/hoster/FilejungleCom.py | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/module/plugins/hoster/FilejungleCom.py b/module/plugins/hoster/FilejungleCom.py index c75ac1a98..fd833eef2 100644 --- a/module/plugins/hoster/FilejungleCom.py +++ b/module/plugins/hoster/FilejungleCom.py @@ -16,16 +16,14 @@ @author: zoidberg """ -import re from module.plugins.hoster.FileserveCom import FileserveCom, checkFile - -# shares code with UploadstationCom +from module.plugins.Plugin import chunks class FilejungleCom(FileserveCom): __name__ = "FilejungleCom" __type__ = "hoster" __pattern__ = r"http://(?:www\.)?filejungle\.com/f/(?P<id>[^/]+).*" - __version__ = "0.5" + __version__ = "0.51" __description__ = """Filejungle.com plugin - free only""" __author_name__ = ("zoidberg") __author_mail__ = ("zoidberg@mujmail.cz") @@ -37,4 +35,4 @@ class FilejungleCom(FileserveCom): LONG_WAIT_PATTERN = r'<h1>Please wait for (\d+) (\w+)\s*to download the next file\.</h1>' def getInfo(urls): - yield checkFile(FilejungleCom, urls)
\ No newline at end of file + for chunk in chunks(urls, 100): yield checkFile(FilejungleCom, chunk)
\ No newline at end of file |