youtube-dl

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

commit 0ae8bbac2d12a883b8eb7a941c65c7b87987d213
parent b30ef07c6ccb982cff623c34e7c5cec5d8eb9bb9
Author: Sergey M․ <dstftw@gmail.com>
Date:   Thu, 19 Mar 2015 21:17:04 +0600

[nytimes] Support embed URL

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

diff --git a/youtube_dl/extractor/nytimes.py b/youtube_dl/extractor/nytimes.py @@ -7,7 +7,7 @@ from ..utils import parse_iso8601 class NYTimesIE(InfoExtractor): - _VALID_URL = r'https?://(?:www\.)?nytimes\.com/video/(?:[^/]+/)+(?P<id>\d+)' + _VALID_URL = r'https?://(?:(?:www\.)?nytimes\.com/video/(?:[^/]+/)+|graphics8\.nytimes\.com/bcvideo/\d+(?:\.\d+)?/iframe/embed\.html\?videoId=)(?P<id>\d+)' _TEST = { 'url': 'http://www.nytimes.com/video/opinion/100000002847155/verbatim-what-is-a-photocopier.html?playlistId=100000001150263',