A web content extraction tool designed to fetch and process web pages efficiently
Project description
WebEater (weat)
WebEater is a web content extraction tool designed to fetch and process web pages.
It is made for developers and researchers who need to extract structured data from web pages efficiently.
The tool goes straight to the point, focusing on extracting text and structured data from web pages,
while providing some additional configurations and hits for better effectiveness.
Its main purpose is to serve as a go-to-component that works out of the box for most general use cases.
As it's currently at an early stage, it may not cover all edge cases or complex scenarios.
We welcome contributions and feedback to help improve its capabilities.
Features
- Fetches web pages and extracts text content into Markdown format.
- Handles JavaScript-heavy pages using Selenium and BeautifulSoup
Quick Start
To use WebEater, you can import the WebeaterEngine class and
create an instance of it.
The engine will automatically load the necessary configurations
and provide methods to perform web content extraction actions.
Note that it must be loaded within an async context.
from webeater import WebeaterEngine
async def main():
weat = await WebeaterEngine.create()
content = weat.get(url="https://example.com")
print(content)
Help and Contributions
For questions or discussions about changes and new features, please start a new Discussion in the Webeater GitHub repository.
If you find bugs or want to contribute, please open an Issue.
Installation from Source
To install Web Eater from source code, you can clone the repository at:
https://github.com/tiagrib/webeater.git
then navigate to the project directory and install the required dependencies:
pip install -r requirements.txt
The current code was tested using python version 3.12.3, though other versions may work.
Configuration and Advanced documentation
Web Eater uses a configuration file to manage its settings.
The configuration file is typically located at config/weat.yaml.
You can customize the settings in this file to suit your needs, such as specifying the default user agent, timeout settings, and other parameters.
For more detailed documentation on configuration options and advanced usage, please refer to the Hints Documentation.
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
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 webeater-0.1.0.tar.gz.
File metadata
- Download URL: webeater-0.1.0.tar.gz
- Upload date:
- Size: 22.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
422077553d52e2e8fc5c67824a8183eafe39eb159f2b35759cf016c21108de11
|
|
| MD5 |
769824217a8b9968b8d242c6a5897018
|
|
| BLAKE2b-256 |
1f7ba8e3819b68d05b4f68c6e3a6208c7ec2434d91165da218afd21931603392
|
File details
Details for the file webeater-0.1.0-py3-none-any.whl.
File metadata
- Download URL: webeater-0.1.0-py3-none-any.whl
- Upload date:
- Size: 19.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2414ad249e4ea686968581d5aa905e38b9b52d9a583df9ec4b08f46302a08937
|
|
| MD5 |
ace26a9fb72c0b6712ed842599b318f4
|
|
| BLAKE2b-256 |
ef883e583cda6c10646c3007528b37ade9978ef534a7db35a31060b8e6d70d58
|