summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-10 14:42:32 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-10 14:42:32 +0200
commit7a253238d4ba3486b90fba6547b955f6a3d31073 (patch)
tree2339b7d9f34ca52eb3646b50406169cad2543d54
parent[FiredriveCom][SockshareCom] Mark dead (diff)
downloadpyload-7a253238d4ba3486b90fba6547b955f6a3d31073.tar.xz
[FiredriveComFolder] Mark dead
-rw-r--r--module/plugins/crypter/FiredriveComFolder.py20
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))