1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-02-03 22:22:52 +08:00

slight change in the video URL

Makes the scraper work again.
This commit is contained in:
troych 2016-08-10 15:11:01 +02:00 committed by GitHub
parent 69d8eeeec5
commit fdffa4dcc6

View File

@ -5,9 +5,9 @@ from .common import InfoExtractor
class Formula1IE(InfoExtractor):
_VALID_URL = r'https?://(?:www\.)?formula1\.com/content/fom-website/en/video/\d{4}/\d{1,2}/(?P<id>.+?)\.html'
_VALID_URL = r'https?://(?:www\.)?formula1\.com/en/video/\d{4}/\d{1,2}/(?P<id>.+?)\.html'
_TEST = {
'url': 'http://www.formula1.com/content/fom-website/en/video/2016/5/Race_highlights_-_Spain_2016.html',
'url': 'http://www.formula1.com/en/video/2016/5/Race_highlights_-_Spain_2016.html',
'md5': '8c79e54be72078b26b89e0e111c0502b',
'info_dict': {
'id': 'JvYXJpMzE6pArfHWm5ARp5AiUmD-gibV',