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

Youtube - Access is denied #24998

Closed
LegitSoulja opened this issue Apr 25, 2020 · 4 comments
Closed

Youtube - Access is denied #24998

LegitSoulja opened this issue Apr 25, 2020 · 4 comments
Labels

Comments

@LegitSoulja
Copy link

@LegitSoulja LegitSoulja commented Apr 25, 2020

I've made a program that plays audio from url streams, instead of downloading. It was all working fine until yesterday it stopped working, now some streams I cannot play . Could it be that Youtube has blocked/limited me from playing streams? I've also tried using proxies, but non of them worked.

It has been 24h since I've been denied access of streams, and doesn't seem this issue will go away. Anyone got ideas why this may be happening, or ways to prevent? Some may say "I'm not using cookies", but it worked fine without until now.

@LegitSoulja LegitSoulja changed the title Youtube - Access id denied Youtube - Access is denied Apr 25, 2020
@thegreatestminer
Copy link

@thegreatestminer thegreatestminer commented Apr 25, 2020

Find something that gives you an error, then do it again with --verbose.

@LegitSoulja
Copy link
Author

@LegitSoulja LegitSoulja commented Apr 25, 2020

@thegreatestminer Here's the thing, I get no error with youtube-dl, until I get the stream link provided and try playing from it.

However, he's one example

.[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', '-f', 'bestaudio', '-g', 'https://www.youtube.com/watch?v=R1BtQliPi7o']
[debug] Encodings: locale cp1252, fs mbcs, out cp1252, pref cp1252
[debug] youtube-dl version 2020.03.24
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.18362
.[debug] exe versions: ffmpeg 4.0.2, ffprobe 4.0.2
[debug] Proxy map: {'no': '192.168.99.100'}
..
[removed link]
@LegitSoulja
Copy link
Author

@LegitSoulja LegitSoulja commented Apr 25, 2020

Noting again, only some streams I can play, but most of them will end up returning an Access denied from my audio client. When visiting the link in browser, this will be shown
er

@LegitSoulja
Copy link
Author

@LegitSoulja LegitSoulja commented Apr 25, 2020

After looking through other issues, I finally found a solution that fixed it!

For anyone that comes across this issue in the future, use --rm-cache-dir

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.