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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file arana-0.0.4.tar.gz.
File metadata
- Download URL: arana-0.0.4.tar.gz
- Upload date:
- Size: 9.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
908cd1df45334c631ed78fb0e0f232aca0ce97600f5d719508c29ddd7f59141e
|
|
| MD5 |
9531d0d50cc2e4f35337c94e948321b8
|
|
| BLAKE2b-256 |
3c77aa6b9684378e87bb259d2bd9b9af9895b41930a065111daf01b43bdcb76c
|
File details
Details for the file arana-0.0.4-py3-none-any.whl.
File metadata
- Download URL: arana-0.0.4-py3-none-any.whl
- Upload date:
- Size: 16.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f914561bf71d471ffbe327f1a2af8e7d9154b011a8e7b74226127601e6a47d86
|
|
| MD5 |
58a0d4bfad84486cbb70b1cff0fd1e64
|
|
| BLAKE2b-256 |
5ff58c20f4459d481db02a9d2986523ac622869ad91375cb3d3194e25ade4119
|