From ad7bcc1311ac1e4f31c0a220fc03b9fa65dc6dfd Mon Sep 17 00:00:00 2001 From: sepro <4618135+seproDev@users.noreply.github.com> Date: Sun, 19 May 2024 16:29:21 +0200 Subject: [PATCH] Add test case --- 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 9e44a8f7f7..e54fe913a8 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,