爬虫的思路:
1、首先要确定好要爬取的数据是什么。(这点很重要)============>确定需求
2、根据要爬取的数据找到合适的网站。========================>选好目标
3、发送请求到对应网站,返回页面或数据 =====================>获取数据
4、对返回的内容做处理,将需要的信息提取出来。===============>定位数据
5、将提取的数据存储到数据库或本地文件。====================>存储数据