Closed greatghoul closed 4 years ago
如果你安装了 ffmpeg 的话,可以使用
for x in ls *.webp; do ffmpeg -i $x $x.png; done
来把 webp 图片转换成 png 格式。(不过我觉得其实 webp 更好一些?反正是为了存档)
@yitong-ovo 除了放 Google Photos (怕和日常的照片人脸搞混,不好管理),国外有没有什么可以稳定存储大量图片的地方?没有分享需求
看看 https://www.backblaze.com/b2/cloud-storage.html ?价格挺好的,1TB 是 $5.12。
@yitong-ovo 有没有免费的,我说的大量也就顶多几千张而已。
感觉最靠谱的方式就是用另一个 google 帐号存这些照片了。图床之类的也....其实也不是不行了。
greatghoul notifications@github.com 于2019年3月23日周六 下午10:22写道:
@yitong-ovo https://github.com/yitong-ovo 有没有免费的,我说的大量也就顶多几千张而已。
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/greatghoul/profile/issues/23#issuecomment-475873846, or mute the thread https://github.com/notifications/unsubscribe-auth/AOL_r7xuJLWARAtiaPgWvC5r1PULx-Ddks5vZjiigaJpZM4cE5fr .
@yitong-ovo 倒是一个可行的方法,我想起来我正好还有个 Google 账号
哪天 Google 说要关闭 Google Photos 咋办(手动滑稽)
万恶的 Google 又要关闭 G+ 了,双马尾控的建哥在 G+ 上还关注着一个 ♥ I Love Pigtails ♥ 的 Collection,里面有很多金发+双马尾+好身材的欧美性感妹子图,和亚洲的双马尾完全不一样的风格,真要是关闭了,以后就看不到了。
可恶,得想办法把这些妹子取回家!。
然而 Google 提供的工具却只支持下载自己的数据,别人的数据,就没有什么好的办法了,大致的找了一个,没有什么趁手的工具,这时就需要用爱发电,自己创造工具了。
数据抓取,成本最小的,应该就是 DevTools Console 运行 JavaScript 了,不需要安装什么额外的编程环境,只要拿到所有的图片链接,剩下的事情就简单了。
Google Plus 是瀑布流式加载的,所以只要不断的把页面向下滚动,就可以拿到所有数据了,但是张张手动保存是不现实的,这里就需要编程了。
在打开的 Google Plus 页面的 JavaScript Console 中运行上面的代码,它做了下面几件事。
window.printImages()
输出所有的图片 url最后得到这样的结果
接下来就是批量下载了,我的电脑上装有 FDM,所以我直接用它下载,你当然也可以换成其它批量下载的方法。
下载完成后遇到一个小问题,下载的图片都是 webp 格式,这个格式在 macOS 下面是没有办法预览的,你需要安装一个插件。
https://github.com/emin/WebPQuickLook
至此,发电完成。