aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorremitamine <remitamine@gmail.com>2015-09-30 13:30:48 +0100
committerSergey M․ <dstftw@gmail.com>2015-09-30 20:03:10 +0600
commitaedb930cfcd068600d3b5b0b3aef32df1a28f0c0 (patch)
tree3c11d04f57989f7c7eb01e942274066fa4c04351
parentc596ce91cd22914e031b9ac94ec38d1137e50d60 (diff)
downloadyoutube-dl-aedb930cfcd068600d3b5b0b3aef32df1a28f0c0.tar.xz
[nfl] fix content id regex(fixes #7012)
-rw-r--r--youtube_dl/extractor/nfl.py2
1 files changed, 1 insertions, 1 deletions
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'(?:<nflcs:avplayer[^>]+data-contentId\s*=\s*|contentId\s*:\s*)(["\'])(?P<id>.+?)\1',
+ r'(?:<nflcs:avplayer[^>]+data-content[Ii]d\s*=\s*|content[Ii]d\s*:\s*)(["\'])(?P<id>.+?)\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(