1.如何处理数据
BeautifulSoup
- 解析数据
- 提出数据
1 | pip install beautifulsoup4 |
2.案例
2.1获取豆瓣图书TOP250当中
1 | # -*- coding: utf-8 -*- |
2.2获取豆瓣电影的数据(电影名和链接)
1 | # -*- coding: utf-8 -*- |
BeautifulSoup
1 | pip install beautifulsoup4 |
1 | # -*- coding: utf-8 -*- |
1 | # -*- coding: utf-8 -*- |