unixfox / refresh-botguard-token-youtube

Periodically refresh the botguard token for usage on www.youtube.com
4 stars 0 forks source link

Still works? #1

Open qqqqqvb4 opened 2 months ago

qqqqqvb4 commented 2 months ago

Where did you get this request from? My browser doesn't send it and after sending it manually there is no poToken in it

qqqqqvb4 commented 2 months ago

https://github.com/7ERr0r/youtubezero/issues/3#issuecomment-2196633159

unixfox commented 2 months ago
  1. go to www.google.com
  2. search for a youtube video
  3. open devtools
  4. load the video from the same web page image
  5. see in the request https://www.youtube.com/youtubei/v1/player?prettyPrint=false with serviceIntegrityDimensions.poToken in the request body

you need both poToken AND visitorData for bypassing the error "Sign in to confirm you’re not a bot"

qqqqqvb4 commented 2 months ago

There is only https://www.youtube.com/youtubei/v1/att/get?prettyPrint=false

https://github.com/unixfox/refresh-botguard-token-youtube/assets/170364747/65eff1d4-afd4-4794-b226-b500ebbe8081

qqqqqvb4 commented 2 months ago

I tested in Chrome and Firefox. On a logged in session and a logged out session. With and without Adblock. On regular video and livestream. Never does my browser send such a request

qqqqqvb4 commented 2 months ago

Oh, okay I get it. By same page you mean firing up the video in the embed and not going to the link. Ok thanks, sorry

qqqqqvb4 commented 2 months ago

It seems to me that it would be more intuitive to go directly through the embed link like https://www.youtube.com/embed/bbRxU5rDzQg

unixfox commented 2 months ago

Please use the EDIT button...

It seems to me that it would be more intuitive to go directly through the embed link like https://www.youtube.com/embed/bbRxU5rDzQg

Won't trigger the poToken attestation.

qqqqqvb4 commented 2 months ago

Are you sure?

https://github.com/unixfox/refresh-botguard-token-youtube/assets/170364747/cbdef5bc-e953-4340-a8e1-0a80f93f6279

Ye, sorry, I am not used to such ancient technologies in the style of a mailing list

unixfox commented 2 months ago

OK great finding then.