Skip to main content

A simple html parser that constructs DOM tree.

Project description

It is aimed to provide jquery like API.


from pyHTMLParser.Query import Q_open, Q_close, Q


second_target_link = Q('a[href$="-target.html"]:nth-child(2)')




API Docs .

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pyHTMLParser, version 2.1.0
Filename, size File type Python version Upload date Hashes
Filename, size pyHTMLParser-2.1.0.tar.gz (11.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page