Browse Source

[pbs] No need to escape colon

master
Sergey M․ 9 years ago
parent
commit
c7620992d2
1 changed files with 1 additions and 1 deletions
  1. 2
      youtube_dl/extractor/pbs.py

2
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,

Loading…
Cancel
Save