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())
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.18.tar.gz
(3.0 kB
view hashes)
Built Distribution
Close
Hashes for scrape_html-0.0.18-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc189c698900d09a26c44408710b8160c6939765361116a27788ceaebc376fab |
|
MD5 | 2cf84babb867bad633a913d41ad38da6 |
|
BLAKE2b-256 | 3185e7953e6901ef2395625767eb55bf2ccf7ddba65c97d5701ff2831dff3f34 |