Skip to content
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

IT FINALLY WORKED #429

Open
Joe-Tabet opened this issue Jan 24, 2025 · 0 comments
Open

IT FINALLY WORKED #429

Joe-Tabet opened this issue Jan 24, 2025 · 0 comments

Comments

@Joe-Tabet
Copy link

FYI, to get a po_token you can do like thus: https://colab.research.google.com/drive/190BC9tEc0wTtCsfSbWHY-lT6amjSwFyG#scrollTo=CHFMbX0n_KpB

Then I believe when you use a YouTube object (not when you first create it!) then it will prompt you.

@felipeucelli how would it be possible to set the po_token programmatically instead of prompting the user? I had to create a YouTube object, then download a video (Rick Astley's Never Gonna Give You Up), and then subsequent connections/downloads then did not prompt me. But is there a way to pass in the info when creating it, or perhaps trigger the prompt manually without doing a download?

Originally posted by @cleong110 in #226

you are the King man
run this in your cmd After installing node js https://nodejs.org/en
"npm install youtube-po-token-generator"
then use yt = Youtube(url,'WEB') in your code and it should work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: waiting
Development

No branches or pull requests

1 participant