Scraperr is a self-hosted web application that allows users to scrape data from web pages by specifying elements via XPath. Users can submit URLs and the corresponding elements to be scraped, and the results will be displayed in a table.
From the table, users can download an excel sheet of the job's results, along with an option to rerun the job.
View the docs for a quickstart guide and more information.
- Submit/Queue URLs for web scraping
- Add and manage elements to scrape using XPath
- Scrape all pages within same domain
- Add custom json headers to send in requests to URLs
- Display results of scraped data
- Download csv containing results
- Rerun jobs
- View status of queued jobs
- Favorite and view favorited jobs
- User login/signup to organize jobs (optional)
- View app logs inside of web ui
- View a small statistics view of jobs ran
- Include the results of a selected job into the context of a conversation
- Currently supports:
- Ollama
- OpenAI
Use this service as an API for your own projects. Due to this using FastAPI, a docs page is available at /docs
for the API.
Q: When running Scraperr, I'm met with "404 Page not found".
A: This is probably an issue with MongoDB related to running Scraperr in a VM. You should see something liks this in make logs
:
WARNING: MongoDB 5.0+ requires a CPU with AVX support, and your current system does not appear to have that!
To resolve this issue, simply set CPU host type to host
. This can be done in Proxmox in the VM settings > Processor. Related issue.
When using Scraperr, please ensure that you:
- Check Robots.txt: Verify allowed pages by reviewing the
robots.txt
file of the target website. - Compliance: Always comply with the website's Terms of Service (ToS) regarding web scraping.
Disclaimer: This tool is intended for use only on websites that permit scraping. The author is not responsible for any misuse of this tool.
This project is licensed under the MIT License. See the LICENSE file for details.
Development made easy by developing from webapp template. View documentation for extra information.
Start development server:
make deps build up-dev