Skip to main content

A fluent interface python library to query html.

Project description

Supported platforms

  • Python 3.4
  • Windows

Installlation

To install via pip:

> pip install htmq

Usage

Get text inside all the div tags with class=’test’ as a list:

from htmq.html_query import htmq
# get html from somewhere
htmq(html).all().div(cls='test').text().q()

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 htmq, version 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size htmq-1.0.0.zip (10.1 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