summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/hoster/YoutubeCom.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-03-26 12:44:15 +0100
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-03-26 12:44:15 +0100
commitce103ce1e60661f7bcdf6a033335134de61d48b1 (patch)
tree29b9421062cc8341dc10b6ca65e9a64802c3db71 /pyload/plugin/hoster/YoutubeCom.py
parent.min.css -> .css (diff)
downloadpyload-ce103ce1e60661f7bcdf6a033335134de61d48b1.tar.xz
Prepare to merging
Diffstat (limited to 'pyload/plugin/hoster/YoutubeCom.py')
-rw-r--r--pyload/plugin/hoster/YoutubeCom.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/pyload/plugin/hoster/YoutubeCom.py b/pyload/plugin/hoster/YoutubeCom.py
index 252eb3c30..bf8785022 100644
--- a/pyload/plugin/hoster/YoutubeCom.py
+++ b/pyload/plugin/hoster/YoutubeCom.py
@@ -31,12 +31,12 @@ def which(program):
class YoutubeCom(Hoster):
- __name = "YoutubeCom"
- __type = "hoster"
- __version = "0.41"
+ __name__ = "YoutubeCom"
+ __type__ = "hoster"
+ __version__ = "0.41"
- __pattern = r'https?://(?:[^/]*\.)?(youtube\.com|youtu\.be)/watch\?(?:.*&)?v=.+'
- __config = [("quality", "sd;hd;fullhd;240p;360p;480p;720p;1080p;3072p", "Quality Setting" , "hd" ),
+ __pattern__ = r'https?://(?:[^/]*\.)?(youtube\.com|youtu\.be)/watch\?(?:.*&)?v=.+'
+ __config__ = [("quality", "sd;hd;fullhd;240p;360p;480p;720p;1080p;3072p", "Quality Setting" , "hd" ),
("fmt" , "int" , "FMT/ITAG Number (0 for auto)", 0 ),
(".mp4" , "bool" , "Allow .mp4" , True ),
(".flv" , "bool" , "Allow .flv" , True ),
@@ -44,9 +44,9 @@ class YoutubeCom(Hoster):
(".3gp" , "bool" , "Allow .3gp" , False),
("3d" , "bool" , "Prefer 3D" , False)]
- __description = """Youtube.com hoster plugin"""
- __license = "GPLv3"
- __authors = [("spoob", "spoob@pyload.org"),
+ __description__ = """Youtube.com hoster plugin"""
+ __license__ = "GPLv3"
+ __authors__ = [("spoob", "spoob@pyload.org"),
("zoidberg", "zoidberg@mujmail.cz")]