Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
[Request] support for npo.nl subtitles #3638
Comments
|
npo subtitles will be supported in the next version. Thanks for the report. |
|
dstftw, thanks for the initial support, but since the subtitles are of the webvtt format, which a lot of players don't support, I was wondering if you could convert to subtitle-file to srt first before writing to disk. In this case, with npo-subs, you'd only have to remove the first 2 lines to accomplish that. If I take yesterday's 8 o' clock newsbulletin for example, youtube-dl reports:
Does youtube-dl have the ability to detect the subtitle-format? If so, perhaps you could make the penultimate line look liks this: |
Is it possible to add support for npo.nl subs? Not all video-streams have subs though, so when applicable.
Example, the 8 o'clock news bulletin: http://www.npo.nl/nos-journaal/28-08-2014/POW_00722860.
The JSON: http://e.omroep.nl/metadata/aflevering/POW_00722860 reports "tt888":"ja", so it has subs.
Its subtitles can then be found here: http://e.omroep.nl/tt888/POW_00722860. I found the url with Firefox's webconsole.