0

For my Project i use the youtube-player api and i need the Transcript of an Video and Video id's of an playlist

I would like to get the Standard Youtube Transcript, which you get when you click "show transcript" on youtube.com. (either native language or autogenerated if not available)

When you click "show transcript" a request with a signature/key is made to the youtube api

https://www.youtube.com/api/timedtext?v=jn3wG4z_Scw&caps=asr&xoaf=4&hl=de&ip=0.0.0.0&ipbits=0&expire=1654051365&sparams=ip,ipbits,expire,v,caps,xoaf&signature=4D4509AD58E6D34D867B3F2BF4E4B2B808751A3A.48AE333D8C981F804D4320864E2A583C58D5F543&key=yt8&lang=de&fmt=json3&xorb=2&xobt=3&xovt=3

Can i reverse engineer the JS to get the functions which generate the Request. (espacially the key/signature creator) If it's possible are there any tools that help? Maybe i can avoid using an API key with php? Or should i just give in and use the official youtube api?

For some reason i don't want to use an api key. maybe because of scalability, not associating a account with the project, kepping the project as local as possible. feel free to change my mind

asked May 31, 2022 at 20:05
2
  • Does this solve your problem ? Commented May 31, 2022 at 21:19
  • Consider also check my answer. Commented May 31, 2022 at 22:28

0

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.