summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorGravatar Stefano <l.stickell@yahoo.it> 2013-12-14 15:07:43 +0100
committerGravatar Stefano <l.stickell@yahoo.it> 2013-12-14 15:07:43 +0100
commit4b9ee158ca50dd5f3d9d999891f163bb57fe3d9c (patch)
tree16015e30db6d6fc11b1753d2ebb45a3a63e64ba3 /module
parentNew hoster: HugefilesNet (diff)
downloadpyload-4b9ee158ca50dd5f3d9d999891f163bb57fe3d9c.tar.xz
EasybytezComFolder: fixed #436
Diffstat (limited to 'module')
-rw-r--r--module/plugins/crypter/EasybytezComFolder.py10
1 files changed, 3 insertions, 7 deletions
diff --git a/module/plugins/crypter/EasybytezComFolder.py b/module/plugins/crypter/EasybytezComFolder.py
index b9cf240a0..104ec3fd7 100644
--- a/module/plugins/crypter/EasybytezComFolder.py
+++ b/module/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 &#187;</a><br><small>\(\d+ total\)</small></div>"
-
- def loadPage(self, page_n):
- return self.load(self.pyfile.url, get={'page': page_n}, decode=True)