webscraper/README.md

28 lines
913 B
Markdown
Raw Permalink Normal View History

2024-11-12 05:17:45 +01:00
# Web scraper 🔍
## Description
This project is a web scraper designed to extract data from websites.
2024-11-12 05:17:45 +01:00
## How to use
1. Clone the repository
1. `cd webscraper`
1. `cd app`
1. `pip3 install -r requirements.txt`
1. `python3 scripts/monet.py` for the monet scraper
1. `python3 scripts/torres.py` for the torres scraper
## How to use with Docker
1. Clone the repository
1. `cd webscraper/app`
1. `docker compose up -d`
1. `docker exec -it docker exec -it scraper xvfb-run --auto-servernum --server-num=1 --server-args='-screen 0, 1920x1080x24' python3 scripts/monet.py` for the monet scraper
1. `docker exec -it docker exec -it scraper xvfb-run --auto-servernum --server-num=1 --server-args='-screen 0, 1920x1080x24' python3 scripts/torres.py` for the torres scraper
1. `docker compose down`
## Video
[Watch the video](https://drive.google.com/drive/folders/1BrLMTmlHGz7__cs6-g-UorUgbfC-sSXG?usp=drive_link)