摘要: 对于这样的多级标签 要获取第二个span中的内容,可以这样写: 阅读全文
posted @ 2016-12-19 16:47 呉语伦比 阅读(6214) 评论(0) 推荐(0)
摘要: 请求豆瓣电影的前250,然后获取请求到内容的属性 import requests r = requests.get('https://movie.douban.com/top250') print type(r) print r.status_code print r.encoding print 阅读全文
posted @ 2016-12-19 14:37 呉语伦比 阅读(189) 评论(0) 推荐(0)