# -*- coding: utf-8 -*- from pyload.plugin.hoster.FileserveCom import FileserveCom, checkFile from pyload.plugin.Plugin import chunks class FilejungleCom(FileserveCom): __name__ = "FilejungleCom" __type__ = "hoster" __version__ = "0.51" __pattern__ = r'http://(?:www\.)?filejungle\.com/f/(?P[^/]+).*' __description__ = """Filejungle.com hoster plugin""" __license__ = "GPLv3" __authors__ = [("zoidberg", "zoidberg@mujmail.cz")] URLS = ["http://www.filejungle.com/f/", "http://www.filejungle.com/check_links.php", "http://www.filejungle.com/checkReCaptcha.php"] LINKCHECK_TR = r'
  • \s*(
    .*?)
  • ' LINKCHECK_TD = r'
    (?:<[^>]*>| )*([^<]*)' LONG_WAIT_PATTERN = r'

    Please wait for (\d+) (\w+)\s*to download the next file\.

    ' def getInfo(urls): for chunk in chunks(urls, 100): yield checkFile(FilejungleCom, chunk)