我已经意识到,有很多方法可以将文件保存在您的计算机或服务器根目录中进行下载,但我找不到一种方法来对google相册中的特定图像执行此操作。
<div class="the-content">
<p><img class="b-lazy" id="portrait" src="https://image from google photos" align="" width="300" height="103000" alt="about">
<a href="https://photos.google.com/SAME IMAGE FROM GOOGLE PHOTOS ALBUM">
<button>GET</button>发布于 2020-03-14 07:58:54
使用a元素的download属性应该可以满足您的要求。
<a href="https://google.com/image/image.jpg" download>Download image.jpg</a>
or
<a href="https://google.com/image/image.jpg" download="rooster.jpg">Download image.jpg with the name rooster.jpg</a>https://stackoverflow.com/questions/60678266
复制相似问题