Get html in string from a page
Project description
Generate HTML in string from URL
from scraping.scraper import PageSources
page = PageSources('url...')
print(page.get_current_html())
Support google chrome driver by default
- ChromeDriver 91.0.4472.101 (Common version), if start with 91 will work.
It Need a google chrome driver
To check the version you have of Google Chrome, you can do it from the browser information and in the "Help" section:
- Open a window in the browser.
- Go to the three points in the upper right.
- Choose the "Help" option from the drop-down menu.
- Tap on "Google Chrome Information"
Go to https://chromedriver.chromium.org/downloads select your version, system and download
It will be a file like this:
Copy and paste in your root project
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 Distribution
scrape-html-0.0.19.tar.gz
(3.0 kB
view hashes)
Built Distribution
Close
Hashes for scrape_html-0.0.19-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b1887eb9b2e70b1231487825650a045c5231491d65329ed3cfe8eac6a4ba8e03 |
|
MD5 | a0c0d2babf3e012a8c7fc0ccaa5ccee5 |
|
BLAKE2b-256 | 6fbb1343ad3703fea2b563c72d399cc56c2b049a28698c3dc8a6cb0206e05a28 |