資源簡介
python 采集指定網址的圖片并保存到本地 實例源碼
代碼片段和文件信息
import?requests
import?re
url=‘https://mrpig.tuchong.com/14390318/‘
response?=?requests.get(url)
url_lst?=?re.findall(r“//.+\.jpg“response.text)[2:]
i=0
for?url?in?url_lst:
??
評論
共有 條評論