Skip to main content

Python HTML/XML parser for simple web scraping.

Project description

What is it?

DHTMLParser is a lightweight HTML/XML parser created for one purpose - quick and easy picking selected tags from DOM.

It can be very useful when you are in need to write own “guerilla” API for some webpage, or a scrapper.

If you want, you can also create HTML/XML documents more easily than by joining strings.

Documentation

Full module documentation can be found here: http://pydhtmlparser.rtfd.org

Changelog

2.0.2

  • Fixed bugs in .isAlmostEqual().

2.0.1

  • Fixed bugs in .match().

  • Fixed broken links in documentation.

2.0.0

  • Rewritten, refactored, splitted to multiple files.

  • Added unittest coverage of almost 100% of the code.

  • Added better selector methods (.wfind(), .match)

  • Added Sphinx documentation.

  • Fixed a lot of bugs.

Project details


Download files

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

Source Distribution

pyDHTMLParser-2.0.2.tar.gz (227.8 kB view details)

Uploaded Source

File details

Details for the file pyDHTMLParser-2.0.2.tar.gz.

File metadata

File hashes

Hashes for pyDHTMLParser-2.0.2.tar.gz
Algorithm Hash digest
SHA256 368a3160cf0eac3bcf6b60ff6820f2c6a664c4f8dd25bfcf9c4134be972875b0
MD5 0ec3da04ccc2243413946a5f10b82983
BLAKE2b-256 da26ca54c7200a59bfc123d90e463812a730d69621cd5de3fab6fcc8cfc0b862

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page