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 details)

Uploaded Source

Built Distribution

kraken_browser-0.0.3-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file kraken-browser-0.0.3.tar.gz.

File metadata

  • Download URL: kraken-browser-0.0.3.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for kraken-browser-0.0.3.tar.gz
Algorithm Hash digest
SHA256 c2aef1e8f1f2fc9a78bffa9acb6de33c5f6d6c18829cf93a6fbfea64b5b0b3fc
MD5 4da86b363cd7e9926ad7f0a019e062bb
BLAKE2b-256 c3a170c35cacd382f49c1469bf2620f053dbbf3a7bf8bc66e50c0e732fd6ca2e

See more details on using hashes here.

File details

Details for the file kraken_browser-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: kraken_browser-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for kraken_browser-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 415181274148f43f9cbf934c05b1d3bcd10199df7f62c805c5d98ba9179d3eb0
MD5 c11f30ab5f7e4a5dee63a52985001b76
BLAKE2b-256 6315305406247210f160dba9e61845e6a9f476e3a92e32af550dd6d0aca64668

See more details on using hashes here.

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