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

Any way to play 18+ songs? #50

Closed
sam1e-dev opened this issue Sep 27, 2021 · 5 comments
Closed

Any way to play 18+ songs? #50

sam1e-dev opened this issue Sep 27, 2021 · 5 comments
Assignees
Labels
question Further information is requested

Comments

@sam1e-dev
Copy link

I am trying to play song that is marked 18+ by youtube. The output says
discord.ext.commands.errors.CommandInvokeError: Command raised an exception: DownloadError: ERROR: Sign in to confirm your age
Is there any way i could put account in the bot for it to play normally?

@Raptor123471 Raptor123471 self-assigned this Sep 27, 2021
@Raptor123471 Raptor123471 added the question Further information is requested label Sep 27, 2021
@Raptor123471
Copy link
Owner

You should be able to export cookies from your browser and have this work.

  1. Use browser to log into YouTube
  2. Confirm age on any restricted video
  3. Extract cookies using a browser extension or other method then follow this wiki page

I haven't tested this but unless YouTube changed something this should work. I'm going to check it out when I can also, its worth looking in to.

@sam1e-dev
Copy link
Author

Thanks, i will try and will let you know

@Raptor123471 Raptor123471 pinned this issue Sep 27, 2021
@sam1e-dev
Copy link
Author

Hi, it all seems to work now, thanks :D
For anyone reading this, i recommend this extension, since u need it in Netscape format: https://chrome.google.com/webstore/detail/get-cookiestxt/bgaddhkoddajcdgocldbbfleckgcbcid/related?hl=en

@Raptor123471
Copy link
Owner

Thanks for trying it out and glad it worked for you. I'm going to add this to the wiki.

@sam1e-dev
Copy link
Author

Thanks for trying it out and glad it worked for you. I'm going to add this to the wiki.

No problem :D And thank you for making this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants