LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 12-07-2008, 11:51 AM   #1
svar
Member
 
Registered: Jul 2003
Posts: 352

Rep: Reputation: 30
youtube video grabber


Any suggestions how to grab a video from say youtube? What software
should one use?
 
Old 12-07-2008, 12:01 PM   #2
lurko
Member
 
Registered: Jun 2006
Location: Ontario, Canada
Distribution: Debian
Posts: 448

Rep: Reputation: 35
youtube-dl. It's a python script and it works great. I use MPlayer to view what I download with it. VLC is likely just as good a candidate.
 
Old 12-07-2008, 12:02 PM   #3
astrogeek
Senior Member
 
Registered: Oct 2008
Distribution: Slackware: 12.1, 13.1, 14.1, 64-14.1, -current, FreeBSD-10
Posts: 1,913

Rep: Reputation: 690Reputation: 690Reputation: 690Reputation: 690Reputation: 690Reputation: 690
Try this

http://www.arrakis.es/~rggi3/youtube-dl/

[EDIT]
You beat me lurko!

But as you said - works great!
[/EDIT]

Last edited by astrogeek; 12-07-2008 at 12:05 PM.
 
Old 12-07-2008, 12:33 PM   #4
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Linux Mint
Posts: 8,504

Rep: Reputation: 884Reputation: 884Reputation: 884Reputation: 884Reputation: 884Reputation: 884Reputation: 884
If you use firefox, install downloadhelper.
 
Old 12-07-2008, 01:14 PM   #5
Brian1
Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 61
I use the Flash Got extension for Firefox.

Brian
 
Old 12-07-2008, 01:21 PM   #6
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534
If you are using Firefox and are lazy, or want to razzle-dazzle friends with your skills :

1. Play the video in Firefox.
2. When the video completes, open your file manager.
3. Open the Firefox disk cache directory.
4. Sort the file list by date.
5. Locate the most recent large file of type "Unknown."
6. Copy that file to another directory.
7. Change the name of the file and add the flv extension.

The process takes about as long as most people need to read this post.
 
Old 12-07-2008, 01:42 PM   #7
rwright
LQ Newbie
 
Registered: Apr 2008
Posts: 14

Rep: Reputation: 0
If you use Fire Fox, try Fast Video Download,an extension, it works for me. Good luck.
 
Old 12-07-2008, 02:05 PM   #8
astrogeek
Senior Member
 
Registered: Oct 2008
Distribution: Slackware: 12.1, 13.1, 14.1, 64-14.1, -current, FreeBSD-10
Posts: 1,913

Rep: Reputation: 690Reputation: 690Reputation: 690Reputation: 690Reputation: 690Reputation: 690
I have wondered about that...

Thanks Woodsman!
Quote:
Originally Posted by Woodsman View Post
3. Open the Firefox disk cache directory.
4. Sort the file list by date.
5. Locate the most recent large file...
I have wondered where such things were cached and how to find them easily... DUH! That should have other applicability as well, and simple - dare I say obvious...
 
Old 12-07-2008, 05:29 PM   #9
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
This works just because Youtube is not a flv stream service, but rather using embedded flv video player. Don't expect this trick will always work.
 
Old 12-07-2008, 05:46 PM   #10
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,268

Rep: Reputation: Disabled
The following code lets you download any youtube video as a .MP4 file:
Quote:
javascript:if%20(document.getElementById('download-youtube-video')==null%20&&%20!!(document.location.href.match(/http:\/\/[a-zA-Z\.]*youtube\.com\/watch/)))%20{var%20yt_mp4_path='http://www.youtube.com/get_video?fmt=18&video_id='+swfArgs['video_id']+'&t='+swfArgs['t'];%20var%20div_embed=document.getElementById('watch-embed-div');if(div_embed){var%20div_download=document.createElement('div');div_download.innerHTML='%3Cbr%2 0/%3E%20%3Cspan%20id=\'download-youtube-video\'%3E%3Ca%20href=\''+yt_mp4_path+'\'%3EDownload%20as%20MP4%3C/a%3E%20'+%20%20((navigator.userAgent.indexOf('Safari')!=-1)?'(control-click%20and%20select%20%3Ci%3EDownload%20linked%20file%20as%3C/i%3E)''(right-click%20and%20select%20%3Ci%3ESave%20'+%20(navigator.appName=='Microsoft%20Internet%20Explorer'?'tar get':'link')%20+'%20as)%3C/i%3E'))+'%3C/span%3E';div_embed.appendChild(div_download);}}void(0);
I have this JavaScript code ready as a bookmark. Whenever I find a video I want to download, I click the bookmark and this creates an additional link below the "example embedded code" in the top right area of the youtube window.
Right-click and save the file as .MP4. Simple!

Eric
 
Old 12-07-2008, 06:17 PM   #11
RageAgainstTheWindows
LQ Newbie
 
Registered: Dec 2008
Location: Finland
Posts: 11

Rep: Reputation: 0
I use keepvid.com (videos downloaded from there will be in FLV format)
 
Old 12-07-2008, 08:24 PM   #12
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,254

Rep: Reputation: 634Reputation: 634Reputation: 634Reputation: 634Reputation: 634Reputation: 634
Quote:
Originally Posted by Alien Bob View Post
The following code lets you download any youtube video as a .MP4 file:


I have this JavaScript code ready as a bookmark. Whenever I find a video I want to download, I click the bookmark and this creates an additional link below the "example embedded code" in the top right area of the youtube window.
Right-click and save the file as .MP4. Simple!

Eric
That's very cool. I use DownloadHelper in Firefox (which really downloads flash videos from any site, even if it's not YouTube or even a popular site), but in Opera I will definitely use this.
 
Old 12-08-2008, 03:25 AM   #13
arubin
Senior Member
 
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 14.1 (multilib)
Posts: 1,209

Rep: Reputation: 55
I generally find them as the most recent file in /tmp/

Last edited by arubin; 12-08-2008 at 07:40 AM.
 
Old 12-08-2008, 07:01 AM   #14
alkos333
Member
 
Registered: Dec 2006
Posts: 271

Rep: Reputation: 31
clive is a very good command-line utility for extracting videos. It's in the SBo repository.
 
Old 12-08-2008, 07:14 AM   #15
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,568

Rep: Reputation: 426Reputation: 426Reputation: 426Reputation: 426Reputation: 426
I used http://tubeleecher.com to grab videos from YouTube and it worked
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Webcam video grabber? goofybritt Linux - Software 1 02-09-2008 10:50 AM
linux video grabber satya3005 Linux - Hardware 2 12-25-2006 04:45 PM
video frame grabber? NetRAVEN5000 Linux - Software 6 05-05-2006 07:17 PM
looking for a board with network and video grabber mohansrini Linux - General 3 03-07-2005 01:46 AM
Which video grabber is supported?? chamanrana Linux - Software 0 08-07-2003 04:47 AM


All times are GMT -5. The time now is 07:22 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 Google+: linuxquestions
Open Source Consulting | Domain Registration