til/Applications/Misc/Instaloader.md

49 lines
695 B
Markdown
Raw Normal View History

2020-05-08 18:58:04 +00:00
# [Instaloader](https://instaloader.github.io/)
2020-02-08 04:51:32 +00:00
2021-07-04 10:29:06 +00:00
Should install Instaloader with Python venv:
```sh
# Activate venv
python3 -m pip install instaloader
```
2020-02-08 04:51:32 +00:00
2020-05-08 18:58:04 +00:00
Create `args.txt`, remember to change `username` with your real username:
2020-02-08 04:51:32 +00:00
```txt
2020-04-18 20:21:04 +00:00
--login=username
--sessionfile=./session
2020-02-08 04:51:32 +00:00
--no-video-thumbnails
--no-captions
--no-metadata-json
2021-07-04 10:29:06 +00:00
--fast-update
2020-04-18 20:21:04 +00:00
```
2021-07-09 16:43:11 +00:00
Download stories:
2020-04-18 20:21:04 +00:00
```txt
--stories
--no-posts
2021-07-04 10:29:06 +00:00
--no-profile-pic
2020-04-18 20:21:04 +00:00
```
2021-07-09 16:43:11 +00:00
Download highlights:
2020-04-18 20:21:04 +00:00
```txt
--highlights
--no-posts
2021-07-04 10:29:06 +00:00
--no-profile-pic
2020-02-08 04:51:32 +00:00
```
2021-07-04 10:29:06 +00:00
Create `targets.txt`
2020-05-11 17:59:01 +00:00
```txt
2021-07-04 10:29:06 +00:00
targetname1
targetname2
2020-05-11 17:59:01 +00:00
```
2021-07-09 16:43:11 +00:00
Example how to run, remember to rename `???` to your actual filename config:
2020-02-08 04:51:32 +00:00
```sh
2021-07-09 16:43:11 +00:00
python3 -m instaloader +args.txt +??? +targets.txt
2020-02-08 04:51:32 +00:00
```