Alexander

Results 124 comments of Alexander

@phoerious I don't quite understand what the problem is. Can you show the code and specify the place you think the problem is?

Hi @vtorri I want to try to solve this without any special keys.

@ramezrafla @kostya is right, you can only use the tokenizer, but there are features that you can [read here](https://lexbor.com/articles/html/#tokenizer). Simply put, in order to parse the html correctly, you need...

Hi @majcl Thanks to you, we found a memory leak in the `lxb_url_destroy()` function. I'll try to fix that today. Parsing urls is not a simple matter, and in order...

Memory leak in the `lxb_url_destroy()` function fixed in https://github.com/lexbor/lexbor/commit/795126188f8df25ed1f5fc8ed368bdd5110a8045.

@majcl 1. Depends on what you're comparing it to and what your goals are. If you need to parse a lot of urls, I would use the method as in...

@deng865147540 We're working on the documentation. What specifically in the examples is not clear to you? [Here's getting elements by tag](https://github.com/lexbor/lexbor/blob/master/examples/lexbor/html/element_attributes.c) and working with element attributes. Getting elements [by CSS...

@MohammadRaziei Unfortunately, the `myhtml` project is not and will not be supported. Only PRs in the form of fixes are accepted. For a really fast parsing of HTML, use the...

@wonkyDD [lexbor](https://github.com/lexbor/lexbor) is DOM, HTML, CSS, encoding and so on. [myhtml](https://github.com/lexborisov/myhtml) is only HTML. `lexbor` is being developed and maintained. `myhtml` does not develop and is not supported.

@rushter If you create the html parser separately, it should be destroyed separately. ```C lxb_html_parser_create() lxb_html_parser_init() document = lxb_html_parse(); lxb_html_parser_unref(); lxb_html_document_destroy() ``` or ```C lxb_html_document_create() lxb_html_document_parse() lxb_html_document_destroy() ```