最最最最简单的python爬虫操作

最近初学了python,就尝试了一下非常简单的爬虫(爬取网页的图片存到本机上)。适合开始学习python的小白。 环境:python3.0。 上代码: import re import urllib.request def get_content(url): # 定义一个抓取的函数      html =urllib.request.urlopen(url)      content =html.
相关文章
相关标签/搜索