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

trailing / in shell script #12611

Closed
Twwwwizz opened this issue Mar 31, 2017 · 1 comment
Closed

trailing / in shell script #12611

Twwwwizz opened this issue Mar 31, 2017 · 1 comment
Labels

Comments

@Twwwwizz
Copy link

@Twwwwizz Twwwwizz commented Mar 31, 2017

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)

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Mar 31, 2017

Most likely your script is malformed.

@dstftw dstftw closed this Mar 31, 2017
@dstftw dstftw added the invalid label Mar 31, 2017
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.