Skip to content

A feature-rich command-line audio/video downloader

[pbs] Add another coveplayer pattern (Closes #7674)

Sergey M․d0c8b279daa8
diff --git a/youtube_dl/extractor/pbs.py b/youtube_dl/extractor/pbs.py
index 7a4ed23a12..ab3c43cfea 100644
--- a/youtube_dl/extractor/pbs.py
+++ b/youtube_dl/extractor/pbs.py
@@ -208,6 +208,7 @@ class PBSIE(InfoExtractor):
MEDIA_ID_REGEXES = [
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/
r'<input type="hidden" id="pbs_video_id_[0-9]+" value="([0-9]+)"/>', # jwplayer
]