diff options
| author | Remita Amine <remitamine@gmail.com> | 2017-04-22 22:26:20 +0100 | 
|---|---|---|
| committer | Remita Amine <remitamine@gmail.com> | 2017-04-22 22:26:20 +0100 | 
| commit | ffbc8386b9298ef343a71bf54d7426a19755fef8 (patch) | |
| tree | 2278a61f599ffa203fcbaf27a834b266ccf2ad69 | |
| parent | 4abdba643cc2d610fbbfe7ece9ee97a3df98ad33 (diff) | |
| download | hypervideo-pre-ffbc8386b9298ef343a71bf54d7426a19755fef8.tar.lz hypervideo-pre-ffbc8386b9298ef343a71bf54d7426a19755fef8.tar.xz hypervideo-pre-ffbc8386b9298ef343a71bf54d7426a19755fef8.zip | |
[brightcove] match only video elements with data-video-id attribute
| -rw-r--r-- | youtube_dl/extractor/brightcove.py | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/youtube_dl/extractor/brightcove.py b/youtube_dl/extractor/brightcove.py index 183ac7dd0..97602ca30 100644 --- a/youtube_dl/extractor/brightcove.py +++ b/youtube_dl/extractor/brightcove.py @@ -522,7 +522,7 @@ class BrightcoveNewIE(InfoExtractor):          # [2] looks like:          for video, script_tag, account_id, player_id, embed in re.findall(                  r'''(?isx) -                    (<video\s+[^>]+>) +                    (<video\s+[^>]*data-video-id=['"]?[^>]+>)                      (?:.*?                          (<script[^>]+                              src=["\'](?:https?:)?//players\.brightcove\.net/ | 
