[爬取豆瓣坂本龙一 Ryuichi Sakamoto图片] 成果: (多线程访问速度过快导致极少部分无法下载,需要完全下载可time.sleep()) [下方附代码与部分知识点解析] [代码链接:https://paste.ubuntu.com/p/TYhCK4vnbB/] import threading import time def multi_thread(): t1 = threading.Thread(target=coding) t2 = threading.Thread(target=drawing) t1.start() t2.start()