Skip to main content

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


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)

Uploaded Source

Built Distribution

scrape_html-0.0.18-py3-none-any.whl (3.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page