mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-17 15:25:49 +00:00
[pbs] No need to escape colon
This commit is contained in:
parent
ce1bafdce9
commit
c7620992d2
@ -251,7 +251,7 @@ def _real_extract(self, url):
|
|||||||
# Try turning it to 'program - title' naming scheme if possible
|
# Try turning it to 'program - title' naming scheme if possible
|
||||||
alt_title = info.get('program', {}).get('title')
|
alt_title = info.get('program', {}).get('title')
|
||||||
if alt_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 {
|
return {
|
||||||
'id': video_id,
|
'id': video_id,
|
||||||
|
Loading…
Reference in New Issue
Block a user