3 ms·
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_b
by MollyRealized 1mo ago
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_professional_troublemaker https://www.ted.com/talks/luvvie_ajayi_jones_how_to_be_a_pro...
- sandreas 1mo agoDid 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.
- toomuchtodo 1mo agoApologies, I wasn't aware of https://github.com/yt-dlp/yt-dlp/issues/15059 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 https://github.com/Xintong120/ted-transcript-extractor and see if its of any use, I will try to get yt-dlp fixed.