Automatic Bittorrent Downloads
Status:
Working, but still under development

Currently I have the following php scripts that I use to manage my bittorrent downloads:

  • lib/HTMLParser.php - A simple HTML parser looking for "a href" entries.
  • lib/RSSParser.php - A simple XML/RSS parser looking for "enclosure" or "direct" tags (latter is used by Animesuki)
  • lib/bt.php - A set of libraries for checking the library of bittorent files to ensure we don't redownload existing videos
  • lib/config.php - A quick structure to management the bittorrent feeds (RSS, XML and HTML) and the series that are under it.
  • control.php
    • -a - Does the -f and -t in one step
    • -f - Fetches down XML, RSS or HTML files (was fetchURL.php)
    • -t - Download .torrent files from feeds (was fetchTorrents.php)
    • -x - Build and upload XML for "Anime Series" (as status.php)
As I clean up and complete the above scripts I'll post them here. Granted, these scripts just fetch down the .torrent file. I use a program called "Transmission" that can look in a directory, pick up the file and start downloading.

To Do List
  • Find a better HTML/RSS/XML parser for PHP 4.0 (Would be nice if 10.5 moved to 5.x PHP).
  • Migrate "config.php" to a set of XML files.
  • Provide a web interface to manage video podcasts.

Click to return to main page.

If You are seeing this, it is broken. =(