simple URL GET

Raymond Wiker rwiker at gmail.com
Sun May 7 21:56:31 UTC 2023



> On 7 May 2023, at 22:19, paul tarvydas <paultarvydas at gmail.com> wrote:
> 
> I want to GET a URL and put the result into a string with as little fuss as possible, but nothing seems to work.
> 
> I am trying to follow:
> https://lispcookbook.github.io/cl-cookbook/web-scraping.html
> 
> using SBCL and LispWorks.
> 
> I'm on a MacBook (Ventura) and am getting SSL errors (plus unicode errors in Lispworks).
> 
> Reminders as to how to fix such problems would be appreciated...
> 
> thanks
> pt


If all you need is to fetch whatever is at a url, the following should suffice:

(dexador:get "https://planet.lisp.org <https://planet.lisp.org/>")

or 

(drakma:http-request "https://planet.lisp.org <https://planet.lisp.org/>")

What errors, if any, do you get from these?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/pro/attachments/20230507/59f246fe/attachment.html>


More information about the pro mailing list