wget help

  • Engr
  • Beginner
  • Beginner
  • Engr
  • Posts: 36

Post 3+ Months Ago

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
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • meman
  • Web Master
  • Web Master
  • User avatar
  • Posts: 3432
  • Loc: London Town , Apples and pears and all that crap

Post 3+ Months Ago

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.
  • Daemonguy
  • Moderator
  • Web Master
  • User avatar
  • Posts: 2700
  • Loc: Somewhere outside the box in Sarasota, FL.

Post 3+ Months Ago

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?
  • Engr
  • Beginner
  • Beginner
  • Engr
  • Posts: 36

Post 3+ Months Ago

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

Post 3+ Months Ago

I'm starting to get a bad feeling about this line of questioning.
  • Engr
  • Beginner
  • Beginner
  • Engr
  • Posts: 36

Post 3+ Months Ago

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
  • Posts: 2521
  • Loc: /usr/src/MI

Post 3+ Months Ago

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
  • molgra
  • Posts: 3

Post 3+ Months Ago

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
  • litvin
  • Posts: 3

Post 3+ Months Ago

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
  • sullivanmark
  • Posts: 1

Post 3+ Months Ago

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
  • vijayan
  • Posts: 52
  • Loc: india

Post 3+ Months Ago

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
  • Engr
  • Posts: 36

Post 3+ Months Ago

thanks sullivanmark
its much of a help

Post Information

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

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.