diff options
author | Stefano <l.stickell@yahoo.it> | 2013-12-14 15:07:43 +0100 |
---|---|---|
committer | Stefano <l.stickell@yahoo.it> | 2013-12-16 17:06:26 +0100 |
commit | 055137a4be9ea7fdd5c871a7cca2efe05e01e40e (patch) | |
tree | b6bd216ded821488e563fedde70c0cf8ed474b42 | |
parent | New hoster: HugefilesNet (diff) | |
download | pyload-055137a4be9ea7fdd5c871a7cca2efe05e01e40e.tar.xz |
EasybytezComFolder: fixed #436
(cherry picked from commit 4b9ee158ca50dd5f3d9d999891f163bb57fe3d9c)
-rw-r--r-- | pyload/plugins/crypter/EasybytezComFolder.py | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/pyload/plugins/crypter/EasybytezComFolder.py b/pyload/plugins/crypter/EasybytezComFolder.py index b9cf240a0..104ec3fd7 100644 --- a/pyload/plugins/crypter/EasybytezComFolder.py +++ b/pyload/plugins/crypter/EasybytezComFolder.py @@ -22,16 +22,12 @@ class EasybytezComFolder(SimpleCrypter): __name__ = "EasybytezComFolder" __type__ = "crypter" __pattern__ = r"http://(?:www\.)?easybytez\.com/users/(?P<ID>\d+/\d+)" - __version__ = "0.04" + __version__ = "0.05" __description__ = """Easybytez Crypter Plugin""" __author_name__ = ("stickell") __author_mail__ = ("l.stickell@yahoo.it") - FILE_URL_REPLACEMENTS = [(__pattern__, r"http://www.easybytez.com/users/\g<ID>")] + FILE_URL_REPLACEMENTS = [(__pattern__, r"http://www.easybytez.com/users/\g<ID>?per_page=10000")] - LINK_PATTERN = r'<div class="link"><a href="(http://www\.easybytez\.com/\w+)" target="_blank">.+</a></div>' + LINK_PATTERN = r'<td><a href="(http://www\.easybytez\.com/\w+)" target="_blank">.+(?:</a>)?</td>' TITLE_PATTERN = r'<Title>Files of \d+: (?P<title>.+) folder</Title>' - PAGES_PATTERN = r"<a href='[^']+'>(?P<pages>\d+)</a><a href='[^']+'>Next »</a><br><small>\(\d+ total\)</small></div>" - - def loadPage(self, page_n): - return self.load(self.pyfile.url, get={'page': page_n}, decode=True) |