Home > Archive > PERL Modules > October 2005 > newbie extracting same text from earch results
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
newbie extracting same text from earch results
|
|
| Nospam 2005-10-07, 6:56 pm |
| I am wondering which sample scripts may be able to do the following:
I have search result in google, in this search result I would like to be
able to extract certain text that are identified with a unique start and end
character/s into a text file, from each of the search result in google,
would anyone know which sample script could do this, or give me pointers
will be very much appreciated.
| |
| John Bokma 2005-10-08, 6:55 pm |
| "Nospam" <nospam@home.com> wrote:
> I am wondering which sample scripts may be able to do the following:
>
> I have search result in google, in this search result I would like to
> be able to extract certain text that are identified with a unique
> start and end character/s into a text file, from each of the search
> result in google, would anyone know which sample script could do this,
> or give me pointers will be very much appreciated.
http://johnbokma.com/perl/
The part on "Google API". Via the Google API you can request the snippet
Google shows, and do the extracting thing. Note that the snippet can
contain <b>...</b>.
http://johnbokma.com/perl/google-calculator.html shows how to get the page
without using the API but I do recommend using the API.
--
John Small Perl scripts: http://johnbokma.com/perl/
Perl programmer available: http://castleamber.com/
I ploink googlegroups.com :-)
|
|
|
|
|