[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: wget'ing files with relative paths



Rogelio wrote:
On 11/22/07, *Raj Kiran Grandhi* <grajkiran@gmail.com <mailto:grajkiran@gmail.com>> wrote:

    Rogelio wrote:
     > I'm trying to wget some very specific files off a web page, but
    some of

    How?

Basically, I'd like to run this command: wget (options to grab all the mp3s) http://www.2600.com/offthehook/1988/1088.html e.g. wget -r -l3 -H -t1 -nd -N -np -A .mp3 -erobots=off http://www.2600.com/offthehook/1988/1088.html <http://www.2600.com/offthehook/1988/1088.html> It's not working like it works on other websites (e.g. democracynow.org <http://democracynow.org>), and I suspect it's because when you look through the source code (which I do with "lynx -source"), I see that the mp3 files are ../../path/to/file.mp3

It is not because of the relative links. It is because of the -np flag.
Remove it and try. Also, avoid "-H" and "-e robots=off" unless you really need them.

HTH,


--
Raj Kiran Grandhi



Reply to: