This website works better with JavaScript.
Home
Help
Sign In
zolfa
/
youtube-dl
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
1.1k
Wiki
Activity
Browse Source
[brightcove] match only video elements with data-video-id attribute
master-ytdl-org
Remita Amine
8 years ago
parent
4abdba643c
commit
ffbc8386b9
1 changed files
with
1 additions
and
1 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
youtube_dl/extractor/brightcove.py
+ 1
- 1
youtube_dl/extractor/brightcove.py
View File
@ -522,7 +522,7 @@ class BrightcoveNewIE(InfoExtractor):
# [2] looks like:
# [2] looks like:
for
video
,
script_tag
,
account_id
,
player_id
,
embed
in
re
.
findall
(
for
video
,
script_tag
,
account_id
,
player_id
,
embed
in
re
.
findall
(
r
'''
(?isx)
r
'''
(?isx)
(
<
video
\
s
+
[
^
>
]
+
>
)
(
<
video
\
s
+
[
^
>
]
*
data
-
video
-
id
=
[
'
"
]?[^>]+>
)
(
?
:
.
*
?
(
?
:
.
*
?
(
<
script
[
^
>
]
+
(
<
script
[
^
>
]
+
src
=
[
"
\'
](?:https?:)?//players
\
.brightcove
\
.net/
src
=
[
"
\'
](?:https?:)?//players
\
.brightcove
\
.net/
Write
Preview
Loading…
Cancel
Save