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.2.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: kraken-browser-0.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 6fddedd4d6f170ab5615fcd18ddfb981347d2529f93ff8a7dd7c0329e53d665d
MD5 a910ec744ba8033450ec7641ec5aa5c5
BLAKE2b-256 3e13e1f456defd9660c9e616b4179160fb3efb50ed9e4d4a09ed60896f8f1085

See more details on using hashes here.

File details

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

File metadata

  • Download URL: kraken_browser-0.0.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 effd86d597b84638864aafcfa6b770a10440ed7dc49e3dbb82887cd7a8726f99
MD5 fd30b510712addeb76768878676ac4be
BLAKE2b-256 5aef903c5903625284ac0d221790683deaef32c4d042dd4e9b571bac4627dd4b

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