Skip to main content

Abstraction layer for web scrapers

Project description

Arana

Introduction

Arana is an abstraction layer for web scrapers. At the moment arana abstracts Chromium, Firefox and WebKit browsers.

Features

  • Provide an abstraction layer for web scrapers
  • Provide an abstraction for a browser (Chromium, Firefox or WebKit)
  • Provide a strong OOP composition API usage
  • Pass Cloudflare web scrap protection for sites

How to use

Install it using pip command:

pip install arana

in your project folder.

Usage

To access a web page using Chromium browser, you can use:

# Create a new Chromium browser
browser = Chromium()
# Open the browser
browser.open()
# Create a new web page
page = browser.page(url)
# Open the web page
response = page.open()
# Get the html content
html = response.html().content()
# Close the web page
page.close()
# Close the browser
browser.close()

License

The MIT License (MIT)

Copyright (C) 2025 Fabrício Barros Cabral

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

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

arana-0.0.13.tar.gz (10.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

arana-0.0.13-py3-none-any.whl (11.6 kB view details)

Uploaded Python 3

File details

Details for the file arana-0.0.13.tar.gz.

File metadata

  • Download URL: arana-0.0.13.tar.gz
  • Upload date:
  • Size: 10.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.9

File hashes

Hashes for arana-0.0.13.tar.gz
Algorithm Hash digest
SHA256 875f7a96631518a9fd809da7c81c72b9eb3a7ad709aee8013792a59475619cdc
MD5 a5ced0295b0b954af8865b9f7864ea06
BLAKE2b-256 331a7977c23a49d6a99c516320907e3f4e8386c953e6fb5c33e5657d10967061

See more details on using hashes here.

Provenance

The following attestation bundles were made for arana-0.0.13.tar.gz:

Publisher: python-release.yml on fabriciofx/arana

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file arana-0.0.13-py3-none-any.whl.

File metadata

  • Download URL: arana-0.0.13-py3-none-any.whl
  • Upload date:
  • Size: 11.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.9

File hashes

Hashes for arana-0.0.13-py3-none-any.whl
Algorithm Hash digest
SHA256 f7fe33b4fd9e63a644e921c7dbf5a7c603bc0733c727068488eb3cebb194b5e2
MD5 a3924f85178f46216009baefc8459ad5
BLAKE2b-256 80a58788319c7c02317f5c77b43f1806cf83b939a13de5c5a5f99429bf15a889

See more details on using hashes here.

Provenance

The following attestation bundles were made for arana-0.0.13-py3-none-any.whl:

Publisher: python-release.yml on fabriciofx/arana

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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