voidfuchsia.com

  • photography
  • code
Home › code

CLShell.pl - A simple perl craigslist search tool

voidfuchsia — Fri, 02/06/2009 - 06:27

Craigslist "shell" - simple perl craigslist search tool.

Requires LWP::UserAgent, XML::RSS, and Getopt::Long (available at cpan.org).

Very useful for job searches, as well as free junk searches, etc. Use the .clshell in your home dir and drop CLshell.pl anywhere you can execute it. Put the index.php file anywhere you serve http from.

Set your SAVEPATH in .clshell and other vars, LOCATION, KEYWORDS, SECTIONS (use the sections from http://LOCATION.craigslist.org/SEC/ where SEC is the section you want to include).

Execute CLshell.pl and it'll drop/update the .inc files in your SAVEPATH, where index.php will display them if they exist (only up to 5 matches so far - unless you either make your keywords so general that they turn up everywhere, or you get REAAALLLLY lucky, you won't find more than that....I suppose you could use a LOT of keywords, though.)

AttachmentSize
clshell.tar.gz2.79 KB
‹ code up Precursor - simple functions/scripts to grab random numbers from Random.org ›
  • Login or register to post comments

Navigation

  • Recent posts

User login

  • Create new account
  • Request new password

  • photography
  • code