使用Python语言编写。
imgUrl
= "https://p16-va-tiktok.ibyteimg.com/img/musically-maliva-obj/1645136815763462~c5_100x100.webp"
downloadPath
= "D://aaaaa/b.jpg"
img
= requests
.get
(imgUrl
).content
with open(downloadPath
, 'wb') as data_file
:
data_file
.write
(img
)
转载请注明原文地址:https://ipadbbs.8miu.com/read-16194.html