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
Metadata
Release files for kraken-browser 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| kraken-browser-0.0.3.tar.gz | 4.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| kraken_browser-0.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.9 kB
Release files / kraken-browser-0.0.3.tar.gz
| Download URL | kraken-browser-0.0.3.tar.gz |
|---|---|
| Size | 4.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c2aef1e8f1f2fc9a78bffa9acb6de33c5f6d6c18829cf93a6fbfea64b5b0b3fc
|
|
BLAKE2b-256 checksum How to use checksums |
c3a170c35cacd382f49c1469bf2620f053dbbf3a7bf8bc66e50c0e732fd6ca2e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / kraken_browser-0.0.3-py3-none-any.whl
| Download URL | kraken_browser-0.0.3-py3-none-any.whl |
|---|---|
| Size | 5.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
415181274148f43f9cbf934c05b1d3bcd10199df7f62c805c5d98ba9179d3eb0
|
|
BLAKE2b-256 checksum How to use checksums |
6315305406247210f160dba9e61845e6a9f476e3a92e32af550dd6d0aca64668
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|