summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/YoutubeCom.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-04-11 12:25:21 +0200
committerGravatar Stefano <l.stickell@yahoo.it> 2014-04-11 12:25:21 +0200
commitf2deb6e7001e97d14bc4e9ee28c49eea806e62c6 (patch)
treee5361790b1b093092b5dc94af24c194cb82bf165 /module/plugins/hoster/YoutubeCom.py
parentFix header # -*- coding: utf-8 -*- (diff)
downloadpyload-f2deb6e7001e97d14bc4e9ee28c49eea806e62c6.tar.xz
Fix __pattern__ www
Merges vuolter/pyload@d3be840
Diffstat (limited to 'module/plugins/hoster/YoutubeCom.py')
-rw-r--r--module/plugins/hoster/YoutubeCom.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/hoster/YoutubeCom.py b/module/plugins/hoster/YoutubeCom.py
index 90e4dd632..06eba4d09 100644
--- a/module/plugins/hoster/YoutubeCom.py
+++ b/module/plugins/hoster/YoutubeCom.py
@@ -34,7 +34,7 @@ def which(program):
class YoutubeCom(Hoster):
__name__ = "YoutubeCom"
__type__ = "hoster"
- __pattern__ = r"https?://(?:[^/]*?)youtube\.com/watch.*?[?&]v=.*"
+ __pattern__ = r"https?://(?:[^/]*\.)?youtube\.com/watch.*?[?&]v=.*"
__version__ = "0.39"
__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),