youtube-dl

Another place where youtube-dl lives on
git clone git://git.oshgnacknak.de/youtube-dl.git
Log | Files | Refs | README | LICENSE

commit f2332f18e66fc5255d11a2762bfaff02f8221251
parent 7c1f419341ac2dec123eaa0075212edc6af3302b
Author: Sergey M․ <dstftw@gmail.com>
Date:   Fri, 27 Oct 2017 22:26:43 +0700

[youtube] Restrict embed regex (#14600)

Diffstat:
Myoutube_dl/extractor/youtube.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.py @@ -1391,7 +1391,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor): ) (["\']) (?P<url>(?:https?:)?//(?:www\.)?youtube(?:-nocookie)?\.com/ - (?:embed|v|p)/.+?) + (?:embed|v|p)/[0-9A-Za-z_-]{11}.*?) \1''', webpage)] # lazyYT YouTube embed