question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Youtube-dl stopped working when I upgraded to MacOS Monterey 12.0.1

See original GitHub issue

Checklist

  • I’m reporting a broken site support issue
  • I’ve verified that I’m running youtube-dl version 2021.06.06
  • I’ve checked that all provided URLs are alive and playable in a browser
  • I’ve checked that all URLs and arguments with special characters are properly quoted or escaped
  • I’ve searched the bugtracker for similar bug reports including closed ones
  • I’ve read bugs section in FAQ

Verbose log

> youtube-dl -f '(mp4)[height=720]' -v https://www.youtube.com/watch?v=jE9ruBknk3Y
zsh: no matches found: https://www.youtube.com/watch?v=jE9ruBknk3Y

(I realise that this does not look like the output you are looking for. I don't know why.)

Description

I installed youtube-dl via Homebrew on MacOS 10.5 Monterey (I newly updated to Monterey weekend). I am trying to download a youtube video for watching offline. I am sure that the URL works, and the syntax used to work and doesn’t give an error. In fact, the error appears with all URLs I tried on youtube at least.

I have no idea why MacOS 12.0.1 broke youtube-dl. Or maybe it is the switch to Zsh as default. Apple seems to have screwed up rather badly with this one.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:12 (1 by maintainers)

github_iconTop GitHub Comments

5reactions
michealespinolacommented, Nov 3, 2021

Try putting the URL in quotes. This is a recurring issue in the zsh shell.

4reactions
ovvldccommented, Nov 4, 2021

Youtube-dl works on Zsh on MacOS if you put the URL in quotes.

Note that Zsh is the default shell on MacOS now, so maybe someone can add that to the install notes on Homebrew?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can not use youtube-dl on M1 Mac - env: python
When I try to run YouTube-dl from the terminal on my M1 MacBook Air, I get the following message: env: python: No such...
Read more >
Monterey Problems: How to fix the most common macOS 12 ...
Run a firmware update ; Reinstall your non-Apple SSD with Monterey running. "A required firmware update could not be installed" problem. Some ...
Read more >
Help installing youtube-dl | MacRumors Forums
so is /usr/local/bin/ the default folder macOS is automatically using for add-on executables that didn't come pre-installed with the OS?
Read more >
Terraria is not working on MacOS Monterey 12.0.1
I updated to the new macos monterey 3 days ago. Now when I press play, the game is unable to launch and quits...
Read more >
Unable to launch minecraft on mac os Monterey 12.1 - Reddit
Unable to launch minecraft on mac os Monterey 12.1 ... unable to upgrade to macos 10.12 ... TLauncher crashes on macOS Monterey 12.0.1....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found