Results 1 to 5 of 5
Hi everyone
I installed youtube downloader and when I type in terminal:
youtube-dl and here the link of the video
I get this:
ERROR: unable to download video (format may ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 04-22-2011 #1Just Joined!
- Join Date
- Apr 2011
- Posts
- 4
YouTube downloader problem
Hi everyone

I installed youtube downloader and when I type in terminal:
youtube-dl and here the link of the video
I get this:
ERROR: unable to download video (format may not be available)
Who knows how to fix this?
- 04-22-2011 #2Linux Guru
- Join Date
- Nov 2007
- Posts
- 1,722
Google?
[HOWTO] Modify youtube-dl to make it bandwidth friendly by adding option to download lowest quality video | The _khAttAm_ blog
So I assume the default format being requested is NOT AVAILABLE for that video. Try another format or another video.That will download video with format code 34 if available. 34 is 360p flv format. You will need to know the formats to be able to use this options and all this information is available in Youtube Wikipedia Article. If the format you requested is not available, it will print the message:
ERROR: unable to download video (format may not be available)
- 04-22-2011 #3
I have good luck using cclive in AntiX.
Linux Registered User # 475019
Lead,Follow, or get the heck out of the way
AntiX,Puppy,Windows 7=(cuz of scooters)
Free Linux Books
Free R Books
- 04-22-2011 #4
You could also try a website like KeepVid, which will give you a list of all of the formats they have. You can't do it using the CLI, but still... :P
- 04-22-2011 #5Just Joined!
- Join Date
- Apr 2011
- Posts
- 4
I tryed to edit gksu gedit /usr/bin/youtube-dl ,lines 938,939,940,941,942,943.
When I try to download the video,I get this error:
File "/usr/bin/youtube-dl", line 909
video_url_list = [(existing_formats[0], get_video_template % existing_formats[0])] # Best quality
^
IndentationError: expected an indented block
I edited the lines as was writen on the tutorial HROAdmin26 gaved me.


Reply With Quote
