All Projects → tensojka → instastories-backup

tensojka / instastories-backup

Licence: MIT license
Backup your friends' Instagram Stories forever and get to keep them even after 24 hours.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to instastories-backup

bakelite
Incremental backup with strong cryptographic confidentiality baked into the data model.
Stars: ✭ 118 (+43.9%)
Mutual labels:  backup
Hangons
Web app to parse and save your Hangouts.json file into a more friendly format.
Stars: ✭ 45 (-45.12%)
Mutual labels:  backup
rpi-backup
raspberry pi backup,树莓派系统备份,最小镜像备份
Stars: ✭ 213 (+159.76%)
Mutual labels:  backup
laravel-database-manager
Make your database simple, easier and faster with vuejs.
Stars: ✭ 50 (-39.02%)
Mutual labels:  backup
MailcowBackup
Script to backup/restore Mailcow and the host system using borgbackup. Handles 503 error page generation, mailflow stop/restart, SQL database dump, borg backup and prune and integrates with Logwatch for easy monitoring.
Stars: ✭ 28 (-65.85%)
Mutual labels:  backup
connect-backup
A tool to backup and restore AWS Connect, with some useful other utilities too
Stars: ✭ 19 (-76.83%)
Mutual labels:  backup
teledrive
TeleDrive lets you automatically backup all your files to telegram saved messages - this means FREE, UNLIMITED storage
Stars: ✭ 126 (+53.66%)
Mutual labels:  backup
qdaily-backup
好奇心日报备份(HTML格式)
Stars: ✭ 57 (-30.49%)
Mutual labels:  backup
ekstertera
Linux GUI клиент для работы с Яндекс.Диск (Yandex.Disk) через REST API
Stars: ✭ 33 (-59.76%)
Mutual labels:  backup
ocsinventory
📚 Curso GRÁTIS OCS Inventory NG e GLPI Help Desk REPOSITÓRIO CONGELADO - Esse repositório não irá mais receber atualizações.
Stars: ✭ 58 (-29.27%)
Mutual labels:  backup
AutoFetcher-IG-Stories-to-GDrive
A Google Apps Script for deploying a web application that automatically fetches the latest available IG Stories of a target Instagram user to your Google Drive.
Stars: ✭ 54 (-34.15%)
Mutual labels:  instagram-stories
instagram
Php instagram library. With this library, you can use many of the same features in the mobile application.
Stars: ✭ 45 (-45.12%)
Mutual labels:  instagram-stories
elcarro-oracle-operator
El Carro is a new project that offers a way to run Oracle databases in Kubernetes as a portable, open source, community driven, no vendor lock-in container orchestration system. El Carro provides a powerful declarative API for comprehensive and consistent configuration and deployment as well as for real-time operations and monitoring.
Stars: ✭ 204 (+148.78%)
Mutual labels:  backup
vbo365-rest
Unofficial Self-Service Web Portal for Veeam Backup for Microsoft Office 365
Stars: ✭ 44 (-46.34%)
Mutual labels:  backup
bak
The bakfile manager
Stars: ✭ 22 (-73.17%)
Mutual labels:  backup
gravity
User-space deniable data encryption client.
Stars: ✭ 89 (+8.54%)
Mutual labels:  backup
BUFFY
Back Up Files For You
Stars: ✭ 19 (-76.83%)
Mutual labels:  backup
aws-tag-sched-ops
Retired, please see https://github.com/sqlxpert/lights-off-aws
Stars: ✭ 24 (-70.73%)
Mutual labels:  backup
loopertrx
import/export audio data from some looper pedals
Stars: ✭ 29 (-64.63%)
Mutual labels:  backup
snap-sync
Use snapper snapshots to backup to external drive
Stars: ✭ 104 (+26.83%)
Mutual labels:  backup

Instagram Stories Backup

This script lets you download stories of select users.

Install

First, clone this repo.

This requires Python 3 and pip to be installed. You can download Python 3 at python.org/downloads. pip should be installed automatically with Python.

Next, run this in terminal in the directory where you cloned this to.

# pip3 install -r requirements.txt

Setup authentication with Instagram

Instagram allows only authenticated users to watch (and download) stories if you are not logged in. If you do not use 2FA on your IG account, it's preferred that you enter your username and password in the prefs.json file. If you do use 2FA or for some reason do not want to store your credentials in a file, you can login into Instagram from a browser and copy your session cookie to prefs.json.

Username and password

Open the prefs.json file in a text editor and replace insert username and insert password with credentials for an Instagram account.

Provide the cookies

You will need to get the cookie: header to be sent to Instagram to authenticate it's you.To obtain the cookie, login into http://instagram.com.

In Chrome: Open Developer Tools, change to the Network tab, reload instagram.com, scroll up in the request list, click instagram.com, find cookie: under Request headers in the Headers pane. Copy the contents of cookie:.

Then open prefs.json in a text editor. Add a cookie field like this:

...
"cookie": "PASTE HERE",
...

Note: older syntax with a headers field is still valid.

Select users to backup

Edit the "usernames:" section of prefs.json, replacing the examples with usernames of users whose Stories you want to backup.

Usernames of Instagram users change pretty frequently. What doesn't change is their IDs.

After the first run of the script, the usernames field of prefs.json will get changed to ids, so don't be surprised.

Usage

To run the program:

$ python3 main.py

You will have to run it every 24 hours in order to catch all Stories by the people you follow before they disappear.

You can set quiet in prefs.json to suppress all program output except errors. Useful for running via cron.

Where do I find the downloaded media?

Media is saved in the directory specified in prefs.json as filesdir. By default, that is ./files.

There is a folder for every user, named after their first encountered username. If a user changes their username, even their new Stories will get backed up to the folder with the users first encountered name.

Navigating program output

Exclamation marks (!) mean that a Stories entry we tried to crawl is already in the database and dots (.) mean that an entry has been successfully added to the database.

Issues?

If the script doesn't work for you, please check closed issues on Github. If you encounter a new error or the proposed solution doesn't work for you, open a new issue.

Contributing

If you are thinking about adding a new feature to this script, please open an issue first to discuss if the new feature would be a good fit.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].