Bootie Top Ten Scraper

firebus's picture

https://gist.github.com/2828075

Every month (or so) Bootie releases a top ten compilation of decent recent mashups.

The comp consists of a list of links to mp3s, or a zip of the whole set.

Each link is to the original artist's file - so there are no naming conventions, and tags are all over the place. I've been thinking about writing a script to automate the download and tagging process for awhile.

I'm surprised that I wrote this script in PHP. I've had a couple of other uses for DomDocument lately, so I started there, and then ended up finishing it.

The PECL id3 module is ancient and doesn't support v2 tags. getId3() is more current. There's no documentation, but the examples are adequate.


Powered by Drupal - Design by Artinet - Amazon Affiliate