question 有的网站会凌晨重启,导致爬虫崩溃遇到未考虑的异常或者使用selenium网络延迟导致程序中断 solve 写ssh脚本检查爬虫程序是否正常运行,挂掉重新拉起 while [ 1 ];do python3 asynci_spider.py done