content-fetch
This package helps you parse the text from the webpage. The input to the function can be a path to an HTML file on your disk or a URL to a web page.
You can install the package by running the following command
pip install contentfetch
Please refer to the code snippet for parsing the text from the HTML file
import contentfetch
results_json = contentfetch.extract_content(html=<html_file>)
results_json
### OR
from contentfetch import extract_content
results_json = extract_content(html=<html_file>)
results_json
Please refer to the code snippet for parsing the text from the webpage through URL
import contentfetch
results_json = contentfetch.extract_content(url=<webpage_url>)
results_json
### OR
from contentfetch import extract_content
results_json = extract_content(url=<webpage_url>)
results_json
Metadata
Release files for contentfetch 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| contentfetch-0.0.5.tar.gz | 12.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| contentfetch-0.0.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 32.3 kB
Release files / contentfetch-0.0.5.tar.gz
| Download URL | contentfetch-0.0.5.tar.gz |
|---|---|
| Size | 12.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d4f17fdfebf2afa4715fa6b56be11c8903a6839c006dde156b3b801042425952
|
|
BLAKE2b-256 checksum How to use checksums |
741e668f3e7b887cb971e5cbebde5510cbdb8a46a8b866f04887b434dcce99fd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.3 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.10.1 urllib3/1.26.12 tqdm/4.64.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.6.9
|
Release files / contentfetch-0.0.5-py3-none-any.whl
| Download URL | contentfetch-0.0.5-py3-none-any.whl |
|---|---|
| Size | 20.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
64226e8e0d58ac8c57963322179a493bc3e6840673a8f7cb2745b5df877b82bf
|
|
BLAKE2b-256 checksum How to use checksums |
eecb3407c3d67e79c307517328b46e8754fcef403bf456146a5eeab88697a75b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.3 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.10.1 urllib3/1.26.12 tqdm/4.64.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.6.9
|