diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-10-11 01:04:09 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-10-11 01:04:09 +0200 |
commit | c3b3f3ea5c813edbe3e6941c535c78ad494244ee (patch) | |
tree | 6a76a01cdf3d5fe678e02618bdbe7d0c5ce8ca8c /module/plugins/hoster/YoutubeCom.py | |
parent | Fix https://github.com/pyload/pyload/issues/2002 (diff) | |
download | pyload-c3b3f3ea5c813edbe3e6941c535c78ad494244ee.tar.xz |
Fix https://github.com/pyload/pyload/issues/1998
Fix https://github.com/pyload/pyload/issues/1999
Fix https://github.com/pyload/pyload/issues/2001
Diffstat (limited to 'module/plugins/hoster/YoutubeCom.py')
-rw-r--r-- | module/plugins/hoster/YoutubeCom.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/module/plugins/hoster/YoutubeCom.py b/module/plugins/hoster/YoutubeCom.py index ed6a42b71..47317a029 100644 --- a/module/plugins/hoster/YoutubeCom.py +++ b/module/plugins/hoster/YoutubeCom.py @@ -11,13 +11,14 @@ from module.utils import html_unescape class YoutubeCom(Hoster): - __name = "YoutubeCom" + __name__ = "YoutubeCom" __type__ = "hoster" __version__ = "0.46" __status__ = "testing" __pattern__ = r'https?://(?:[^/]*\.)?(youtu\.be/|youtube\.com/watch\?(?:.*&)?v=)\w+' - __config__ = [("quality", "sd;hd;fullhd;240p;360p;480p;720p;1080p;3072p", "Quality Setting" , "hd" ), + __config__ = [("activated", "bool", "Activated", True), + ("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 ), |