2 初始爬虫
创建第一个案例,一般用第三方库和内置库
-urllib库
-requests库
aikspath
(通用的不可能像上面这么简单)
用的是from 什么 import 什么
p标签,class属性
beautifulsoup介绍:https://www.cnblogs.com/blackclody/p/6911559.html
建立comments list对象
list添加元素方法
把comments list里面的数据类型转换成pandas的数据类型
然后用to_csv保存