I need some help on where to start. I looked at the source code and it looks like may script and CSS, but I am not able to find much in the source to extract.
Any suggestions?
Where do I begin?
Thanks!!!
Google Search, Results Sites Extraction...
Re: Google Search, Results Sites Extraction...
What exactly do you need to extract from the Google serch result?
Your support team.
https://SoftByteLabs.com
https://SoftByteLabs.com
Re: Google Search, Results Sites Extraction...
The "TEXT SITE" name.
Here is an example. I searched for "pallet" the 1st result was
Pallet - Wikipedia, the free encyclopedia
en.wikipedia.org/wiki/PalletCached - Similar
You +1'd this publicly. Undo
A pallet sometimes called a skid, is a flat transport structure that supports goods in a stable fashion while being lifted by a forklift, pallet jack, front loader or other ...
EUR-pallet - Plastic pallet - 463L master pallet - Pallet crafts
"en.wikipedia.org/wiki/Pallet" is what I need.
Thanks!!!
Here is an example. I searched for "pallet" the 1st result was
Pallet - Wikipedia, the free encyclopedia
en.wikipedia.org/wiki/PalletCached - Similar
You +1'd this publicly. Undo
A pallet sometimes called a skid, is a flat transport structure that supports goods in a stable fashion while being lifted by a forklift, pallet jack, front loader or other ...
EUR-pallet - Plastic pallet - 463L master pallet - Pallet crafts
"en.wikipedia.org/wiki/Pallet" is what I need.
Thanks!!!
Re: Google Search, Results Sites Extraction...
ok, so you need the text that's in green then?
Your support team.
https://SoftByteLabs.com
https://SoftByteLabs.com
Re: Google Search, Results Sites Extraction...
en.wikipedia.org/wiki/Pallet
Yes, the text in green.
Thanks!!!
Yes, the text in green.
Thanks!!!
Re: Google Search, Results Sites Extraction...
ok, here is the script. When you run it, the browser window will come up. Do your search and then close the browser to get the result...
Code: Select all
PerlRegEx = Yes;
Output.Clear;
Link = New(URL);
rx = New(RegEx);
Link.Location = BrowseTo('www.google.com');
loop
Link.Get;
rx.Data = Link.Data;
rx.Mask = '<cite>.*?</cite>';
while rx.Match do begin
lnk = rx.Value - '<[^>]*>';
Output(lnk);
end;
rx.Mask = '<a href="([^"]+)"[^>]*><[^>]*><[^>]*><[^>]*>Next';
if not rx.Match then Break;
Link.Location = Link.Fixup(Decode(rx.Value[1]));
end;
Your support team.
https://SoftByteLabs.com
https://SoftByteLabs.com
Re: Google Search, Results Sites Extraction...
Works like a dream.
Thanks for your help!!!
Thanks for your help!!!
Re: Google Search, Results Sites Extraction...
You are welcome
Your support team.
https://SoftByteLabs.com
https://SoftByteLabs.com