Skip to main content

HTML Parsing for Humans

Project description

requests_html2

HTML Parsing for Humans 项目衍生自requests-html 用法请参考example以及requests-html文档

相比于requests-html有如下改进:

  • 浏览器渲染相关操作更灵活
  • 增加全局cookie、proxy设置
  • 元素操作优化,对于元素查找find()xpath()的返回结果,参照linq增加筛选select()where()

Install

pip install requests-html2

Quick Start

from requests_html2 import HTMLSession
session = HTMLSession()
r = session.get('https://python.org/')

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

requests_html2-1.0.1.tar.gz (11.3 kB view details)

Uploaded Source

Built Distribution

requests_html2-1.0.1-py3-none-any.whl (11.2 kB view details)

Uploaded Python 3

File details

Details for the file requests_html2-1.0.1.tar.gz.

File metadata

  • Download URL: requests_html2-1.0.1.tar.gz
  • Upload date:
  • Size: 11.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.6.1 CPython/3.10.9

File hashes

Hashes for requests_html2-1.0.1.tar.gz
Algorithm Hash digest
SHA256 aeb44f7a2a47a1d888d3d3ffda9657e36ea186d5598144a86836ce470c7964e9
MD5 6b267618417ec1fb2f9498abd36b5127
BLAKE2b-256 1706a67f8b9f6df907b6d2d67132a0b20c44c70d25d71eb465116e2f3640f6dd

See more details on using hashes here.

File details

Details for the file requests_html2-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for requests_html2-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0fe2d49ce1694d68beaff4c22ce1bbb7186b9be8ea948064dc897c0a4e246173
MD5 611ed9c708d607f105b928002aa665dc
BLAKE2b-256 b2b241e55d0d27bbba6258a2dd0ced28d630cba85f7be6fb69fe9e7e02ce0dbd

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