A simple fxcrawler to determine when is the best time to exchange currency on FSM.
sudo apt update
sudo apt install python3-pip python3-dev build-essential libssl-dev libffi-dev python3-setuptools python3-venv mongodb
virtualenv env
source env/bin/activate
Set up geckodriver, download from https://github.com/mozilla/geckodriver/releases
sudo cp geckodriver /usr/bin/geckodriver
pip3 install -r requirements.txt
vim ~/.bash_profile
export bot_token=tele_bot_token
export chat_id=bot_chat_id
watch --interval=3600 python web_scraper.py
crontab -e
Add the following line:
*/30 * * * * cd /home/dev/fxcrawler-telegram-bot && . /home/dev/.bash_profile && env/bin/python3 web_scraper.py
sudo service crontab reload