mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-21 20:46:36 -05:00
[brightcove:new] update embed_in_page embeds regex to match non numeric ref id
This commit is contained in:
parent
0c9ff24041
commit
64d4f31d78
1 changed files with 1 additions and 1 deletions
|
@ -425,7 +425,7 @@ def _extract_urls(webpage):
|
|||
# According to [4] data-video-id may be prefixed with ref:
|
||||
r'''(?sx)
|
||||
<video[^>]+
|
||||
data-video-id=["\']((?:ref:)?\d+)["\'][^>]*>.*?
|
||||
data-video-id=["\'](\d+|ref:[^"\']+)["\'][^>]*>.*?
|
||||
</video>.*?
|
||||
<script[^>]+
|
||||
src=["\'](?:https?:)?//players\.brightcove\.net/
|
||||
|
|
Loading…
Reference in a new issue