Skip to content

A feature-rich command-line audio/video downloader

[pbs] No need to escape colon

Sergey M․c7620992d209
diff --git a/youtube_dl/extractor/pbs.py b/youtube_dl/extractor/pbs.py
index ba6527b80f..a53479aad7 100644
--- a/youtube_dl/extractor/pbs.py
+++ b/youtube_dl/extractor/pbs.py
@@ -251,7 +251,7 @@ class PBSIE(InfoExtractor):
# Try turning it to 'program - title' naming scheme if possible
alt_title = info.get('program', {}).get('title')
if alt_title:
- info['title'] = alt_title + ' - ' + re.sub(r'^' + alt_title + '[\s\-\:]+', '', info['title'])
+ info['title'] = alt_title + ' - ' + re.sub(r'^' + alt_title + '[\s\-:]+', '', info['title'])
return {
'id': video_id,