Hacker News new | ask | show | jobs
by toomuchtodo 99 days ago
https://github.com/yt-dlp/yt-dlp

https://news.ycombinator.com/item?id=44381640

1 comments

yt-dlp --skip-download --write-sub --write-auto-sub --sub-lang en --sub-format json2 "[1]"

[TedTalk] Extracting URL: [1]

[TedTalk] luvvie_ajayi_jones_how_to_be_a_professional_troublemaker: Downloading webpage

ERROR: the JSON object must be str, bytes or bytearray, not NoneType

exit 1

[1] - full URL is: https://www.ted.com/talks/luvvie_ajayi_jones_how_to_be_a_pro...

Apologies, I wasn't aware of https://github.com/yt-dlp/yt-dlp/issues/15059. It seems like this bug has not been fixed yet to extract the transcript from the HTML page (`transcript` and `transcriptData`).

Check out https://github.com/Xintong120/ted-transcript-extractor and see if its of any use, I will try to get yt-dlp fixed.

Did you try

  yt-dlp --update-to master
YouTube tries to shut down yt-dlp and sometimes it is good to have the absolute latest code.