aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/jsinterp.py
diff options
context:
space:
mode:
authorfnord <fnord@fnord.mobi>2015-07-19 11:47:58 -0500
committerfnord <fnord@fnord.mobi>2015-07-19 11:47:58 -0500
commita5dd9a0c5dcf6aace1b7af87acb982480d606753 (patch)
tree4925e654c61fc43f778f54ab3d8663cb05af4b25 /youtube_dl/jsinterp.py
parent1d18e26ecad636cb88ee9710807e9583eec98cd4 (diff)
pbs: fix vague 'Full Episode' titles; prepend name of show
Many videos are given the title 'Full Episode' or 'Episode x', etc; in the info json 'title' is the episode title (for oneshots this is 'Full Episode') while the program name is 'program':{'title'. This changes the title from '(episode title)' to '(program name) - (episode title)' The following urls demonstrate useless titles http://video.pbs.org/video/2365367186/ http://video.pbs.org/video/2365519307/ http://video.pbs.org/video/2365527039/ http://video.pbs.org/video/2365530605/ Before change Full Episode Episode 5 | Preview Season 3 | Episode 4 Preview July 17, 2015 After change To Catch A Comet - Full Episode The Crimson Field - Episode 5 | Preview Last Tango in Halifax - Season 3 | Episode 4 Preview Charlie Rose The Week - July 17, 2015
Diffstat (limited to 'youtube_dl/jsinterp.py')
0 files changed, 0 insertions, 0 deletions