转载请注明出处https://blog.csdn.net/weixin_45163516 利用爬虫在71图片网下载图片 from bs4 import BeautifulSoup import requests import os URL = "https://www.7160.com/" html = requests.get(URL).text soup = BeautifulSoup(html, 'lxml') img_ul = soup.