2020-05-08 18:58:04 +00:00
|
|
|
# [Instaloader](https://instaloader.github.io/)
|
2020-02-08 04:51:32 +00:00
|
|
|
|
2020-05-08 18:58:04 +00:00
|
|
|
Should install Instaloader with Python venv.
|
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
|
2020-04-18 20:21:04 +00:00
|
|
|
```
|
|
|
|
|
2020-05-11 17:59:01 +00:00
|
|
|
Want more custom? Add to `args.txt`.
|
|
|
|
|
|
|
|
Downloading posts:
|
2020-04-18 20:21:04 +00:00
|
|
|
|
|
|
|
```txt
|
2020-02-08 04:51:32 +00:00
|
|
|
--fast-update
|
2020-04-18 20:21:04 +00:00
|
|
|
```
|
|
|
|
|
2020-05-11 17:59:01 +00:00
|
|
|
Downloading only stories:
|
2020-04-18 20:21:04 +00:00
|
|
|
|
|
|
|
```txt
|
|
|
|
--stories
|
|
|
|
--no-posts
|
|
|
|
```
|
|
|
|
|
2020-05-11 17:59:01 +00:00
|
|
|
Downloading only hightlights:
|
2020-04-18 20:21:04 +00:00
|
|
|
|
|
|
|
```txt
|
|
|
|
--highlights
|
|
|
|
--no-posts
|
2020-02-08 04:51:32 +00:00
|
|
|
```
|
|
|
|
|
2020-05-11 17:59:01 +00:00
|
|
|
Filter posts:
|
|
|
|
|
|
|
|
```txt
|
|
|
|
--post-filter="date_utc <= datetime(2020, 6, 30)"
|
|
|
|
```
|
|
|
|
|
|
|
|
Finally run, remember to change `targetname1`, `targetname2`, ... to your target:
|
2020-02-08 04:51:32 +00:00
|
|
|
|
|
|
|
```sh
|
|
|
|
instaloader +args.txt targetname1 targetname2
|
|
|
|
```
|