obra / Youtube2Webpage

I learn much better from text than from videos
MIT License
763 stars 25 forks source link

macOS - zsh: no matches found #16

Closed aotombielecki closed 1 year ago

aotombielecki commented 1 year ago

First time using perl on macOS, just wanted to give this tip for anyone else searching

/yt-to-webpage.pl project-name https://www.youtube.com/watch?v=jNQXAC9IVRw
zsh: no matches found: https://www.youtube.com/watch?v=jNQXAC9IVRw

The issue is with zsh's URL handling, not the script itself. Quote the URL to avoid zsh's special character interpretation.

Try:

./yt-to-webpage.pl project-name "https://www.youtube.com/watch?v=jNQXAC9IVRw"

Context:

obra commented 1 year ago

Thanks.

I've updated the example and the doc to show quoted URLs exclusively.