summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-04-11 12:15:32 +0200
committerGravatar Stefano <l.stickell@yahoo.it> 2014-04-11 12:15:32 +0200
commitd27113cef108461e2363cc4c88c4a1d01222c9e9 (patch)
tree3869f767de8b53de52a7e8fc32fa99f2b3c32409 /module/plugins/hoster
parentFix __type__ for crypters (diff)
downloadpyload-d27113cef108461e2363cc4c88c4a1d01222c9e9.tar.xz
Fix __config__
Merges vuolter/pyload@83ff313
Diffstat (limited to 'module/plugins/hoster')
-rw-r--r--module/plugins/hoster/RapidshareCom.py4
-rw-r--r--module/plugins/hoster/VeehdCom.py6
-rw-r--r--module/plugins/hoster/XVideosCom.py4
-rw-r--r--module/plugins/hoster/Xdcc.py8
-rw-r--r--module/plugins/hoster/ZDF.py4
5 files changed, 13 insertions, 13 deletions
diff --git a/module/plugins/hoster/RapidshareCom.py b/module/plugins/hoster/RapidshareCom.py
index c0276279e..e9735832b 100644
--- a/module/plugins/hoster/RapidshareCom.py
+++ b/module/plugins/hoster/RapidshareCom.py
@@ -55,9 +55,9 @@ class RapidshareCom(Hoster):
__pattern__ = r"https?://[\w\.]*?rapidshare.com/(?:files/(?P<id>\d*?)/(?P<name>[^?]+)|#!download\|(?:\w+)\|(?P<id_new>\d+)\|(?P<name_new>[^|]+))"
__version__ = "1.39"
__description__ = """Rapidshare.com hoster plugin"""
- __config__ = [["server",
+ __config__ = [("server",
"Cogent;Deutsche Telekom;Level(3);Level(3) #2;GlobalCrossing;Level(3) #3;Teleglobe;GlobalCrossing #2;TeliaSonera #2;Teleglobe #2;TeliaSonera #3;TeliaSonera",
- "Preferred Server", "None"]]
+ "Preferred Server", "None")]
__author_name__ = ("spoob", "RaNaN", "mkaay")
__author_mail__ = ("spoob@pyload.org", "ranan@pyload.org", "mkaay@mkaay.de")
diff --git a/module/plugins/hoster/VeehdCom.py b/module/plugins/hoster/VeehdCom.py
index 8a4433fa4..b3523491a 100644
--- a/module/plugins/hoster/VeehdCom.py
+++ b/module/plugins/hoster/VeehdCom.py
@@ -8,10 +8,8 @@ class VeehdCom(Hoster):
__name__ = 'VeehdCom'
__type__ = 'hoster'
__pattern__ = r'http://veehd\.com/video/\d+_\S+'
- __config__ = [
- ('filename_spaces', 'bool', "Allow spaces in filename", 'False'),
- ('replacement_char', 'str', "Filename replacement character", '_'),
- ]
+ __config__ = [("filename_spaces", "bool", "Allow spaces in filename", False),
+ ("replacement_char", "str", "Filename replacement character", "_")]
__version__ = '0.23'
__description__ = """Veehd.com hoster plugin"""
__author_name__ = "cat"
diff --git a/module/plugins/hoster/XVideosCom.py b/module/plugins/hoster/XVideosCom.py
index 48a1f934d..902f627a8 100644
--- a/module/plugins/hoster/XVideosCom.py
+++ b/module/plugins/hoster/XVideosCom.py
@@ -8,7 +8,9 @@ class XVideosCom(Hoster):
__name__ = "XVideos.com"
__version__ = "0.1"
__pattern__ = r"http://www\.xvideos\.com/video([0-9]+)/.*"
- __config__ = []
+ __description__ = """XVideos.com hoster plugin"""
+ __author_name__ = ""
+ __author_mail__ = ""
def process(self, pyfile):
site = self.load(pyfile.url)
diff --git a/module/plugins/hoster/Xdcc.py b/module/plugins/hoster/Xdcc.py
index e1c423453..43f0dd656 100644
--- a/module/plugins/hoster/Xdcc.py
+++ b/module/plugins/hoster/Xdcc.py
@@ -36,11 +36,9 @@ class Xdcc(Hoster):
__version__ = "0.32"
__pattern__ = r'xdcc://.*?(/#?.*?)?/.*?/#?\d+/?' # xdcc://irc.Abjects.net/#channel/[XDCC]|Shit/#0004/
__type__ = "hoster"
- __config__ = [
- ("nick", "str", "Nickname", "pyload"),
- ("ident", "str", "Ident", "pyloadident"),
- ("realname", "str", "Realname", "pyloadreal")
- ]
+ __config__ = [("nick", "str", "Nickname", "pyload"),
+ ("ident", "str", "Ident", "pyloadident"),
+ ("realname", "str", "Realname", "pyloadreal")]
__description__ = """Download from IRC XDCC bot"""
__author_name__ = "jeix"
__author_mail__ = "jeix@hasnomail.com"
diff --git a/module/plugins/hoster/ZDF.py b/module/plugins/hoster/ZDF.py
index e45717186..18aa80a00 100644
--- a/module/plugins/hoster/ZDF.py
+++ b/module/plugins/hoster/ZDF.py
@@ -12,7 +12,9 @@ class ZDF(Hoster):
__name__ = "ZDF Mediathek"
__version__ = "0.8"
__pattern__ = r"http://www\.zdf\.de/ZDFmediathek/[^0-9]*([0-9]+)[^0-9]*"
- __config__ = []
+ __description__ = """ZDF.de hoster plugin"""
+ __author_name__ = ""
+ __author_mail__ = ""
@staticmethod
def video_key(video):