0
0
Fork 0

[nytimes] Support embed URL

main
Sergey M․ 2015-03-19 21:17:04 +06:00
parent b30ef07c6c
commit 0ae8bbac2d
1 changed files with 1 additions and 1 deletions

View File

@ -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',