Skip to main content

Kraken Browser

Project description

Kraken Browser

Overview

Runs a chromium browser in the background. Class Browser() retrieves a webpage along with images and screenshots

Features

Auto-proxy: rotates proxy automatically

Input

  • url: url of the webpage to retrieve

Attributes

  • url: url of the webpage
  • html: html fo the webpage retrieved
  • screenshot: image object (dict) of the screenshot file (viewport)
  • screenshot_full: image object (dict) of the screenshot file (full page)
  • image_files: path of the image files
  • images: array of image objects of the image files
  • image object keys:
    • schema:url url of the webpage
    • schema:contenturl url of the image
    • temp:data binary data of the image

How to use

from kraken_browser import Browser

url = 'https://www.test.com

browser = Browser(url)

html = browser.html

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

kraken-browser-0.0.3.tar.gz (4.7 kB view hashes)

Uploaded Source

Built Distribution

kraken_browser-0.0.3-py3-none-any.whl (5.2 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