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

--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to