aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-07-22 23:49:55 +0600
committerSergey M․ <dstftw@gmail.com>2015-07-22 23:49:55 +0600
commitc7620992d20973320fddb85f936f5dc602d1d708 (patch)
treecc5e2038777e824efcca7c37cb02eb79b3f4baea
parentce1bafdce9f7f9e19c172b319a5ae75d1c85759b (diff)
downloadyoutube-dl-c7620992d20973320fddb85f936f5dc602d1d708.tar.xz
[pbs] No need to escape colon
-rw-r--r--youtube_dl/extractor/pbs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/pbs.py b/youtube_dl/extractor/pbs.py
index ba6527b80..a53479aad 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,