LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 12-27-2010, 10:40 PM   #1
Anisha Kaul
Senior Member
 
Registered: Dec 2008
Location: Gurgaon, India
Distribution: Slackware 13.37, OpenSuse 11.3
Posts: 4,373
Blog Entries: 21

Rep: Reputation: 706Reputation: 706Reputation: 706Reputation: 706Reputation: 706Reputation: 706Reputation: 706
youtube-dl - unable to download video (format may not be available)


I downloaded youtube-dl tarball from this link.
What's wrong here?
Code:
anisha@linux-uitj:~/tarBalls> tar -xf youtube-dl-2010.08.04.tar.bz2
anisha@linux-uitj:~/tarBalls> cd youtube-dl/
anisha@linux-uitj:~/tarBalls/youtube-dl> ls
LATEST_VERSION  youtube-dl
anisha@linux-uitj:~/tarBalls/youtube-dl> ./youtube-dl http://www.youtube.com/watch?v=BfOC_Msb1dI
[youtube] Setting language
[youtube] BfOC_Msb1dI: Downloading video webpage
[youtube] BfOC_Msb1dI: Downloading video info webpage
[youtube] BfOC_Msb1dI: Extracting video information
ERROR: unable to download video (format may not be available)
anisha@linux-uitj:~/tarBalls/youtube-dl> man youtude-dl
No manual entry for youtude-dl
anisha@linux-uitj:~/tarBalls/youtube-dl>
 
Old 12-27-2010, 11:09 PM   #2
TobiSGD
Guru
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Slackware
Posts: 7,566
Blog Entries: 2

Rep: Reputation: 1671Reputation: 1671Reputation: 1671Reputation: 1671Reputation: 1671Reputation: 1671Reputation: 1671Reputation: 1671Reputation: 1671Reputation: 1671Reputation: 1671
Youtube recently changed its APIs, had the same problem with minitube. Maybe it helps to try the version directly from the GIT-repo on that site.
 
2 members found this post helpful.
Old 12-29-2010, 10:37 PM   #3
Anisha Kaul
Senior Member
 
Registered: Dec 2008
Location: Gurgaon, India
Distribution: Slackware 13.37, OpenSuse 11.3
Posts: 4,373
Blog Entries: 21

Original Poster
Rep: Reputation: 706Reputation: 706Reputation: 706Reputation: 706Reputation: 706Reputation: 706Reputation: 706
Thanks for replying and I am sorry for being dumb!
Did you mean this by the git repo: http://rg3.github.com/youtube-dl/download.html
If not then explain, please.
 
Old 12-29-2010, 11:05 PM   #4
TobiSGD
Guru
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Slackware
Posts: 7,566
Blog Entries: 2

Rep: Reputation: 1671Reputation: 1671Reputation: 1671Reputation: 1671Reputation: 1671Reputation: 1671Reputation: 1671Reputation: 1671Reputation: 1671Reputation: 1671Reputation: 1671
Exactly, but no reason to call yourself dumb, I don't even now how to use git.
 
1 members found this post helpful.
Old 12-30-2010, 01:20 AM   #5
Anisha Kaul
Senior Member
 
Registered: Dec 2008
Location: Gurgaon, India
Distribution: Slackware 13.37, OpenSuse 11.3
Posts: 4,373
Blog Entries: 21

Original Poster
Rep: Reputation: 706Reputation: 706Reputation: 706Reputation: 706Reputation: 706Reputation: 706Reputation: 706
Thanks for not throwing bricks at me

I copied the code from this link to a file named downloadVideos.sh, made it executable by "chmod" and ran it like:
Code:
anisha@linux-uitj:~> ./downloadVideos.sh http://www.youtube.com/watch?v=BfOC_Msb1dI
It worked and now that video is sitting in my home dir!
 
Old 04-06-2011, 05:27 AM   #6
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 229Reputation: 229Reputation: 229
OT posts about "Permissions & chmod" are now here: http://www.linuxquestions.org/questi....php?p=4315592
 
Old 04-06-2011, 05:29 AM   #7
Anisha Kaul
Senior Member
 
Registered: Dec 2008
Location: Gurgaon, India
Distribution: Slackware 13.37, OpenSuse 11.3
Posts: 4,373
Blog Entries: 21

Original Poster
Rep: Reputation: 706Reputation: 706Reputation: 706Reputation: 706Reputation: 706Reputation: 706Reputation: 706
Quote:
Originally Posted by archtoad6 View Post
OT posts about "Permissions & chmod" are now here: http://www.linuxquestions.org/questi....php?p=4315592
Ah Well, the post number 5 there? How about creating another thread from that too?
 
Old 04-06-2011, 08:06 AM   #8
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 229Reputation: 229Reputation: 229
I wish I had noticed that before I moved the posts. I don't mod Linux - Newbie so it's now out of my hands -- see Question 3 in my next reply there.

FWIW, veering your own thread in a new direction is nowhere near as bad as hijacking someone else's.

Last edited by archtoad6; 04-06-2011 at 08:08 AM.
 
Old 06-13-2011, 02:38 AM   #9
nishitmukesh
Member
 
Registered: Oct 2010
Posts: 39

Rep: Reputation: 0
Arrow

Hi,
youtube-dl was working fine till date, but now it fails to download some video, i tried downloading this video (http://www.youtube.com/watch?v=OFbCDaPKOFM) but it failed to download, is there any changes needed in the script to download from youtube.
thanks.
 
Old 06-13-2011, 02:48 AM   #10
Anisha Kaul
Senior Member
 
Registered: Dec 2008
Location: Gurgaon, India
Distribution: Slackware 13.37, OpenSuse 11.3
Posts: 4,373
Blog Entries: 21

Original Poster
Rep: Reputation: 706Reputation: 706Reputation: 706Reputation: 706Reputation: 706Reputation: 706Reputation: 706
Have you tried what I said in post 5?
 
Old 06-13-2011, 05:05 AM   #11
nishitmukesh
Member
 
Registered: Oct 2010
Posts: 39

Rep: Reputation: 0
Arrow

@Anisha Kaul,
I tried using post #5 method, but unable to download.
thanks.
 
Old 06-13-2011, 06:18 AM   #12
Anisha Kaul
Senior Member
 
Registered: Dec 2008
Location: Gurgaon, India
Distribution: Slackware 13.37, OpenSuse 11.3
Posts: 4,373
Blog Entries: 21

Original Poster
Rep: Reputation: 706Reputation: 706Reputation: 706Reputation: 706Reputation: 706Reputation: 706Reputation: 706
You are right, it doesn't work for me too:
Code:
[16:14:36 Mon Jun 13] ~  $./download1.sh www.google.com
WARNING: Falling back on generic information extractor.
[generic] www.google.com: Downloading webpage
ERROR: Invalid URL: www.google.com
I even tried the latest GIT repo dated 2011-03-29, no help!

I see to this later this evening, perhaps.
 
Old 06-22-2011, 12:35 AM   #13
Anisha Kaul
Senior Member
 
Registered: Dec 2008
Location: Gurgaon, India
Distribution: Slackware 13.37, OpenSuse 11.3
Posts: 4,373
Blog Entries: 21

Original Poster
Rep: Reputation: 706Reputation: 706Reputation: 706Reputation: 706Reputation: 706Reputation: 706Reputation: 706
Quote:
Originally Posted by nishitmukesh View Post
@Anisha Kaul,
I tried using post #5 method, but unable to download.
thanks.
This IS working for me, in the previous post I was dumb enough to try it with google com.

See the following:
Code:
[11:14:47 Wed Jun 22] ~  $./download.sh http://www.youtube.com/watch?v=BfOC_Msb1dI
[youtube] Setting language
[youtube] BfOC_Msb1dI: Downloading video webpage
[youtube] BfOC_Msb1dI: Downloading video info webpage
[youtube] BfOC_Msb1dI: Extracting video information
[download] Destination: BfOC_Msb1dI.flv
[download]   2.1% of 14.45M at   32.85k/s ETA 07:20^C

ERROR: Interrupted by user
[11:15:11 Wed Jun 22] ~  $./download.sh http://www.google.com
WARNING: Falling back on generic information extractor.
[generic] www.google.com: Downloading webpage
[generic] www.google.com: Extracting information
ERROR: Invalid URL: http://www.google.com
[11:15:22 Wed Jun 22] ~  $
The download.sh script contains the "latest" GIT repo code.
What problems you are facing now? List down the errors here.

Last edited by Anisha Kaul; 06-22-2011 at 12:38 AM.
 
1 members found this post helpful.
Old 06-22-2011, 04:19 AM   #14
nishitmukesh
Member
 
Registered: Oct 2010
Posts: 39

Rep: Reputation: 0
Ya now its working fine, but when i tried before it was not working.
thanks for the help.
 
Old 06-22-2011, 04:20 AM   #15
Anisha Kaul
Senior Member
 
Registered: Dec 2008
Location: Gurgaon, India
Distribution: Slackware 13.37, OpenSuse 11.3
Posts: 4,373
Blog Entries: 21

Original Poster
Rep: Reputation: 706Reputation: 706Reputation: 706Reputation: 706Reputation: 706Reputation: 706Reputation: 706
Perhaps there may have been some problem with the Youtube site, previously?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
record audio from youtube video with EQ to Lossless format? balsam Linux - Software 4 09-27-2010 09:02 AM
How to download YouTube video? MTK358 General 15 08-03-2010 12:07 PM
Best video format for YouTube upload and can Recordmydesktop output that format? linus72 Linux - Software 6 12-21-2009 03:53 PM
how to download a video from youtube abd_bela Debian 3 08-19-2009 07:25 AM
download youtube video CQ1ST Linux - Newbie 7 11-24-2007 03:12 PM


All times are GMT -5. The time now is 10:48 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration