Skip to content

tinytaro/test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

test

各种自动化脚本

安装Chrome

$ wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
$ echo 'deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main' | sudo tee /etc/apt/sources.list.d/google-chrome.list
$ sudo apt update
$ sudo apt install google-chrome-stable

安装Selenium

$ sudo apt install python-pip
$ sudo pip install selenium

安装Chrome driver

$ wget https://chromedriver.storage.googleapis.com/2.37/chromedriver_linux64.zip
$ sudo apt install unzip
$ unzip chromedriver_linux64.zip
$ sudo cp chromedriver /usr/bin/

配置cron

$ crontab -e
10 */8 * * * /usr/bin/python $HOME/zhongye_net.py

About

some test scripts

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages