楼主:
hoho8 (hoho)
2021-03-13 11:15:34在浏览器上按右键存图,档案日期会是当下时间
如果用 FlashGet 之类续传软件,那日期是对方当初建立的时间
试着用下面的 code 抓 google logo,日期也是会被改变
有什么方法才能存到"原始档"呢?
import requests
url ='https://www.google.com/images/branding/googlelogo/1x/googlelogo_color_27
2x92dp.png'
res = requests.get(url)
with open('c:\\google.png', 'wb') as f:
f.write(res.content)
https://i.imgur.com/srG96Z6.png
作者: fiorentino (眠) 2021-03-13 14:15:00
你的程式码是开启新档把资料写入, 所以会是执行那天的日期