Email address obfuscation in effect -- please
click here to turn it off.
[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
Ok, got a random perl question for someone. We've got the following
command from a script that we're trying to modify (a friend and I) to
make use of an alternate search engine. The below should find the
integer total results from a search engine.
if ($result =~ /found\s+([\d,]+)\D+results/i)
The above parses the results of a web page search through AltaVista.
I'm wanting to change it so it applies to the results from google.com
instead. Anyone suggestions on the proper syntax for a google search?
Altavista displays the following:
AltaVista found 28,720 results
Google displays the following:
Results 1-10 of about 102,000 .
Anyone?
Thanks!
Jason
/--------------------------------------|---------------------------\
| Jason McIntosh | CELL: 573-424-7612 |
| Webmaster, thinker, Programmer, etc. | WORK: 573-884-3865 |
| http://poetshome.com/ | |
|------------------------------------------------------------------|
|"How should I know if it works? That's what beta testers are |
|for. I only coded it." |
|(Attributed to Linus Torvalds, somewhere in a posting) |
\--------------------------------------|---------------------------/
GnuPG Key: http://poetshome.com/pubkey.asc
_______________________________________________
discussion mailing list
EMAIL:PROTECTED
http://mlug.missouri.edu/mailman/listinfo/discussion