Remember to sudo -H pip install <package-name>
for crontab capability on Ubuntu Server 18.04
The config should be stored in the root directory as config.json
.
It's contents are a JSON Object like the following:
{
"alpha_scraper": {
"api_key": "21A6A6RUF2M0XJB0",
"scrape_symbols": ["GGAL", "BBAR", "GOLD"]
},
"balanz_scraper": {
"pass": "XXX",
"user": "user"
},
"ggal_options": {}
}
packages to pip install: requests
packages to pip install: requests, websockets
packages to pip install: requests, beautifulsoup4
packages to pip install: requests, beautifulsoup4, selenium