summaryrefslogtreecommitdiffstats
path: root/pyload/plugins/hoster/YoutubeCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugins/hoster/YoutubeCom.py')
-rw-r--r--pyload/plugins/hoster/YoutubeCom.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyload/plugins/hoster/YoutubeCom.py b/pyload/plugins/hoster/YoutubeCom.py
index 90e4dd632..06eba4d09 100644
--- a/pyload/plugins/hoster/YoutubeCom.py
+++ b/pyload/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),