[Gambas-user] Web application - CURL and Cookies?
Rob
sourceforge-raindog2 at ...94...
Tue Dec 30 21:55:34 CET 2008
On Tuesday 30 December 2008 15:31, birchy wrote:
> 1) Does Gambas implement the libcurl library or does it use curl via a
> command prompt?
Gambas (specifically gb.net.curl) uses libcurl.
> 2) I have still not found a satisfactory HTML parsing library because
> many of the values i want to extract are within JavaScript tags. Many
> people suggest using BeautifulSoup, but i don't know if i can use this
> within Gambas?? I can parse the document manually using string functions
If the document you want to parse is XHTML, you could try using gb.xml.
Unfortunately, that seems to be undocumented right now.
If it's a legacy HTML document, libxml does have an HTML parser available,
but it seems that gb.xml doesn't expose that functionality at present so
you'd need to use external function declarations to use it.
Rob
More information about the User
mailing list