Open s-celles opened 5 years ago
Hello,
Gumbo have a parsehtml function but reading HTML from file can be do using
parsehtml
parsehtml(read(filename, String))
Maybe a readhtml function should be defined as
readhtml
readhtml(filename, args... ; kwargs...) = parsehtml(read(filename, String), args...; kwargs...)
An other API idea could be (to mimic read API) to have the following functions:
read
parse(HTMLDocument, input)
and
read(filename, HTMLDocument)
What is your opinion about such API idea?
Kind regards
An other approach could be to integrate with FileIO.jl
Hello,
Gumbo have a
parsehtml
function but reading HTML from file can be do usingMaybe a
readhtml
function should be defined asAn other API idea could be (to mimic
read
API) to have the following functions:and
What is your opinion about such API idea?
Kind regards