aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-03-19 21:17:04 +0600
committerSergey M․ <dstftw@gmail.com>2015-03-19 21:17:04 +0600
commit0ae8bbac2d12a883b8eb7a941c65c7b87987d213 (patch)
treebe190e82260fb4abb7e930cb929562902c011fe5
parentb30ef07c6ccb982cff623c34e7c5cec5d8eb9bb9 (diff)
[nytimes] Support embed URL
-rw-r--r--youtube_dl/extractor/nytimes.py2
1 files changed, 1 insertions, 1 deletions
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<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',