From 2a41209f227c799faf4e1046fd65a432359db169 Mon Sep 17 00:00:00 2001 From: krandor Date: Tue, 7 Jan 2025 16:49:12 -0500 Subject: [PATCH] add test for pbssocal from #9740 --- yt_dlp/extractor/pbs.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/yt_dlp/extractor/pbs.py b/yt_dlp/extractor/pbs.py index 659789023b..56f18d9a38 100644 --- a/yt_dlp/extractor/pbs.py +++ b/yt_dlp/extractor/pbs.py @@ -404,6 +404,19 @@ class PBSIE(InfoExtractor): }, 'expected_warnings': ['HTTP Error 403: Forbidden'], }, + { + 'url': 'https://www.pbssocal.org/shows/newshour/clip/capehart-johnson-1715984001', + 'info_dict': { + 'id': '3091549094', + 'ext': 'mp4', + 'title': 'PBS NewsHour - Capehart and Johnson on the unusual Biden-Trump debate plans', + 'description': 'Capehart and Johnson on how the Biden-Trump debates could shape the campaign season', + 'display_id': 'capehart-johnson-1715984001', + 'duration': 593, + 'thumbnail': 'https://image.pbs.org/video-assets/mF3oSVn-asset-mezzanine-16x9-QeXjXPy.jpg', + 'chapters': [], + }, + }, { 'url': 'http://player.pbs.org/widget/partnerplayer/2365297708/?start=0&end=0&chapterbar=false&endscreen=false&topbar=true', 'only_matching': True,