summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Stefano <l.stickell@yahoo.it> 2013-04-02 20:24:52 +0200
committerGravatar Stefano <l.stickell@yahoo.it> 2013-04-02 20:24:52 +0200
commit062ba46a2c99c7fefe1223d2d2694f4a84082764 (patch)
treef34f27523ddfbccf9912bc3497d8019ef72c2d31
parentUnrar also deletes .r* files (diff)
downloadpyload-062ba46a2c99c7fefe1223d2d2694f4a84082764.tar.xz
New crypter for Data.hu folders
-rw-r--r--module/plugins/crypter/DataHuFolder.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/module/plugins/crypter/DataHuFolder.py b/module/plugins/crypter/DataHuFolder.py
new file mode 100644
index 000000000..5d0d38f79
--- /dev/null
+++ b/module/plugins/crypter/DataHuFolder.py
@@ -0,0 +1,15 @@
+# -*- coding: utf-8 -*-
+
+from module.plugins.internal.SimpleCrypter import SimpleCrypter
+
+
+class DataHuFolder(SimpleCrypter):
+ __name__ = "DataHuFolder"
+ __type__ = "crypter"
+ __pattern__ = r"http://(www\.)?data.hu/dir/\w+"
+ __version__ = "0.01"
+ __description__ = """Data.hu Folder Plugin"""
+ __author_name__ = ("crash")
+
+ LINK_PATTERN = r"<a href='(http://data\.hu/get/.+)' target='_blank'>\1</a>"
+ TITLE_PATTERN = ur'<title>(.+) Let\xf6lt\xe9se</title>'