LinuxQuestions.org
Visit Jeremy's Blog.
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 01-19-2008, 06:54 PM   #1
JosephS
Member
 
Registered: Jun 2007
Distribution: Debian Jessie, Bunsenlabs
Posts: 586

Rep: Reputation: 38
Want to download mp3s with wget


I've looked at a few web pages including:
http://lifehacker.com/software/downl...get-161202.php
as well as the man pages.

I want to download mp3 files from a website into one directory.

I tried:
bash-3.1$ wget -r -H -nd -N -np -A.mp3 -w20 -U Mozilla --limit-rate=20k -P spiritual-gifts2 -erobots=off http://www.desiringgod.org/ResourceL...iritual_Gifts/


At the above address most of the topics have a Read Listen and Download > Audio link

I'm don't know what I'm doing wrong. How do I navigate around a web page to find the files I want?
All I'm getting is wget downloading the index.html files and then rejecting them.

Also I would like to download the html files into another directory. Is it possible to have the index.html files saved as the name of the file?

Thanks.
 
Old 01-19-2008, 08:42 PM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
All the audio files are in http://www.desiringgod.org/media/audio/ but it looks as though they have configured it so the files can only be accessed via the link you posted which has the download location only accessible if you have java.
 
Old 01-22-2008, 07:11 AM   #3
JosephS
Member
 
Registered: Jun 2007
Distribution: Debian Jessie, Bunsenlabs
Posts: 586

Original Poster
Rep: Reputation: 38
Like to access mp3 files with wget through download link

Like to access files at http://www.desiringgod.org/ResourceL...iritual_Gifts/

Quote:
Originally Posted by XavierP View Post
All the audio files are in [url]http://www.desiringgod.org/media/audio/ but it looks as though they have configured it so the files can only be accessed via the link you posted which has the download location only accessible if you have java.
I can access them if I connect directly to the files:
wget http://www.desiringgod.org/media/1982/19820912.mp3
but I need to do this for each file. There has to be a better way.

Is there a way for wget to go through the download > audio links at http://www.desiringgod.org/ResourceLibrary/TopicIndex/87_Spiritual_Gifts/
 
  


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 and slackware download ivanatora Slackware 4 01-12-2008 05:12 AM
wget Download Oracle Kryptos Linux - Software 1 01-01-2008 12:08 PM
large download with wget -c michapma Linux - Software 4 07-20-2006 05:12 AM
wget wont download ?? paul_mat Linux - Software 1 11-01-2005 12:45 AM
what to do with 5 parts of wget download Bruce Hill Linux - Software 2 09-11-2003 10:47 AM

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

All times are GMT -5. The time now is 08:26 AM.

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