CL equivalent of Ruby Mechanize?
-
- Posts: 447
- Joined: Sat Jun 28, 2008 7:49 am
- Location: Austin, TX
- Contact:
CL equivalent of Ruby Mechanize?
Does anybody know of a CL equivalent of Ruby's Mechanize library (http://mechanize.rubyforge.org/mechanize/). It's designed to provide a nice way to interact easily with web sites over HTTP. Note that it's far more than a simple HTTP client and correctly handles cookies, authentication, redirects, etc.
Cheers, Dave
Slowly but surely the world is finding Lisp. http://www.findinglisp.com/blog/
Slowly but surely the world is finding Lisp. http://www.findinglisp.com/blog/
Re: CL equivalent of Ruby Mechanize?
http://www.cliki.net/lisp-cgi-utils
This look useful?
I'm sure you could extend it, maybe work with cl-who code... but that's more for generation as I recall...
This look useful?
I'm sure you could extend it, maybe work with cl-who code... but that's more for generation as I recall...
-
- Posts: 447
- Joined: Sat Jun 28, 2008 7:49 am
- Location: Austin, TX
- Contact:
Re: CL equivalent of Ruby Mechanize?
I think that's the server-side stuff. I want the client side. Essentially, I'm looking for a CL library equivalent of wget or curl.TheGZeus wrote:http://www.cliki.net/lisp-cgi-utils
This look useful?
I'm sure you could extend it, maybe work with cl-who code... but that's more for generation as I recall...
Cheers, Dave
Slowly but surely the world is finding Lisp. http://www.findinglisp.com/blog/
Slowly but surely the world is finding Lisp. http://www.findinglisp.com/blog/
Re: CL equivalent of Ruby Mechanize?
Well, I am completely unfamiliar with mechanize, but your comment about an http client that stores cookies and what not sounds a bit like Drakma. And Drakma is kind of like the utility curl, for which there are cffi bindings available.
Maybe this is the right track?
Zach
Maybe this is the right track?
Zach
-
- Posts: 447
- Joined: Sat Jun 28, 2008 7:49 am
- Location: Austin, TX
- Contact:
Re: CL equivalent of Ruby Mechanize?
I'll check out Drakma. I knew of it, but I had thought previously that it was a bit more simplistic than what I was looking for. In other words, there's a big difference between something that is capable of performing a simple HTTP transaction and something that starts to act more like a complete browser without the UI. I had previously filed Drakma into the category of just being a simple client, but I might be wrong. Edi usually produces great libraries, so I'll go check it out.smithzv wrote:Well, I am completely unfamiliar with mechanize, but your comment about an http client that stores cookies and what not sounds a bit like Drakma. And Drakma is kind of like the utility curl, for which there are cffi bindings available.
Maybe this is the right track?
Zach
Cheers, Dave
Slowly but surely the world is finding Lisp. http://www.findinglisp.com/blog/
Slowly but surely the world is finding Lisp. http://www.findinglisp.com/blog/
-
- Posts: 447
- Joined: Sat Jun 28, 2008 7:49 am
- Location: Austin, TX
- Contact:
Re: CL equivalent of Ruby Mechanize?
Yea, that looks like it will work. I should have known that Edi would only put out something full-featured. Don't know what I was thinking.
Cheers, Dave
Slowly but surely the world is finding Lisp. http://www.findinglisp.com/blog/
Slowly but surely the world is finding Lisp. http://www.findinglisp.com/blog/