sub searchURL { local( $_ ) = @_; if ( /http:\/\/[^\/]*google\..*[\?\&]as_q=([^ \?\&]+)/goi ) { return( "google" , $1 ); } if ( /http:\/\/[^\/]*google\..*[\?\&]?q=cache:[^:+]+:[^+]*\+([^ \?\&]+)/goi ) { return( "googleCache" , $1 ); } if ( /http:\/\/[^\/]*google\..*[\?\&]?q=([^ \?\&]+)/goi ) { return( "google" , $1 ); } if ( /http:\/\/216.239.[0-9]+.100\/.*[\?\&]as_q=([^ \?\&]+)/goi ) { return( "google" , $1 ); } if ( /http:\/\/216.239.[0-9]+.100\/.*[\?\&]?q=cache:[^:+]+:[^+]*\+([^ \?\&]+)/goi ) { return( "googleCache" , $1 ); } if ( /http:\/\/216.239.[0-9]+.100\/.*[\?\&]?q=([^ \?\&]+)/goi ) { return( "google" , $1 ); } if ( /http:\/\/images.google\..*[\?\&]imgurl=([^ \?\&]+)/goi ) { return( "googleImage" , $1 ); } if ( /http:\/\/[^\/]*yahoo\..*[\?\&]p=([^ \?\&]+)/goi ) { return( "yahoo" , $1 ); } if ( /http:\/\/[^\/]*altavista.com\/.*[\?\&]q=([^ \?\&]+)/goi ) { return( "altavista" , $1 ); } if ( /http:\/\/[^\/]*eureka.com\/.*[\?\&]q=([^ \?\&]+)/goi ) { return( "eureka" , $1 ); } if ( /http:\/\/[^\/]*lycos\..*[\?\&]query=([^ \?\&]+)/goi ) { return( "lycos" , $1 ); } if ( /http:\/\/[^\/]*lycos\..*[\?\&]q=([^ \?\&]+)/goi ) { return( "lycos" , $1 ); } if ( /http:\/\/[^\/]*hotbot.com\/.*[\?\&]MT=([^ \?\&]+)/goi ) { return( "hotbot" , $1 ); } if ( /http:\/\/[^\/]*msn\.[^\/]*\/.*[\?\&]MT=([^ \?\&]+)/goi ) { return( "MSN" , $1 ); } if ( /http:\/\/[^\/]*msn\.[^\/]*\/.*[\?\&]q=([^ \?\&]+)/goi ) { return( "MSN" , $1 ); } if ( /http:\/\/[^\/]*infoseek.*[\?\&]qt=([^ \?\&]+)/goi ) { return( "infoseek" , $1 ); } if ( /http:\/\/[^\/]*webcrawler.*[\?\&]searchText=([^ \?\&]+)/goi ) { return( "webcrawler" , $1 ); } if ( /http:\/\/[^\/]*excite.*[\?\&]search=([^ \?\&]+)/goi ) { return( "excite" , $1 ); } if ( /http:\/\/[^\/]*excite.*[\?\&]s=([^ \?\&]+)/goi ) { return( "excite" , $1 ); } if ( /http:\/\/[^\/]*netscape.com\/.*[\?\&]search=([^ \?\&]+)/goi ) { return( "netscape" , $1 ); } if ( /http:\/\/[^\/]*mamma.com\/.*[\?\&]query=([^ \?\&]+)/goi ) { return( "mamma" , $1 ); } if ( /http:\/\/[^\/]*alltheweb.com\/.*[\?\&]query=([^ \?\&]+)/goi ) { return( "alltheweb" , $1 ); } if ( /http:\/\/[^\/]*northernlight.com\/.*[\?\&]qr=([^ \?\&]+)/goi ) { return( "northernlight" , $1 ); } if ( /http:\/\/[^\/]*search.navi.ocn.ne.jp\/.*[\?\&]kw=([^ \?\&]+)/goi ) { return( "OCN" , $1 ); } if ( /http:\/\/[^\/]*excite.*[\?\&]search=([^ \?\&]+)/goi ) { return( "excite" , $1 ); } if ( /http:\/\/[^\/]*\.fresheye\..*[\?\&]kw=([^ \?\&]+)/goi ) { return( "FreshEye" , $1 ); } if ( /http:\/\/[^\/]*kensaku.org\/.*[\?\&]key=([^ \?\&]+)/goi ) { return( "kensaku" , $1 ); } if ( /http:\/\/[^\/]*isize.*[\?\&]QueryString=([^ \?\&]+)/goi ) { return( "isize" , $1 ); } if ( /http:\/\/[^\/]*search.biglobe.*[\?\&]q=([^ \?\&]+)/goi ) { return( "BIGLOBE" , $1 ); } if ( /http:\/\/[^\/]*search.biglobe.*[\?\&]key=([^ \?\&]+)/goi ) { return( "BIGLOBE" , $1 ); } if ( /http:\/\/[^\/]*\.goo\..*[\?\&]MT=([^ \?\&]+)/goi ) { return( "goo" , $1 ); } if ( /http:\/\/odin\..*[\?\&]key=([^ \?\&]+)/goi ) { return( "ODIN" , $1 ); } if ( /http:\/\/[^\/]*\.alltheweb\..*[\?\&]query=([^ \?\&]+)/goi ) { return( "all the web" , $1 ); } if ( /http:\/\/[^\/]*profusion.com\/.*[\?\&]queryterm=([^ \?\&]+)/goi ) { return( "profusion" , $1 ); } if ( /http:\/\/[^\/]*search.cab.infoweb\..*[\?\&]q=([^ \?\&]+)/goi ) { return( "infoweb" , $1 ); } if ( /http:\/\/search.iwon.com\/.*[\?\&]searchfor=([^ \?\&]+)/goi ) { return( "iwon" , $1 ); } if ( /http:\/\/[^\/]*\.nifty.com\/cgi-bin\/search.cgi.*[\?\&]Text=([^ \?\&]+)/goi ) { return( "Nifty" , $1 ); } if ( /http:\/\/kensaku.jp\/search.cgi.*[\?\&]key=([^ \?\&]+)/goi ) { return( "kensaku" , $1 ); } if ( /http:\/\/aolsearch.*\/.*[\?\&]query=([^ \?\&]+)/goi ) { return( "AOL" , $1 ); } if ( /http:\/\/[^\/]*\.aol\.[^\/]*\/.*[\?\&]query=([^ \?\&]+)/goi ) { return( "AOL" , $1 ); } if ( /http:\/\/[^\/]*naver.co.jp\/.*[\?\&]query=([^ \?\&]+)/goi ) { return( "NAVER" , $1 ); } if ( /http:\/\/[^\/]*\.overture.com\/.*[\?\&]Keywords=([^ \?\&]+)/goi ) { return( "overture" , $1 ); } if ( /http:\/\/search.hi-ho\.[^\/]*\/.*[\?\&]query=([^ \?\&]+)/goi ) { return( "HI-HO" , $1 ); } if ( /http:\/\/[^\/]*\.infofreako\..*[\?\&]string=([^ \?\&]+)/goi ) { return( "info freako" , $1 ); } if ( /http:\/\/[^\/]*\.engine54\..*[\?\&]q=([^ \?\&]+)/goi ) { return( "engine54" , $1 ); } if ( /http:\/\/[^\/]*\.odn\.ne\.jp\/.*[\?\&]QueryString=([^ \?\&]+)/goi ) { return( "ODN" , $1 ); } if ( /http:\/\/[^\/]*\.t-online\..*[\?\&]q=([^ \?\&]+)/goi ) { return( "T-Online" , $1 ); } if ( /http:\/\/[^\/]*\.freeserve\.com\/.*[\?\&]q=([^ \?\&]+)/goi ) { return( "freeserve" , $1 ); } if ( /http:\/\/[^\/]*\.tocc\.co\.jp\/.*[\?\&]QRY=([^ \?\&]+)/goi ) { return( "TOCC" , $1 ); } if ( /http:\/\/([^\/]*\.)?overture\.com\/.*[\?\&]Keywords=([^ \?\&]+)/goi ) { return( "overture" , $1 ); } if ( /http:\/\/[^\/]*\.dogpile\.com\/.*[\?\&]q=([^ \?\&]+)/goi ) { return( "dogpile" , $1 ); } if ( /http:\/\/[^\/]*\.kobe-u\.ac\.jp\/.*[\?\&]q=([^ \?\&]+)/goi ) { return( "Metcha" , $1 ); } if ( /http:\/\/[^\/]*\.bonzi\.com\/.*[\?\&]Keywords=([^ \?\&]+)/goi ) { return( "Bonzi" , $1 ); } if ( /http:\/\/[^\/]*\/info.anstry\/.*[\?\&]qkw=([^ \?\&]+)/goi ) { return( "Ancestry" , $1 ); } if ( /http:\/\/[^\/]*\.icq\.com\/.*[\?\&]query=([^ \?\&]+)/goi ) { return( "ICQ" , $1 ); } return( 0 ); } 1;