diff --git a/yt_dlp/extractor/pbs.py b/yt_dlp/extractor/pbs.py index 466f05ff2..ff66c2362 100644 --- a/yt_dlp/extractor/pbs.py +++ b/yt_dlp/extractor/pbs.py @@ -188,12 +188,12 @@ class PBSIE(InfoExtractor): # Player (?:video|player)\.pbs\.org/(?:widget/)?partnerplayer/(?P[^/]+) | # Direct video URL, or article with embedded player - (?:%s)/(?: + (?:{})/(?: (?:(?:vir|port)alplayer|video)/(?P[0-9]+)(?:[?/]|$) | - (?:[^/]+/){1,5}(?P[^/]+?)(?:\.html)?/?(?:$|[?\#]) + (?:[^/]+/){{1,5}}(?P[^/]+?)(?:\.html)?/?(?:$|[?\#]) ) ) - ''' % '|'.join(next(zip(*_STATIONS))) + '''.format('|'.join(next(zip(*_STATIONS)))) _GEO_COUNTRIES = ['US']