Wget not doing what I expect.

Joshua Lutes joshua at lutes.me
Sun Feb 15 09:19:57 MST 2009


I am trying to download all of the mp3 files from the general
conference sessions that the church has on its website.  I think the
following command should do it, but it doesn't.

wget -r -l1 -A.mp3 -nd
http://lds.org/conference/sessions/display/0,5239,23-1-947,00.html

So, recurse down one level, only save files that are .mp3, don't copy
the directory structure and start at the most recent general
conference page.  What do I not know that is causing the following
output to come?

=========================================
jlutes at Franklin:~/monson$ wget -r -l1 -A.mp3 -nd -erobots=off
http://lds.org/conference/sessions/display/0,5239,23-1-947,00.html
--2009-02-15 09:19:18--
http://lds.org/conference/sessions/display/0,5239,23-1-947,00.html
Resolving lds.org... 216.49.176.33
Connecting to lds.org|216.49.176.33|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `0,5239,23-1-947,00.html'

    [ <=>                                   ] 144,493      863K/s   in 0.2s

2009-02-15 09:19:18 (863 KB/s) - `0,5239,23-1-947,00.html' saved [144493]

Removing 0,5239,23-1-947,00.html since it should be rejected.

FINISHED --2009-02-15 09:19:18--
Downloaded: 1 files, 141K in 0.2s (863 KB/s)
=========================================

Thanks,

Joshua



More information about the PLUG mailing list