Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am unable to access YouTube on HTTP. But I can access the same on an HTTPS.

When I executed the command wget it returned the following response:

--2013-03-04 13:09:28--
Resolving (,,, ...
Connecting to (||:443... connected.
Unable to establish SSL connection.

Please guide me on how to download the YouTube videos on HTTPS.

share|improve this question
This looks like a duplicate of, but because of the https part it might not be one. – don.joey Mar 4 '13 at 8:52

Just don't use wget.

sudo apt-get install youtube-dl

Works on my system.

share|improve this answer
does it works with HTTPS too?? – vipin8169 Mar 4 '13 at 8:52
i tried it, but it gave the error:- [youtube] Setting language [youtube] StJLvbPIvTw: Downloading video webpage [youtube] StJLvbPIvTw: Downloading video info webpage ERROR: "token" parameter not in video info for unknown reason – vipin8169 Mar 4 '13 at 8:54
did you copy-paste my commands? it works perfectly here. Try it for some other youtubes. Here is the source code:… – don.joey Mar 4 '13 at 8:58
@vipin8169 You probably need a more recent version of youtube-dl. – qbi Mar 4 '13 at 9:02
@vipin8169 No, the command won't get the latest version as the version the Ubuntu repositories is quite old (quite old considering how often Youtube API changes, affecting all these downloader programs). I edited the instructions on how to get the latest version (as of writing this comment, edit not yet approved). I don't know if there are any https related fixes in the newer version(s), but you should try anyway. – pileofrocks Mar 4 '13 at 18:13
up vote 2 down vote accepted

Found from some other Question:- Use the URL and type in Press Download button and you can download it in any format :)) No matter whether you access it via HTTPS or HTTP

you can download the chrome app also from here>>

enter image description here

share|improve this answer

you can't use wget to download video from youtube because the adress is just the webpage of the video, not the video file.

youtube-dl works with https (actual version).

i don't know if you have fixed your problem with youtube-dl, but if you followed the installation procedure mentioned on the website (and installed it in /usr/local/bin), you should specify the output folder, like this :

cd /usr/local/bin
sudo youtube-dl -o '/home/username/Music/test.flv'

by default youtube-dl download the best quality

another alternative is clipgrab.

it comes with a nice GUI :)

share|improve this answer

Why don't you use the Video Download helper addon on firefox. Works great for me

Here's the link :

and it works with HTTPS.

share|improve this answer
I recommend editing this to provide a link also, and if possible, information about how to install/use it. Also, have you verified this works over HTTPS? – Eliah Kagan Mar 4 '13 at 9:25
i am unable to open https in firefox, only chrome could open it. don't know what's the issue – vipin8169 Mar 5 '13 at 7:35
are you using a proxy server or vpn? make sure firefox is correctly configured – Anam Ahmed Mar 5 '13 at 8:03

According to your question and your location it might be that you are behind some restrictive network settings. So best is to enable HTTPS by default. You can install the plugin HTTPS Everywhere for Firefox or Google Chrome. This plugin tries to access YouTube as well as other pages per HTTPS by default. Furthermore the Firefox addons page has several plugins which allow you to download videos. For instance Video DownloadHelper works on several video pages. With both plugins combined you can download videos over HTTPS.

If you need a plugin for Chromium, have a look at this answer and also other answers for this question.

share|improve this answer
I need a Chrome app, in firefox it's not working – vipin8169 Mar 4 '13 at 9:16

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.