DigitalOcean- Python Selenium Script to automate GlobalStats Tracked Data update
ssh -i ~/.ssh/algorithms_key root@YOUR_IP
apt install -y python3 python3-pip
pip3 install selenium
pip3 install webdriver_manager
pip3 install pyvirtualdisplay
-
chrome dependency
apt install -y libxss1 libappindicator1 libindicator7
-
download chrome
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
-
dpkg to install
dpkg -i google-chrome*.deb
-
if fails it fixes
apt install -y -f
It is deprecated. No hard install is needed.
python3 main.py test