summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/hoster/YoutubeCom.py
diff options
context:
space:
mode:
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 b0e4c82f5..c7e7a6c85 100644
--- a/pyload/plugin/hoster/YoutubeCom.py
+++ b/pyload/plugin/hoster/YoutubeCom.py
@@ -35,12 +35,12 @@ def which(program):
class YoutubeCom(Hoster):
- __name = "YoutubeCom"
- __type = "hoster"
- __version = "0.40"
+ __name__ = "YoutubeCom"
+ __type__ = "hoster"
+ __version__ = "0.40"
- __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 (5-102, 0 for auto)", 0),
(".mp4", "bool", "Allow .mp4", True),
(".flv", "bool", "Allow .flv", True),
@@ -48,9 +48,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")]