summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/YoutubeCom.py
diff options
context:
space:
mode:
authorGravatar Christopher <4Christopher@gmx.de> 2013-05-11 23:54:25 +0200
committerGravatar Christopher <4Christopher@gmx.de> 2013-05-11 23:54:25 +0200
commit51c3399e371765acaf167d2dc4b91931b0480c50 (patch)
tree4b6bfc5b7f9b56c51297748cc647122b7e38637f /module/plugins/hoster/YoutubeCom.py
parentYoutubeCom.py: Fixed regulare expression. (diff)
downloadpyload-51c3399e371765acaf167d2dc4b91931b0480c50.tar.xz
YoutubeBatch.py, YoutubeCom.py: Synced regulare expression.
YoutubeBatch.py now also supports https (tested).
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 33d195c82..70db597cf 100644
--- a/module/plugins/hoster/YoutubeCom.py
+++ b/module/plugins/hoster/YoutubeCom.py
@@ -33,7 +33,7 @@ def which(program):
class YoutubeCom(Hoster):
__name__ = "YoutubeCom"
__type__ = "hoster"
- __pattern__ = r"https?://(?:www\.)?(?:de\.)?youtube\.com/watch.*?[?&]v=.*"
+ __pattern__ = r"https?://(?:[^/]*?)youtube\.com/watch.*?[?&]v=.*"
__version__ = "0.32"
__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),