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

Invalid URL protocol #3151

Closed
omitewary opened this issue Jun 25, 2014 · 1 comment
Closed

Invalid URL protocol #3151

omitewary opened this issue Jun 25, 2014 · 1 comment

Comments

@omitewary
Copy link

@omitewary omitewary commented Jun 25, 2014

it says invalid URL protocol.the command line shows following output
ERROR: Invalid URL protocol; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type youtube-dl -U to update.

I tried to update it but it says you have downloaded wwith a package manager tarball or pip and have to use the same to update.
how do i fix this issue?

[youtube:search] query "-": Downloading page 1
[download] Downloading playlist: -
[youtube:search] playlist -: Collected 1 video ids (downloading 1 of them)
[download] Downloading video #1 of 1
[youtube] Setting language
[youtube] RYV1l4sPljs: Downloading webpage
[youtube] RYV1l4sPljs: Downloading video info webpage
[youtube] RYV1l4sPljs: Extracting video information
[download] Destination: How to use Hyphen ( - ) correctly - English Grammar _ writing lesson-RYV1l4sPljs.mp4
[download] 100% of 96.80MiB in 24:58
[generic] watch?v=3oQNyQpa_iM: Requesting header

@phihag
Copy link
Contributor

@phihag phihag commented Jun 25, 2014

It looks like something has been garbled in your bug report. Can you show us the command line that led to the problem, or the full output with the --verbose switch? This should allow us to help you with your first problem, the invalid URL protocol error.

About not being able to update: How did you install youtube-dl? If you used a package manager, use your package manager to update it. Alternatively, uninstall your package manager's version of youtube-dl and follow the manual installation instructions:

sudo apt-get remove -y youtube-dl
sudo wget https://yt-dl.org/latest/youtube-dl -O /usr/local/bin/youtube-dl
sudo chmod a+rx /usr/local/bin/youtube-dl
hash -r  # Optional

The third and final output looks fine to me, with the exception of the final line. What did you run there? What did you expect?

@dstftw dstftw closed this Jul 9, 2016
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
3 participants
You can’t perform that action at this time.