Or you could consider running curl or wget as a subprocess.
On Sun, May 7, 2023 at 2:59 PM Raymond Wiker rwiker@gmail.com wrote:
On 7 May 2023, at 22:19, paul tarvydas paultarvydas@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")
or
(drakma:http-request "https://planet.lisp.org")
What errors, if any, do you get from these?