-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add YouTube PO token & IP rotation #1772
base: master
Are you sure you want to change the base?
Conversation
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
For anyone wondering, I was able to build this using jdk-21 and maven on a windows machine - and it worked, all I had to do was drop the target/JMusicBot-All.jre in place of the 0.4.3 version and double click and it worked. Playing music right now in my server. Should be simple to make the pipelines pass. Small refactor to reduce complexity of your added ip functionality and we'd be good to make a new tag, I'd think. If I don't see any progress here in a week I'll fork and tag a release. Update: I made a release you use until this repo is resolved. |
This pull request...
Description
Unfortunately the setup for both are fairly complicated. I'm hoping that obtaining a PO token bit can be automated (thus this being a draft PR). IPv6 rotation is even more complicated & hosting-dependent, so this is probably reserved for power users.
Purpose
Allows for (semi-)reliable YouTube playback again
Relevant Issue(s)
Somewhat fixes #1588
Somewhat fixes #1682
TODO
youtube-source
README suggests to run theyoutube-trusted-session-generator
python script/docker image to generate these.yt-dlp
's wiki has a guide on manually retrieving PO tokenscontext.client.visitorData
, im not sure if its the identical though i have to yet double check.