title: Script that Auto-Downloads Files From a Specified URL
body: <p>I am trying to write a script that searches for specific MIME types on a website containing download links (.mp3, .avi, .mpeg) and want to be able to crawl that site and then download any files stored there. The pseudocode for this script:</p>
  
  <pre><code>Input URL
  function search ()
  {
      Search URL for matching MIME types and download to dir on my pc
  }
  </code></pre>
  
  <p>Okay, that was really bad, but I am still learning. Would a Perl script be best for this?</p>