python爬取网上的图片

1.simple version 网站没有反扒机制的: import urllib.request import re url="http://ohhappyday.com/" # 1.我们要爬取图片的地址 page = urllib.request.urlopen(url) # 2. 打开网址 print(page) html = page.read().decode("utf-8") # 3.
相关文章
相关标签/搜索