home.social

#htmlparser — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #htmlparser, aggregated by home.social.

  1. Using pytest-benchmark.readthedocs.i to compare #regex vs #HTMLParser vs lxml.html vs #BeautifulSoup with a typical @unicorn #HTML component fragment.

    Still haven't figured out how to use parsel. And still scared to use #regex even though it would be way faster. 🥺

    #python #lxml #pytest #benchmark