Skip to content
This repository has been archived by the owner on Jan 19, 2021. It is now read-only.

kerogenesis/instanon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Download Instagram stories or highlights anonymously

Dependencies Status

Setup

  1. Install the latest version of Python
  2. Clone this repo
git clone https://github.com/dt-wark/instanon.git
  1. Create and activate virtual environment
python3 -m venv venv
source venv/bin/activate
  1. Install dependencies
pip3 install -r requirements.txt

Usage

Options:
  -u, --users        Instagram username(s)
  -s, --stories      Download stories
  -h, --highlights   Download highlights
  -o, --output       Directory for data storage
  -c, --chaos        Save stories in one directory

Example:

Download stories and save them to /mnt/e/instagram directory

python3 instanon.py -u katie_westwood -u sharishanya --stories --chaos --output "/mnt/e/instagram"

Download highlights and save them to /mnt/e/instagram directory

python3 instanon.py -u katie_westwood --highlights --output "/mnt/e/instagram"

Download stories and save them to instanon script directory with script_run_days directories

python3 instanon.py -u katie_westwood --stories

Tasks Automation

Linux/osx

cron

# run the script every day at 1 p.m.
0 13 * * * root source /path/to/virtualenv/bin/activate && python3.8 /path/to/instanon/instanon.py -u USER --stories

Windows

Windows Task Scheduler

  • Press Win+R → type taskschd.msc

  • In the Task Scheduler window, go to the Task Scheduler Library row, go to the Actions column on the right. There, click "Create Task" link, to open the wizard bearing the same name.

  • Enter a name and a description for your new task. Example:

  • Also select "Run whether user is logged on or not", choose HIDDEN option and сhoose the configuration for Windows 10.

  • In the Triggers tab, click New... and set the script runtime.

  • In the Actions tab, enter your Python path, script options and script folder path. Example:


You can also create a batch script on your desktop and run it if necessary.

@echo off
cmd /c "E:\path\to\venv\Scripts\python.exe E:\path\to\instanon.py -u USER1 -u USER2 -s -o "E:\your\path""