1.复习内容
2.灵感代办
3.学习内容
-
python 爬虫分析要点
- 1.确定网站是静态还是动态加载
- ajax 或者 html 可以右键查看源码,搜索一下关键字,或者看一下源码结构
- 2.确定url范围
- 分析url页数的规律,分析get参数的作用
- 3正则表达式
- 提取需要的数据
- 4.编写程序框架,完善程序
-
python requests模块
4.扩展延伸知识
-
python MysqlDB数据库插入中文 UnicodeEncodeError:’latin-1’
- set_character_set(‘utf8’)
- https://blog.csdn.net/brink_compiling/article/details/51233087
-
python decode 指定编码
- respond.content.decode('gb2312','ignore') ---亲试遇见中文响应内容解析还是用这种方式好
- https://www.cnblogs.com/linjiqin/p/3674825.html
- https://blog.csdn.net/u010924297/article/details/80353440
5.知识内容个人梳理
6.今天都复习了之前的什么内容
3.学习内容
-
python 爬虫分析要点
- 1.确定网站是静态还是动态加载
- ajax 或者 html 可以右键查看源码,搜索一下关键字,或者看一下源码结构
- 2.确定url范围
- 分析url页数的规律,分析get参数的作用
- 3正则表达式
- 提取需要的数据
- 4.编写程序框架,完善程序
-
python requests模块
4.扩展延伸知识
-
python MysqlDB数据库插入中文 UnicodeEncodeError:’latin-1’
- set_character_set(‘utf8’)
- https://blog.csdn.net/brink_compiling/article/details/51233087
-
python decode 指定编码
- respond.content.decode('gb2312','ignore') ---亲试遇见中文响应内容解析还是用这种方式好
- https://www.cnblogs.com/linjiqin/p/3674825.html
- https://blog.csdn.net/u010924297/article/details/80353440
5.知识内容个人梳理
6.今天都复习了之前的什么内容
python 爬虫分析要点
- 1.确定网站是静态还是动态加载
- ajax 或者 html 可以右键查看源码,搜索一下关键字,或者看一下源码结构
- 2.确定url范围
- 分析url页数的规律,分析get参数的作用
- 3正则表达式
- 提取需要的数据
- 4.编写程序框架,完善程序
python requests模块
-
python MysqlDB数据库插入中文 UnicodeEncodeError:’latin-1’
- set_character_set(‘utf8’)
- https://blog.csdn.net/brink_compiling/article/details/51233087
-
python decode 指定编码
- respond.content.decode('gb2312','ignore') ---亲试遇见中文响应内容解析还是用这种方式好
- https://www.cnblogs.com/linjiqin/p/3674825.html
- https://blog.csdn.net/u010924297/article/details/80353440