Snapchat一次下载所有记忆 [英] Snapchat download all memories at once

查看:72
本文介绍了Snapchat一次下载所有记忆的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这些年来,我已经保存了很多现在想检索的照片,问题是它们很难导出,但是幸运的是,如果您上网了,可以请求所有数据(太好了)

Over the years on snapchat I have saved lots of photos that I would like to retrieve now, The problem is they do not make it easy to export, but luckily if you go online you can request all the data (thats great)

我可以看到我所有的照片下载链接,如果单击下载开始使用本地HTML文件,则可以使用该文件.

I can see all my photos download link and using the local HTML file if I click download it starts downloading.

这是棘手的部分,我需要进行约15,000次下载,手动单击每个人都会花很多时间,我尝试通过下载按钮提取所有链接,这会产生很多Urls(),但是问题是,如果您将该网址粘贴到浏览器中,则会出现(错误:此网址不支持HTTP方法GET").

Here's where the tricky part is, I have around 15,000 downloads I need to do and manually clicking each individual one will take ages, I've tried extracting all of the links through the download button and this creates lots of Urls (Great) but the problem is, if you past the url into the browser then ("Error: HTTP method GET is not supported by this URL") appears.

我尝试了多种不同的chrome扩展名,但没有一个显示实际下载的内容,只是左侧的HTML.

I've tried a multitude of different chrome extensions and none of them show the actually download, just the HTML which is on the left-hand side.

下载按钮是可点击的链接,该链接仅在选项卡中开始下载.它属于Href A

The download button is a clickable link that just starts the download in the tab. It belongs under Href A

我正在尝试找出批量下载每个单独文件的最佳方法是什么.

I'm trying to figure out what the best way of bulk downloading each of these individual files is.

推荐答案

因此,我只是通过下载自己的记忆来观看他们的代码.他们使用自定义JavaScript函数下载您的数据(主体中带有ID的POST请求).

So, I just watched their code by downloading my own memories. They use a custom JavaScript function to download your data (a POST request with ID's in the body).

您可以复制此请求,但也可以仅使用其方法.打开控制台并使用 downloadMemories(< url>)

You can replicate this request, but you can also just use their method. Open your console and use downloadMemories(<url>)

或者,如果您没有这些网址,则可以自己检索它们:

Or if you don't have the urls you can retrieve them yourself:

var links = document.getElementsByTagName("table")[0].getElementsByTagName("a");
eval(links[0].href);

更新

我为此编写了一个脚本: https://github.com/ToTheMax/Snapchat-all-memories-downloader

I made a script for this: https://github.com/ToTheMax/Snapchat-All-Memories-Downloader

这篇关于Snapchat一次下载所有记忆的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆