A library use jQuery like API for html parsing & node selecting & node mutation, suitable for web scraping and html confusion.
Add clone()
method for Elements
.
Fix the typo destory
(destroy
), thanks @zignis's PR.
Since v1.0.0, the APIs will remain stable unless some error conditions occur.
upgrade htmlentity to new version 1.3.1 to fix breaking change APIs
Upgrade html parser to fix the problem when a >
character appears in the quoted attribute value will parsed unexpected.
fix(important): some apis bad use the Box::leak
for creating static string will cause memory leak, upgrade the regex from 1.4.3 to 1.7.0.
add the htmls()
and outer_htmls()
methods for get the combined html of all the elements in the element set.
add texts_by_rec
method that allow to filter element which need recursive
add replace_with
method, fix insert siblings methods not working for some nodes
fix the regex pattern use chars length instead of str length, otherwise will cause error when use any non ascii character such as chinese characters
Add :has
pseudo selector