Dynamic Html
This is a simple library to get the html of a dynamic webpage. It deals with all of the Pyppeteer code behind the scenes so you don't have to. It is also synchronous, so you don't have to mess with async functions.
Examples
from DynamicHtml import DynamicHtml
url = 'https://www.google.com'
content = DynamicHtml(url)
This returns the rendered html for this webpage
You can also execute Javascript code before retrieving the content like so:
from DynamicHtml import DynamicHtml
url = 'https://www.google.com'
script = '() => {window.scrollBy(0, document.body.scrollHeight);}'
content = DynamicHtml(url, script)
This will simply scroll to the bottom of the page using Javascript before retrieving the content. This could be useful to load specific lazily loaded elements and such.
Metadata
Release files for DynamicHtml 1.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| DynamicHtml-1.0.3.tar.gz | 1.9 kB | Without provenance | Details for DynamicHtml-1.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| DynamicHtml-1.0.3-py3-none-any.whl | Python 3 | none | any | Details for DynamicHtml-1.0.3-py3-none-any.whl |
Total release size: 4.1 kB
Release files / DynamicHtml-1.0.3.tar.gz
| Download URL | DynamicHtml-1.0.3.tar.gz |
|---|---|
| Size | 1.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8f8f8964681a6cfe7d0df03b4fd20e5aa69f08f22a29905970b1567ca52ebc27
|
|
BLAKE2b-256 checksum How to use checksums |
2d28098dc4135fb3585b97b0e16a1cb57843ba2782fb9f0d6964f118dcb24283
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.1
|
Release files / DynamicHtml-1.0.3-py3-none-any.whl
| Download URL | DynamicHtml-1.0.3-py3-none-any.whl |
|---|---|
| Size | 2.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3662e0e727ba03b11df5443ad7938c73fd2163b19b64dac8670d8649ba4e2f13
|
|
BLAKE2b-256 checksum How to use checksums |
2329d7a115d6cb875f44cc74f15c4d49e19e2575a0a7357439d5d82cd2e93322
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.1
|
Security for DynamicHtml 1.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.