- Install the latest version of Python
- Clone this repo
git clone https://github.com/dt-wark/instanon.git
- Create and activate virtual environment
python3 -m venv venv
source venv/bin/activate
- Install dependencies
pip3 install -r requirements.txt
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
python3 instanon.py -u katie_westwood -u sharishanya --stories --chaos --output "/mnt/e/instagram"
python3 instanon.py -u katie_westwood --highlights --output "/mnt/e/instagram"
python3 instanon.py -u katie_westwood --stories
# 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
-
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:
@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""