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-dl Showing Errors #32636

Closed
2 tasks
Ermiasmarino opened this issue Nov 13, 2023 · 1 comment
Closed
2 tasks

Youtube-dl Showing Errors #32636

Ermiasmarino opened this issue Nov 13, 2023 · 1 comment

Comments

@Ermiasmarino
Copy link

Checklist

  • I'm asking a question
  • [x ] I've looked through the README and FAQ for similar questions
  • I've searched the bugtracker for similar questions including closed ones

Question

WRITE QUESTION HERE
I installed youtube-dl on my Mac using curl, but I am getting the following errors whenever I try to interact with it on the Terminal:

/usr/local/bin/youtube-dl: line 1: syntax error near unexpected token newline' /usr/local/bin/youtube-dl: line 1:

Access denied

'

I tried to search for the solution online but I couldn't find it. This is the closest I got. Help.

@dirkf
Copy link
Contributor

dirkf commented Nov 13, 2023

  1. Review READ THIS BEFORE OPENING A NEW ISSUE! THIS MEANS YOU! #30839.
  2. Make sure to install the nightly version rather than the 2021.12 release.
  3. Note ERROR: Unable to extract yt initial data on playlist #32499 which affects downloads from YouTube for the moment, or use yt-dlp.
  4. Make sure that you have made the downloaded file executable (use chmod as in the installation instructions).
  5. Make sure that you have a python command on your PATH, eg by symlinking (as admin)/usr/local/bin/python to your python3, or run the program as python3 /usr/local/bin/youtube-dl ... (this will also work if your problem is 4 above).
  6. Remember that modern macOS versions run the zsh shell in Terminal, where ? as well as & are special characters: always 'quote' URLs passed to yt-dl.

@dirkf dirkf closed this as not planned Won't fix, can't repro, duplicate, stale Nov 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants