Register
It is currently Thu Feb 22, 2018 10:34 am

youtube.com video ripper


All times are UTC


Post new topic Reply to topic  [ 21 posts ]  Go to page Previous  1, 2
Author Message
 PostPosted: Sun Aug 30, 2009 2:31 am   
. . . .
User avatar

Joined: Mon Apr 21, 2003 3:56 pm
Posts: 8284
What happens when you drop to a bash prompt and type this:
Code:
wget (url goes here)


I used to write DOS batch programs, and had to troubleshoot those once in a great 'every stinking time I tried'. I learned that I needed to break down the problem batch files into segments. You might want to adjust the script to spit out the URL before it starts to download it, just in case the process of assembling the chunks is going wrong. The trouble with doing things silently is that users get no information that way.


Top
 Profile  
 PostPosted: Mon Aug 31, 2009 3:55 am   
. . . .
User avatar

Joined: Mon Apr 21, 2003 3:56 pm
Posts: 8284
So...
I tried crouses script and it turns out that I ultimately get 404's from YouTube and nothing gets passed to ffmpeg.

Ultimately, I cheated: I already use the Firefox addon called "Flash Block".
I went to the particular YT site I wanted to d/l from.
Because Flash Block blocks flash and that includes blocking flash video, it places an icon as a place holder which we can click on, just in case not seeing that flash caused a problem.
I am able to right click the Flash Block place holder icon to get a right click menu that allows me to 'copy flash location'.

That is a URL which is not offered to the common user.

I then went to 'Keep Vid' which crouse also helpfully posted, I entered that copied URL, and (eventually) downloaded the .flv file.

Running an ffmpeg format conversion isn't necessary for me, since VLC can play .flv formats directly.

_________________
eMachines T5246 AMD 64 X2 w/Antix 16.2 for AMD64
EeePC 900A w/ Antix 16.2 32 bit
Dell Inspiron 1545 w/ Fedora something recent for 32 bit


Top
 Profile  
 PostPosted: Mon Aug 31, 2009 12:43 pm   
User avatar
I don't have Flash Block installed. This is happening in both 2008.1 and Cooker, and started a couple weeks to a month ago, after the script was working from the day I started using it.

My brother got down to the part that you mentioned mmmna - we tried it with no go. There also appears since April 9, after we both ran a search, that Youtube has now put up some kind of blocker to downloading the videos there. Their YouTube Video Grabber isn't there any more at the page. If you go here (which is in that script; the baseurl line), you get a blank page. The youtube downloader addon for Firefox wasn't working for me either. I've uninstalled it since (the less crap I have in Firefox, the happier I am... no wait. The less Firefox I have the happier I am).


Top
  
 PostPosted: Tue Sep 01, 2009 3:09 am   
. . . .
User avatar

Joined: Mon Apr 21, 2003 3:56 pm
Posts: 8284
Well, I don't troubleshoot scripts very often, so the method I posted is just my way of doing things. It worked for my needs.


Top
 Profile  
 PostPosted: Tue Sep 01, 2009 2:40 pm   
Advanced Member
User avatar

Joined: Thu Mar 01, 2007 3:59 am
Posts: 741
Location: Texas
Youtube has changed a few things over time. So naturally the script will break. Personally I've been told to use ;) youtube-dl and youtube-mp3 from the AUR. The youtube-mp3 script is a bash script, and youtube-dl is a python script. You should be able to download the tarball from the aur, and place the scripts in /usr/bin/ and get right on back to what you weren't doing ;) :P

Perhaps a bit of a pain, but not really anymore effort that what you're doing now :P

youtube-dl: http://archlinux.org/packages/search/?q=youtube-dl # requires ffmpeg
youtube-mp3: http://aur.archlinux.org/packages.php?ID=20784

_________________
Archlinux, Debian, FreeBSD


Top
 Profile WWW  
 PostPosted: Mon Sep 07, 2009 6:51 pm   
User avatar
Will they work in Mandriva?

ffmpeg is always installed here.


Top
  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 21 posts ]  Go to page Previous  1, 2

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron


Powered by phpBB © 2012 phpBB Group
© 2003 - 2012 USA LINUX USERS GROUP