HI James,
I have a doc downloaded from web
download(url, file)
doc=readall(file)
julia> eltype(doc)
Char
julia> doc
"<!DOCTYPE html>\r\n<html>\r\n<head>\r\n <title>Sil .....
\n</script>\r\n</div>\r\n\r\n</body>\r\n</html>\r\n"
What next with Gumbo? my doc is not ready to Gumbo
julia> for elem in preorder(doc.root)
println(tag(elem))
end
ERROR: type UTF8String has no field root
in anonymous at no file
How to convert my data for Gumbo?
Paul
W dniu poniedziałek, 9 czerwca 2014 19:35:38 UTC+2 użytkownik paul analyst
napisał:
>
> Thx James, i will try
> Paul.
>
> W dniu 2014-06-09 19:04, James Porter pisze:
> > https://github.com/porterjamesj/GumboParser.jl
>
>