Thoughts on Rails

Riding the Train of Thought

Software: Torrent Finder

leave a comment »


torrentfinder.swf Download this file

Sometime in the near future, I want to queue torrents for downloading via email/chat/sms, which are picked up by my workstation for downloading. The whole setup will be fairly complex, so I’m working on smaller components – first being able to get a torrent file form given keywords.

First thing to do is search if someone else has solved your problem, I found this: http://danfolkes.com/2008/02/06/torrent-search/ . It gave me direction and ideas to begin writing code.

My current script looks nothing like it though, and can be used as a library to get list of torrents, their seeders, size and comment count. Do note that this will break when the site changes design.

If run as a standalone, tfind.py simply takes in command line arguments, performs a search, gets the torrent url, downloads the file in current directory and exits. No fuss, no questions.

You can grab app/source code here: https://bitbucket.org/hiway/torrentfinder/

I’ll leave you with a quote: “You are what you don’t automate.”

Advertisements

Written by hiway

April 7, 2011 at 11:15 am

Posted in python, software

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: