![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
网络爬虫
宁缺100
迈出的步伐不非得很大,只要你是在往正确的方向前行就行
展开
-
爬取豆瓣Top250电影名称列表
要爬取的网页 豆瓣电影Top 250 Python程序 #!/usr/bin/python3.4 #-*- coding:utf-8-*- #FileName:getdangdang.py #Author:duhongjiang #Date:2018/2/24 20:08 import requests from bs4 import BeautifulSoup i...原创 2018-02-24 22:35:38 · 3411 阅读 · 0 评论 -
Java 爬取影评内容
根据网址和页面编码获取网页源码 解析源码 批量采集影评数据 jsoup Document doc = Jsoup.parse(html); Element ele = doc.getElementById(""); //外层div id Elements eles = ele.getElementByClass("");//模板 class for (Element element : e...原创 2019-04-22 23:31:26 · 196 阅读 · 0 评论