LinuxQuestions.org
Visit the LQ Articles and Editorials section
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
 
Search this Thread
Old 08-13-2006, 09:00 AM   #1
fakie_flip
Senior Member
 
Registered: Feb 2005
Location: san antonio, texas
Distribution: Fedora 64 bit RAID0 + LUKS, CentOS (server), Backtrack, Gentoo Hardened
Posts: 1,441

Rep: Reputation: 81
using wget to download all videos from a website


How can I download all videos using wget from www.irongeek.com? I believe the videos are saved in www.irongeek.com/videos/ and they are in the formats SWF (flash) and AVI. I tried.

Code:
wget -r www.irongeek.com/videos/
and I am still waiting for wget to finish downloading. It seems to be downloading a lot, but no videos yet. There is probably a way to tell wget to download the videos only and not all of the web servers contents. Maybe this is right.

Code:
wget -r -A.avi http://www.irongeek.com/videos/
 
Old 08-14-2006, 11:22 PM   #2
AzrielMacKay
Member
 
Registered: Jul 2001
Location: Moody, AL
Distribution: Debian and Kubuntu
Posts: 249

Rep: Reputation: 30
Make sure you use the -np switch (no parent) to make sure it isnt downloading stuff in parent directories. Maybe someone else can give you more of a hint to tell it to only download the certain file types.
 
Old 08-15-2006, 12:38 AM   #3
timrs
Member
 
Registered: Nov 2005
Location: MN, US
Distribution: openSuse 10.2
Posts: 93

Rep: Reputation: 15
Maybe you can use wildcards (*), like
Code:
wget -r www.irongeek.com/videos/*.avi & wget -r www.irongeek.com/videos/*.swf
or maybe
wget -r www.irongeek.com/videos/*.avi www.irongeek.com/videos/*.swf
 
Old 08-16-2006, 06:02 AM   #4
fakie_flip
Senior Member
 
Registered: Feb 2005
Location: san antonio, texas
Distribution: Fedora 64 bit RAID0 + LUKS, CentOS (server), Backtrack, Gentoo Hardened
Posts: 1,441

Original Poster
Rep: Reputation: 81
The only way I have found so far that works to download all the videos with wget is to download everything on the web server. I will just download everything and then delete everything but the videos untill I find something that works better. Thanks for the suggestions.
 
  


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
wget through an authenticated website davee Linux - Networking 2 02-11-2009 05:57 AM
How to download web pages from a website using wget command Fond_of_Opensource Linux - Newbie 5 07-05-2006 10:50 AM
how to download videos from my Camera? medya Linux - Software 5 05-24-2006 04:44 PM
Trouble formulating a correct wget call to download a college website, notes and all. chuckleberry Linux - Software 7 12-28-2005 06:32 PM
wget - retrieving one folder of website davidhayter Linux - Software 4 03-07-2005 09:20 PM


All times are GMT -5. The time now is 07:57 AM.

Main Menu
Advertisement
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