diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-10-10 14:42:32 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-10-10 14:42:32 +0200 |
commit | 7a253238d4ba3486b90fba6547b955f6a3d31073 (patch) | |
tree | 2339b7d9f34ca52eb3646b50406169cad2543d54 /module/plugins/crypter | |
parent | [FiredriveCom][SockshareCom] Mark dead (diff) | |
download | pyload-7a253238d4ba3486b90fba6547b955f6a3d31073.tar.xz |
[FiredriveComFolder] Mark dead
Diffstat (limited to 'module/plugins/crypter')
-rw-r--r-- | module/plugins/crypter/FiredriveComFolder.py | 20 |
1 files changed, 3 insertions, 17 deletions
diff --git a/module/plugins/crypter/FiredriveComFolder.py b/module/plugins/crypter/FiredriveComFolder.py index f297854f1..335c41ad3 100644 --- a/module/plugins/crypter/FiredriveComFolder.py +++ b/module/plugins/crypter/FiredriveComFolder.py @@ -1,29 +1,15 @@ # -*- coding: utf-8 -*- -import re +from module.plugins.internal.DeadCrypter import DeadCrypter -from module.plugins.internal.SimpleCrypter import SimpleCrypter - -class FiredriveComFolder(SimpleCrypter): +class FiredriveComFolder(DeadCrypter): __name__ = "FiredriveComFolder" __type__ = "crypter" - __version__ = "0.02" + __version__ = "0.03" __pattern__ = r'https?://(?:www\.)?(firedrive|putlocker)\.com/share/.+' __description__ = """Firedrive.com folder decrypter plugin""" __license__ = "GPLv3" __authors__ = [("Walter Purcaro", "vuolter@gmail.com")] - - - LINK_PATTERN = r'<div class="pf_item pf_(file|folder).+?public=\'(.+?)\'' - TITLE_PATTERN = r'>Shared Folder "(.+)" | Firedrive<' - OFFLINE_PATTERN = r'class="sad_face_image"|>No such page here.<' - TEMP_OFFLINE_PATTERN = r'>(File Temporarily Unavailable|Server Error. Try again later)' - - - def getLinks(self): - return map(lambda x: "http://www.firedrive.com/%s/%s" % - ("share" if x[0] == "folder" else "file", x[1]), - re.findall(self.LINK_PATTERN, self.html)) |