From 160f09c17f6acd0c44a54be697508d45bac4da3b Mon Sep 17 00:00:00 2001 From: krandor Date: Tue, 7 Jan 2025 19:13:55 -0500 Subject: [PATCH] add missed MEDIA_ID_REGEX --- yt_dlp/extractor/pbs.py | 1 + 1 file changed, 1 insertion(+) diff --git a/yt_dlp/extractor/pbs.py b/yt_dlp/extractor/pbs.py index 56f18d9a38..466f05ff26 100644 --- a/yt_dlp/extractor/pbs.py +++ b/yt_dlp/extractor/pbs.py @@ -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']+data-coveid="(\d+)"', # coveplayer from http://www.pbs.org/wgbh/frontline/film/real-csi/