LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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, 08:00 AM   #1
fakie_flip
Senior Member
 
Registered: Feb 2005
Location: San Antonio, Texas
Distribution: Gentoo Hardened using OpenRC not Systemd
Posts: 1,495

Rep: Reputation: 85
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, 10: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-14-2006, 11:38 PM   #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, 05:02 AM   #4
fakie_flip
Senior Member
 
Registered: Feb 2005
Location: San Antonio, Texas
Distribution: Gentoo Hardened using OpenRC not Systemd
Posts: 1,495

Original Poster
Rep: Reputation: 85
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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:10 PM.

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
Open Source Consulting | Domain Registration