• Stars
    star
    349
  • Rank 121,528 (Top 3 %)
  • Language
    JavaScript
  • Created over 4 years ago
  • Updated 8 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Script to download all your Snapchat memories

Snapchat-All-Memories-Downloader

This script will download all your Snapchat memories in bulk, including the timestamp.

Example

Getting your Data

With "include downloadable files" you will receive the memories but without timestamps
With "include downloadable files" enabled you will not receive a memories.json file
With "filter by date range" enabled you will not receive all your memories.

Downloading your Memories

  • Clone or Download this Repository

  • Extract the zip-file received from Snapchat in the same folder

  • Run the script:

    OPTION 1: Run locally

    • Requirements: Node.js 10+
    • Install the required modules: npm install
    • Run the script:
    node main.js
    

    OPTION 2: Run with Docker

    • Requirements: Docker
    • Build the docker container: docker build -t snapchat-all-memories-downloader .
    • Run the script
    # Mounts a Downloads folder and memories_history.json with current directory
    docker run -it --rm \
        -v $PWD/Downloads/:/app/Downloads/ \
        -v $PWD/memories_history.json:/app/json/memories_history.json \
        snapchat-all-memories-downloader -o ./Downloads/

    Optional Arguments

    Usage: main [options]
    
    A script to download Snapchat Memories
    
    Example:
      node main.js -c 50 -f ./json/memories_history.json -o Downloads
    
    Options:
      -c <number>     Number of concurrent downloads (default: 30)
      -f <path>       Filepath to memories_history.json (default: "./json/memories_history.json")
      -o <directory>  Download directory (default: "Downloads")
      -h, --help      display help for command
    

Trouble Shooting

  1. Make sure you get a fresh zip-file before running the script, links will expire over time
  2. Syntax Compilation Error -> please have a look at this issue
  3. node-gyp errors when running npm install on Windows -> install this
  4. Still problems? please make a new issue