The original innertube API /youtubei/v1/get_transcript no longer functions, as it now returns a 404 error.
We re-implement the transcript loading process, this time using another transcript API /api/timedtext, which is the method employed by youtube-transcript-api.
Finally, we adapt the timedtext results so that they are in line with the original get_transcript results that we require.
Here is the priority order for caption selection when multiple options are available:
Must be of the 'asr' kind (Automatic Speech Recognition)
Issue #5
The original innertube API
/youtubei/v1/get_transcript
no longer functions, as it now returns a 404 error.We re-implement the transcript loading process, this time using another transcript API
/api/timedtext
, which is the method employed by youtube-transcript-api.Finally, we adapt the
timedtext
results so that they are in line with the originalget_transcript
results that we require.Here is the priority order for caption selection when multiple options are available: