From: Sergey M․ Date: Thu, 19 Mar 2015 15:17:04 +0000 (+0600) Subject: [nytimes] Support embed URL X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=0ae8bbac2d12a883b8eb7a941c65c7b87987d213;p=youtube-dl [nytimes] Support embed URL --- diff --git a/youtube_dl/extractor/nytimes.py b/youtube_dl/extractor/nytimes.py index 56e1cad3b..5b57e95b6 100644 --- 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\d+)' + _VALID_URL = r'https?://(?:(?:www\.)?nytimes\.com/video/(?:[^/]+/)+|graphics8\.nytimes\.com/bcvideo/\d+(?:\.\d+)?/iframe/embed\.html\?videoId=)(?P\d+)' _TEST = { 'url': 'http://www.nytimes.com/video/opinion/100000002847155/verbatim-what-is-a-photocopier.html?playlistId=100000001150263',