From fdffa4dcc60deb191e7309286894b5b57aacccc6 Mon Sep 17 00:00:00 2001 From: troych Date: Wed, 10 Aug 2016 15:11:01 +0200 Subject: [PATCH] slight change in the video URL Makes the scraper work again. --- youtube_dl/extractor/formula1.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/youtube_dl/extractor/formula1.py b/youtube_dl/extractor/formula1.py index 322c41e5a..3c368d5c4 100644 --- a/youtube_dl/extractor/formula1.py +++ b/youtube_dl/extractor/formula1.py @@ -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.+?)\.html' + _VALID_URL = r'https?://(?:www\.)?formula1\.com/en/video/\d{4}/\d{1,2}/(?P.+?)\.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',