Wezzul.com
mobimg mobimg mobimg mobimg mobimg

Posts tagged with: perl

Lin_ger IRC Bot 0.1.0

Lin_ger is an IRC bot I wrote using the Net::IRC libraries in perl. Lin_ger can do the following:

- Play Hangman
- Give the weather
- Log all channel chat
- Op users
- Message information from http://4q.cc
- Display a random quote from the database.

My README for Lin_ger is pretty sparsely populated, I expect to have a better one up in the near future. However, I am putting the bot up for download.

Download Lin_ger IRC Bot 0.1.0 Here

Update:
Download Lin_ger IRC Bot 0.1.1 Here

Flickr Rippr 1.0.1 Maintenance Release

Fixed the rippr to count pages in accordance with the total # of images displayed on the front photos page of a user. This is done by taking that number, and dividing by the median # of images per page, 18. This provides a within-a-page accuracy. This was necessary because of flickr's updates.

Download Flickr Rippr 1.0.1 here

Flick Rippr Image Downloader

Since learning some perl, I've realized it has great applications for automatically ripping data from webpages. So I wrote something for flickr to take a users album, rip all the pages out of it and then pull all the full sized images from those pages.

In the archive, there are three files. The perl script, rippr.pl, a users.txt file, and a records.txt file. All that needs to be done is populating the users.txt file with user directories in the format http://www.flickr.com/photos/username. You will also need to create a directory, images, as a subdirectory of the directory where the perl script resides. Then, while running the script, it will create a new directory in images for each user, and pop the images in there, naming them incrementally with numbers so as not to have duplicate image names.

It has worked pretty well for me so far, and it's relatively fast as well. Get it here.

Edit: I upped a new copy that pulls down the original images instead of the sized ones flickr displays by default.
All Posts