https://github.com/akkasayaz/quickscrape
QuickScrape is a lightweight, high-level web scraping library for Python that makes extracting structured data from websites simple and intuitive. Unlike more complex scraping frameworks, QuickScrape focuses on providing straightforward APIs for common extraction tasks.
https://github.com/akkasayaz/quickscrape
collaborate github github-copilot
Last synced: 2 days ago
JSON representation
QuickScrape is a lightweight, high-level web scraping library for Python that makes extracting structured data from websites simple and intuitive. Unlike more complex scraping frameworks, QuickScrape focuses on providing straightforward APIs for common extraction tasks.
- Host: GitHub
- URL: https://github.com/akkasayaz/quickscrape
- Owner: akkasayaz
- License: mit
- Created: 2025-02-25T10:15:18.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-02T01:01:06.000Z (about 1 year ago)
- Last Synced: 2026-01-03T08:25:12.788Z (3 months ago)
- Topics: collaborate, github, github-copilot
- Language: Python
- Size: 20.5 KB
- Stars: 12
- Watchers: 1
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# QuickScrape
A simple Python library for extracting common data types from web pages.
## Installation
```bash
pip install quickscrape
```
## Usage
```python-repl
import quickscrape
# Extract emails from a webpage
emails = quickscrape.extract("email", "https://example.com/contact")
# Extract tables
tables = quickscrape.extract("table", "https://example.com/data")
# Get tables as pandas DataFrames
tables_df = quickscrape.extract("table", "https://example.com/data", output_format="dataframe")
# Extract multiple data types at once
results = quickscrape.extract(["email", "table"], "https://example.com")email", "https://example.com/contact")
# Extract tables
tables = quickscrape.extract("table", "https://example.com/data")
```
## License
MIT
### Development Workflow
1. **Local Development**: Install your package in development mode:
```bash
pip install -e .
```
2. **Testing** : Use pytest for writing and running tests.
```bash
pip install pytest
pytest
```