a command line tool to scrape telecontact.ma data
- install requirements
pip install -r requirements.txt- install package
pip install -e .- command to run the scraping
"""
Usage:
telecontact-scraper mine <string> <ou> [--file_path=<destination_file>]
Options:
<string> Qui,quoi? (raison sociale ou activité)
<ou> Où? (Casablanca)
--file_path file to save results to (json format)
"""- build image
docker build -t telecontact-scraper .- run image with arguments (Example)
docker run -it --rm telecontact-scraper tech rabatdocker pull tahasadiki/telecontact-scraper