爬虫IP被禁的简单解决方法——切换UserAgent 参考文章: (1)爬虫IP被禁的简单解决方法——切换UserAgent (2)https://www.cnblogs.com/littlebob/p/9219628.html 备忘一下。