kkszysiu / selectolax

Python binding to Modest engine (fast HTML5 parser with CSS selectors).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

selectolax

image

A fast HTML5 parser with CSS selectors using Modest engine.

Installation

From PyPI using pip:

Development version from github:

How to compile selectolax while developing:

Examples

Simple Benchmark

  • Average of 10 experiments to parse and retrieve URLs from 800 Google SERP pages.
Package Time   Memory (peak)
selectolax 2.38 sec. 768.11 MB
lxml   18.67 sec. 769.21 MB

License

About

Python binding to Modest engine (fast HTML5 parser with CSS selectors).

License:MIT License


Languages

Language:Python 96.8%Language:Makefile 3.2%