diff options
author | GamaC0de <nitzo2001@yahoo.com> | 2016-07-14 14:03:17 +0200 |
---|---|---|
committer | GamaC0de <nitzo2001@yahoo.com> | 2016-07-14 14:03:17 +0200 |
commit | 16f1a31192ab0b1aa6a276d86829815e78ead16f (patch) | |
tree | 0b496f2177766ea4eac962cecfa46094ac251012 | |
parent | [Hoster] Code cosmetics (diff) | |
download | pyload-16f1a31192ab0b1aa6a276d86829815e78ead16f.tar.xz |
[YoutubeCom] fix #2542
-rw-r--r-- | module/plugins/hoster/YoutubeCom.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/YoutubeCom.py b/module/plugins/hoster/YoutubeCom.py index 1bfb88a2a..f71d1cb94 100644 --- a/module/plugins/hoster/YoutubeCom.py +++ b/module/plugins/hoster/YoutubeCom.py @@ -40,10 +40,10 @@ class BIGHTTPRequest(HTTPRequest): class YoutubeCom(Hoster): __name__ = "YoutubeCom" __type__ = "hoster" - __version__ = "0.54" + __version__ = "0.55" __status__ = "testing" - __pattern__ = r'https?://(?:[^/]*\.)?(youtu\.be/|youtube\.com/watch\?(?:.*&)?v=)\w+' + __pattern__ = r'https?://(?:[^/]*\.)?(?:youtu\.be/|youtube\.com/watch\?(?:.*&)?v=)[\w\-]+' __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 ), |