• About
scot hacker's scripts and utils

Scraping MP3s with Python

February 2, 2011 4:55 pm / Leave a Comment / shacker

A quick Python scraper script which takes a page URL as an argument, then locates all MP3 links on that page and downloads them to the current directory. Requires BeautifulSoup and Mechanize.

To run:

cd somefolder
python /path/to/scrapemp3s.py http://example.com/music.php

Download scrapemp3s.py

Posted in: Python

Leave a Reply

Your email address will not be published. Required fields are marked *

Post Navigation

← Previous Post
Next Post →

Categories

  • AMP
  • BeOS
  • cPanel
  • Django
  • Geo
  • Mac
  • Movable Type
  • Music
  • Performance
  • Python
  • QuickTime Streaming Server
  • Spam
  • Twitter
  • WordPress
© Copyright 2025 - scot hacker's scripts and utils
Infinity Theme by DesignCoral / WordPress