From: remitamine Date: Wed, 30 Sep 2015 12:30:48 +0000 (+0100) Subject: [nfl] fix content id regex(fixes #7012) X-Git-Url: https://git.cielonegro.org/gitweb.cgi?a=commitdiff_plain;h=aedb930cfcd068600d3b5b0b3aef32df1a28f0c0;p=youtube-dl.git [nfl] fix content id regex(fixes #7012) --- diff --git a/youtube_dl/extractor/nfl.py b/youtube_dl/extractor/nfl.py index 55dc6107d..4c35c561b 100644 --- a/youtube_dl/extractor/nfl.py +++ b/youtube_dl/extractor/nfl.py @@ -151,7 +151,7 @@ class NFLIE(InfoExtractor): group='config')) # For articles, the id in the url is not the video id video_id = self._search_regex( - r'(?:]+data-contentId\s*=\s*|contentId\s*:\s*)(["\'])(?P.+?)\1', + r'(?:]+data-content[Ii]d\s*=\s*|content[Ii]d\s*:\s*)(["\'])(?P.+?)\1', webpage, 'video id', default=video_id, group='id') config = self._download_json(config_url, video_id, 'Downloading player config') url_template = NFLIE.prepend_host(