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.
相關文章
相關標籤/搜索