diff options
author | zoidberg10 <zoidberg@mujmail.cz> | 2012-01-25 17:03:17 +0100 |
---|---|---|
committer | zoidberg10 <zoidberg@mujmail.cz> | 2012-01-25 17:03:17 +0100 |
commit | 9ceab3d8f9fac0c37cb7b5f7c29a690cdf1abf54 (patch) | |
tree | d4309db3e34500130e6d398ae1be117b97e02c43 /module/plugins/crypter | |
parent | more hoster disabled (diff) | |
download | pyload-9ceab3d8f9fac0c37cb7b5f7c29a690cdf1abf54.tar.xz |
fix some hosters, disable some more
Diffstat (limited to 'module/plugins/crypter')
-rw-r--r-- | module/plugins/crypter/MediafireComFolder.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/module/plugins/crypter/MediafireComFolder.py b/module/plugins/crypter/MediafireComFolder.py index 1056a3947..1d800b1b0 100644 --- a/module/plugins/crypter/MediafireComFolder.py +++ b/module/plugins/crypter/MediafireComFolder.py @@ -8,8 +8,8 @@ from module.common.json_layer import json_loads class MediafireComFolder(Crypter): __name__ = "MediafireComFolder" __type__ = "crypter" - __pattern__ = r"http://(\w*\.)*mediafire\.com/(folder/|\?).*" - __version__ = "0.12" + __pattern__ = r"http://(\w*\.)*mediafire\.com/(folder/|\?sharekey=|(\?\w{13}|\w+)($|[/#]))" + __version__ = "0.13" __description__ = """Mediafire.com Folder Plugin""" __author_name__ = ("zoidberg") __author_mail__ = ("zoidberg@mujmail.cz") @@ -44,9 +44,6 @@ class MediafireComFolder(Crypter): new_links.append("http://www.mediafire.com/file/%s" % link['quickkey']) else: self.fail(json_resp['response']['message']) - else: - fileID = re.search(self.__pattern__, pyfile.url) - new_links.append("ttp://www.mediafire.com/file/%s" % fileID) elif result == 1: self.offline() else: |