首页 > TAG信息列表 > goalPath

Python 批量下载图片简单代码

简单代码 # 导入函数库 import requests import os import time # 创建目录 goalPath = "D:\\test" if not os.path.exists(goalPath): os.mkdir(goalPath) # url 变化部分独立 countL = "" countR = "" imgFormat = ".jpg" startIndex = 1 endI