[pbs] No need to escape colon
authorSergey M․ <dstftw@gmail.com>
Wed, 22 Jul 2015 17:49:55 +0000 (23:49 +0600)
committerSergey M․ <dstftw@gmail.com>
Wed, 22 Jul 2015 17:49:55 +0000 (23:49 +0600)
youtube_dl/extractor/pbs.py

index ba6527b80fd3c147df37ab55bec28a5d315b5cce..a53479aad762d2fbe8095867a625df996bbf1473 100644 (file)
@@ -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,