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.
Checklist
Verbose log
Description
Videos downloaded from The Platform are not downloading correctly.
I'm using an MSO that is not supported. Therefore I have to manually get the link to the embedded player manually by visiting the video page:
https://www.nbc.com/the-profit/video/an-inside-look-kota-longboards/4117074
And then running the following JavaScript command:
And then pass that in to youtube-dl (see verbose log above).
Then inspect the downloaded file:
And then fetch the expected duration:
There seems to be 37 minutes missing. However upon playing back the video it is nothing but ads. Note that
--include-adswas not specified. Nothing from the video got downloaded; all 43 minutes are missingIf we manually inspect one of the m3u8 files listed in master.m3u8, we can see the following in there:
The lines between these comments need to be stripped before passing the data in to the downloader. Because right now the downloader is downloading them.
This issue is reproducable on all videos from nbc.com that require login. Any video not requiring login downloads fine.