[ANN] mp3scrape

A

ara howard

NAME
mp3scrape

SYNOPSIS
mp3scrape uri [options]+

DESCRIPTION
mp3scrape will scour any url for it's mp3 content - the script
mirrors,
never downloading the same file twice. it does not, however, crawl a
website for links, it simple scapes all the songs from a single page.

PARAMETERS
uri (1 -> uri(uri))
the uri to scrape
--pattern=pattern, -p (0 ~> pattern=['"](http://[^\s]+[^/\s]+.mp3)
["'])
specifiy the mp3 pattern
--basedir=basedir, -b (0 ~> basedir=/Users/ahoward/mp3)
specifiy the base download dir - default(/Users/ahoward/mp3)
--destination=destination, -d (0 ~> destination)
specifiy the absolute download dir -
default(/Users/ahoward/mp3/auto-based-on-uri)
--list
only list the mp3s that would be scraped
--threads=threads, -t (0 ~> integer(threads=8))
specify the number of threads to download with in parallel -
default(8)
--noop, -n
show the downloads that would be performed
--help, -h

INSTALL
sudo gem install mp3scrape

URI
http://codeforpeople.com

EXAMPLES
1) get a bunch of xmas tunes
mp3scrape http://fuelfriends.blogspot.com/2007/12/christmas-mixery.html

2) get a bunch of tunes
mp2scrape http://troubledsoulsunite.blogspot.com/




a @ http://codeforpeople.com/
 
M

Michael Fellinger

NAME
mp3scrape

SYNOPSIS
mp3scrape uri [options]+

DESCRIPTION
mp3scrape will scour any url for it's mp3 content - the script mirrors,
never downloading the same file twice. it does not, however, crawl a
website for links, it simple scapes all the songs from a single page.

PARAMETERS
uri (1 -> uri(uri))
the uri to scrape
--pattern=pattern, -p (0 ~> pattern=['"](http://[^\s]+[^/\s]+.mp3)["'])
specifiy the mp3 pattern
--basedir=basedir, -b (0 ~> basedir=/Users/ahoward/mp3)
specifiy the base download dir - default(/Users/ahoward/mp3)
--destination=destination, -d (0 ~> destination)
specifiy the absolute download dir -
default(/Users/ahoward/mp3/auto-based-on-uri)
--list
only list the mp3s that would be scraped
--threads=threads, -t (0 ~> integer(threads=8))
specify the number of threads to download with in parallel -
default(8)
--noop, -n
show the downloads that would be performed
--help, -h

INSTALL
sudo gem install mp3scrape

URI
http://codeforpeople.com

EXAMPLES
1) get a bunch of xmas tunes
mp3scrape http://fuelfriends.blogspot.com/2007/12/christmas-mixery.html

2) get a bunch of tunes
mp2scrape http://troubledsoulsunite.blogspot.com/

Nice, i've been doing similar stuff with a script of mine:
http://p.ramaze.net/1818

That i would use like:
curl -s http://fuelfriends.blogspot.com/2007/12/christmas-mixery.html
| uris | egrep '\.mp3$' | xargs wget

But thanks, I'll check this one out :)
^ manveru
 
J

Joel VanderWerf

ara said:
mp3scrape will scour any url for it's mp3 content - the script mirrors,
never downloading the same file twice. it does not, however, crawl a
website for links, it simple scapes all the songs from a single page.

Might be nice as a firefox plugin, too.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

[ANN] forkoff-0.0.1 0
[ANN] forkoff-0.0.4 0
ANN main-4.4.0 0
[ANN] forkoff-1.1.0 0
[ANN] forkoff - parallel processing for ruby enumerables 20
[ANN] setuidruby-1.0.0 0
[ANN] main-3.0.1 0
ANN map-1.4.0 0

Members online

No members online now.

Forum statistics

Threads
474,202
Messages
2,571,057
Members
47,661
Latest member
FloridaHan

Latest Threads

Top