From a81087160812ec7a2059e1641a9785bfa4629023 Mon Sep 17 00:00:00 2001 From: nlurker <19214495+nlurker@users.noreply.github.com> Date: Tue, 27 Jan 2026 06:45:19 -0600 Subject: [PATCH] [ie/pbs] Fix extraction (#15083) Closes #13299 Authored by: nlurker --- yt_dlp/extractor/pbs.py | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/yt_dlp/extractor/pbs.py b/yt_dlp/extractor/pbs.py index dde734ff3d..f9fbb2bc75 100644 --- a/yt_dlp/extractor/pbs.py +++ b/yt_dlp/extractor/pbs.py @@ -453,6 +453,23 @@ class PBSIE(InfoExtractor): 'url': 'https://player.pbs.org/portalplayer/3004638221/?uid=', 'only_matching': True, }, + { + # Next.js v13+, see https://github.com/yt-dlp/yt-dlp/issues/13299 + 'url': 'https://www.pbs.org/video/caregiving', + 'info_dict': { + 'id': '3101776876', + 'ext': 'mp4', + 'title': 'Caregiving - Caregiving', + 'description': 'A documentary revealing America’s caregiving crisis through intimate stories and expert insight.', + 'display_id': 'caregiving', + 'duration': 6783, + 'thumbnail': 'https://image.pbs.org/video-assets/BSrSkcc-asset-mezzanine-16x9-nlcxQts.jpg', + 'chapters': [], + }, + 'params': { + 'skip_download': True, + }, + }, ] _ERRORS = { 101: 'We\'re sorry, but this video is not yet available.', @@ -506,6 +523,7 @@ class PBSIE(InfoExtractor): r"(?s)window\.PBS\.playerConfig\s*=\s*{.*?id\s*:\s*'([0-9]+)',", r'