wget help

  • Engr
  • Beginner
  • Beginner
  • No Avatar
  • Joined: Oct 12, 2005
  • Posts: 36
  • Status: Offline

Post January 20th, 2006, 2:04 am

can wget be used to download specific files from a web site?

for example:

wget -r http://www.someweb.com

can it download for example jpg files ONLY or MP3 files ONLY without downloading the html files?

thanks so much,
regards IAN
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post January 20th, 2006, 2:04 am

  • meman
  • Web Master
  • Web Master
  • User avatar
  • Joined: Aug 03, 2004
  • Posts: 3432
  • Loc: London Town , Apples and pears and all that crap
  • Status: Offline

Post January 20th, 2006, 4:07 am

Wget have a reject option to NOT download certain files, like this

wget -m -L --reject=exe http://site.com/directory

So maybe you could tell it to reject all file extentions apart from files with image extentions.
(like --reject=html --reject=exe)

I have never done this so it's only an idea, i don't have a clue if it will work or not.
GodBeGone - Atheist Blog
  • Daemonguy
  • Moderator
  • Web Master
  • User avatar
  • Joined: Jan 23, 2004
  • Posts: 2673
  • Loc: Somewhere outside the box in Sarasota, FL.
  • Status: Offline

Post January 20th, 2006, 6:19 am

If you know the dir in which they reside;

Code: [ Select ]

wget -r -A jpg http://www.someurl.com/some_dir/
  1. wget -r -A jpg http://www.someurl.com/some_dir/


Will provide you with all the jpg files.

I have to ask though, this isn't for some nefarious purpose, is it?
"It's always a long day, 86,400 won't fit into a short."
  • Engr
  • Beginner
  • Beginner
  • No Avatar
  • Joined: Oct 12, 2005
  • Posts: 36
  • Status: Offline

Post January 22nd, 2006, 11:09 pm

is there a way to use wget to download on a rapidshare website
see http://rapidshare.de ?
thanks
  • Daemonguy
  • Moderator
  • Web Master
  • User avatar
  • Joined: Jan 23, 2004
  • Posts: 2673
  • Loc: Somewhere outside the box in Sarasota, FL.
  • Status: Offline

Post January 23rd, 2006, 5:15 am

I'm starting to get a bad feeling about this line of questioning.
"It's always a long day, 86,400 won't fit into a short."
  • Engr
  • Beginner
  • Beginner
  • No Avatar
  • Joined: Oct 12, 2005
  • Posts: 36
  • Status: Offline

Post January 23rd, 2006, 8:39 pm

i want to use wget to download files from rapidshare so that it can run on shell and it wont be bothering me when i am working on a 32bit mode.

thanks
  • AnarchY SI
  • Web Master
  • Web Master
  • User avatar
  • Joined: Oct 30, 2004
  • Posts: 2521
  • Loc: /usr/src/MI
  • Status: Offline

Post January 24th, 2006, 12:15 am

you could probably put it in a shell script and have the shell script run every whatever. but you'd have to know before hand what the url / exactly location is before you could set it up.
is this something you're hosting yourself or...?
  • molgra
  • Born
  • Born
  • No Avatar
  • Joined: Feb 14, 2006
  • Posts: 3
  • Status: Offline

Post February 14th, 2006, 5:25 am

can u use wget to download the name of files after a certain date

I only want a list of new web page in the last week let us say


wget newbie
  • litvin
  • Born
  • Born
  • No Avatar
  • Joined: Jul 25, 2006
  • Posts: 3
  • Status: Offline

Post August 2nd, 2006, 4:17 am

there are some links that the wget doesn't know how to open it depends how the href is written, somebody know a patch file or different download manager that knows better hot to manage href= links?
  • sullivanmark
  • Born
  • Born
  • No Avatar
  • Joined: Dec 28, 2006
  • Posts: 1
  • Status: Offline

Post December 28th, 2006, 8:59 pm

Quote:
is there a way to use wget to download on a rapidshare website

see http://rapidshare.de ?

thanks


I wrote a shell script to do this for rapidshare.com here. Downloading content from Rapidshare.com using wget and bash Hope it helps
  • vijayan
  • Beginner
  • Beginner
  • No Avatar
  • Joined: Jul 31, 2006
  • Posts: 52
  • Loc: india
  • Status: Offline

Post January 1st, 2007, 11:44 pm

Hello Guys,

see you want to download MP3 or jpg file .
you just go to any mp3 site if there is download links is there you go there
and right click & then clink on copy link location.
Go to linux console mode give command "wget -nd (after that with the mouse you right click it wiil paste links ) then enter it will download files.
You want to use mouse in console please start service gpm.

Vijayan
  • Engr
  • Beginner
  • Beginner
  • No Avatar
  • Joined: Oct 12, 2005
  • Posts: 36
  • Status: Offline

Post March 9th, 2007, 9:27 am

thanks sullivanmark
its much of a help

Post Information

  • Total Posts in this topic: 12 posts
  • Users browsing this forum: No registered users and 47 guests
  • 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
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.