View Single Post
Old 05-24-2002, 05:41 AM  
snarfs
Registered User
 
Join Date: May 2002
Location: Sacramento, CA
Posts: 64
Or you can simply add a few lines into your perl code, such as:

use LWP::Simple;
$html = get("http://bla.com/members/xxx/autosubmit/01.html");

if ("$html" =~ /UNWANTED SHIT/) {
print(" go fuck yourself ");
$ABORT=1;
} else {
print("have a nice day\n");
&add_listing;
}



To expand on this, just place your unwanted functions in a text file, one per line. Read in the file and compare each line with what is in the html.

thats what i do on http://snotbot.com

Last edited by snarfs; 05-24-2002 at 05:43 AM..
snarfs is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote