An easy way to backup all of your Instagram direct messages in an Instagram direct thread.
This program will save all of your messages in output/dump_file.csv
directory and download all of thread media in output
.
python main.py -u <username> -p <password> -t <thread-title>
CSV headers are :
- UserID
- Message
- ItemID
- Timestamp
python main.py -u <username> -p <password> -t <thread-title> --remove True
Every thread has title.
When you are texting to your friend in Instagram direct , You will see your friend's username in title (header). That is thread-title
.
Use --debug True
to see logs in stdout. Use --log-file
to write logs into specific file.