1
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp synced 2025-01-18 23:03:05 +01:00

add missed MEDIA_ID_REGEX

This commit is contained in:
krandor 2025-01-07 19:13:55 -05:00
parent 2a41209f22
commit 160f09c17f

View file

@ -474,6 +474,7 @@ class PBSIE(InfoExtractor):
return tabbed_videos, presumptive_id, upload_date, description
MEDIA_ID_REGEXES = [
r'\bhttps?://player\.pbs\.org/[\w-]+player/(\d+)', # move to end to avoid false +ves?
r"div\s*:\s*'videoembed'\s*,\s*mediaid\s*:\s*'(\d+)'", # frontline video embed
r'class="coveplayerid">([^<]+)<', # coveplayer
r'<section[^>]+data-coveid="(\d+)"', # coveplayer from http://www.pbs.org/wgbh/frontline/film/real-csi/