[Lazarus] searching the net
Graeme Geldenhuys
mailinglists at geldenhuys.co.uk
Fri Feb 12 14:03:41 CET 2016
On 2016-02-12 12:52, Reimar Grabowski wrote:
> Use fpHttpClient and do a standard HTTP request? No browser needed.
Indeed. And the URL syntax for Google would be:
https://www.google.co.uk/search?q=XYZ
Where XYZ is your search term. Then simply parse the resulting page and
extract the info you need.
And here is the syntax for DuckDuckGo:
HTML5 + Javascript version:
https://duckduckgo.com/?q=XYZ
Plain HTML version:
https://duckduckgo.com/html/?q=XYZ
Regards,
- Graeme -
--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/
My public PGP key: http://tinyurl.com/graeme-pgp
More information about the Lazarus
mailing list