HTML for humans.
Project description
innerhtml
HTML for humans.
Authors
Installation
Install innerhtml with pip
# Linux/macOS
python3 -m pip install -U innerhtml
# Windows
py -3 -m pip install -U innerhtml
Usage/Examples
import requests
from innerhtml import parse
response = get("https://articoff.github.io/eggs/")
page = parse(response.content)
for element in page.elements:
if element._type == "h1":
print(element.content)
from innerhtml import parseHtml
with open("index.html", "r") as file:
page = parseHtml(file)
file.close()
for element in page.elements:
if element._type == "h1":
print(element.content)
Feedback
If you have any feedback, please reach out to us on our discord
Links
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file innerhtml-0.0.1-py3-none-any.whl.
File metadata
- Download URL: innerhtml-0.0.1-py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2fb34a7ec34e8282d034d4a6cbee595021ecb24898200095e8c01416e6e456fb
|
|
| MD5 |
f338770e13861b193d76b8f02c015fad
|
|
| BLAKE2b-256 |
eb28d9984044b98cf6db80f87d97fc88eb68426b3dce4dd367ffb280dc3dd0f2
|