Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
trailing / in shell script #12611
trailing / in shell script #12611
Comments
|
Most likely your script is malformed. |
If I run the command
youtube-dl https://vimeo.com/192440102
from Terminal in Mac OS, this downloads fine.
If I place it in a .sh shell script and run the script I get:-
youtube-dl: Downloading page 1
ERROR: Unable to download webpage: HTTP Error 404: Not Found (caused by HTTPError());
I discovered the fix, which is to add a "/" to the URL thus:-
youtube-dl https://vimeo.com/192440102/
youtube-dl --version
2017.03.26
MacOS Sierra
10.12.3 (16D32)