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

Exclamation mark in URL gives a bash error #3539

Closed
pvdl opened this issue Aug 17, 2014 · 2 comments
Closed

Exclamation mark in URL gives a bash error #3539

pvdl opened this issue Aug 17, 2014 · 2 comments

Comments

@pvdl
Copy link
Contributor

@pvdl pvdl commented Aug 17, 2014

If you have an exclamation mark in the URL, youtube-dl gives a bash error. (Linux)

youtube-dl whateversite.com/#!/video-i-like-to-download - Gives an error
bash: !/video-i-like-to-download: event not found

Even if you put the URL between quotes:
youtube-dl "whateversite.com/#!/video-i-like-to-download"

Is it possible to 'escape' the exclamation mark in the URL? Like '!'

@pvdl
Copy link
Contributor Author

@pvdl pvdl commented Aug 17, 2014

Related to #3523

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Aug 17, 2014

That's unrelated to youtube-dl, ! is a special character in bash (youtube-dl is not even run). Enclosing the url in single quotes (') works, youtube-dl whateversite.com/#\!/video-i-like-to-download will also work.

@jaimeMF jaimeMF closed this Aug 17, 2014
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.