summaryrefslogtreecommitdiffstats
path: root/module/plugins/crypter/DevhostStFolder.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2015-01-24 03:50:33 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2015-01-24 03:50:33 +0100
commit031d86706aa13270793e31c21ad3f386ca62752b (patch)
tree3697b68decfe59321b1d6e2abdb8c0a20899502c /module/plugins/crypter/DevhostStFolder.py
parent[CaptchaService] Fix typo (diff)
downloadpyload-031d86706aa13270793e31c21ad3f386ca62752b.tar.xz
Spare code improvements
Diffstat (limited to 'module/plugins/crypter/DevhostStFolder.py')
-rw-r--r--module/plugins/crypter/DevhostStFolder.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/module/plugins/crypter/DevhostStFolder.py b/module/plugins/crypter/DevhostStFolder.py
index 5ac9d4faf..8779cae5e 100644
--- a/module/plugins/crypter/DevhostStFolder.py
+++ b/module/plugins/crypter/DevhostStFolder.py
@@ -13,7 +13,7 @@ from module.plugins.internal.SimpleCrypter import SimpleCrypter, create_getInfo
class DevhostStFolder(SimpleCrypter):
__name__ = "DevhostStFolder"
__type__ = "crypter"
- __version__ = "0.03"
+ __version__ = "0.04"
__pattern__ = r'http://(?:www\.)?d-h\.st/users/(?P<USER>\w+)(/\?fld_id=(?P<ID>\d+))?'
__config__ = [("use_subfolder", "bool", "Save package to subfolder", True),
@@ -54,8 +54,4 @@ class DevhostStFolder(SimpleCrypter):
return {'name': name, 'folder': folder}
- def getLinks(self):
- return [urljoin("http://d-h.st", link) for link in re.findall(self.LINK_PATTERN, self.html)]
-
-
getInfo = create_getInfo(DevhostStFolder)