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.17.tar.gz
(3.0 kB
view hashes)
Built Distribution
Close
Hashes for scrape_html-0.0.17-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | af429ae552f46d368f352e0d87a810a04ab75723dc4182a9e084b343cd4796b9 |
|
MD5 | 8bd5121a9776d2325db41a3d121be155 |
|
BLAKE2b-256 | 415d9cfda8557bb3b1ada56ab48ce30c2bbccb2f9cc08e42898684a68f611333 |