VScrapper
Overview
VScrapper is a versatile web scraping library designed to simplify the process of extracting data from websites. It provides a set of tools and utilities to handle various aspects of web scraping, from URL sanitization to detailed search results.
Features
- Google Search: Performs basic and detailed Google searches to fetch relevant data.
- Markdown Conversion: Converts web content into Markdown format for easy integration into documents.
- Detailed Search Results: Provides detailed search results for each search query.
- Async by default: Supports asynchronous operations by default.
Installation
To install VScrapper, use the following command:
pip install vscrapper
Usage
Here's a basic example of how to use VScrapper to perform a Google search and sanitize a URL:
from vscrapper.search import SearchQuery
from vscrapper.weburl import WebURL
from vscraooer import warmup
# do a warmup first
warmup()
# Perform a Google search
search_query = SearchQuery(query="Python web scraping")
search_results = await search_query.google_search()
# Perform a detailed google search
detailed_results = await search_query.detailed_google_search()
# Convert an url to a markdown
web_url = WebURL(url="http://example.com")
sanitized_url = await web_url.to_markdown()
Contributing
Contributions are welcome! Please read the contributing guidelines to get started.
License
This project is licensed under the MIT License. See the LICENSE file for details.
Release files for vscrapper 0.1.10
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| vscrapper-0.1.10.tar.gz | 3.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| vscrapper-0.1.10-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.7 kB
Release files / vscrapper-0.1.10.tar.gz
| Download URL | vscrapper-0.1.10.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5eca4fb541b11dbe12391236901843452b3eb658837b5a9003438b192ca0bd76
|
|
BLAKE2b-256 checksum How to use checksums |
a048c6f90f9d7ead2b81079397c3a66a46a3a4d5c96e8edb97b184dfc9f9cd54
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.12.3 Linux/6.8.0-36-generic
|
Release files / vscrapper-0.1.10-py3-none-any.whl
| Download URL | vscrapper-0.1.10-py3-none-any.whl |
|---|---|
| Size | 4.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
aec7468ba1bccd8bbb4ae4b435d86480e84b20e3473e18eb9309b28ec4e0ceb0
|
|
BLAKE2b-256 checksum How to use checksums |
cd26abe6d2fadc65e2476d12dd62c8564e3109f1b5863acd4c384111b9f1413d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.12.3 Linux/6.8.0-36-generic
|