mikf / gallery-dl

Command-line program to download image galleries and collections from several image hosting sites
GNU General Public License v2.0
11.39k stars 930 forks source link

[Instagram] gallery-dl not downloading best image quality available #2666

Closed KonoVitoDa closed 1 year ago

KonoVitoDa commented 2 years ago

I noticed this issue in this post. Using the script Instagram Download Button I got a 1440x1800px image, while with gallery-dl the downloaded image only has 1080x1350px.

Fukitsu commented 2 years ago

Related to https://github.com/mikf/gallery-dl/issues/941. Instaloader is the only tool that I know of that can download pictures in the highest resolution

bradenhilton commented 2 years ago

Are you using cookies? That link gives me a 1440x1800 image:

❯ gallery-dl -j -- "https://www.instagram.com/p/CejXi9LLCgx/"
[
  [
    ...
  ],
  [
    ...
    {
      ...
      "height": 1800,
      ...
      "width": 1440
    }
  ]
]

❯ mediainfo .\2856230145900685361.jpg
General
Complete name                            : .\2856230145900685361.jpg
Format                                   : JPEG
File size                                : 150 KiB

Image
Format                                   : JPEG
Width                                    : 1 440 pixels
Height                                   : 1 800 pixels
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Compression mode                         : Lossy
Stream size                              : 150 KiB (100%)
KonoVitoDa commented 2 years ago

Are you using cookies? That link gives me a 1440x1800 image:

I was using my login, but just tried with cookies and still got 1080x1350. I also cleared the cache. Does the Instagram page from where the cookies are exported matters?

bradenhilton commented 2 years ago

What's the output of gallery-dl --verbose -K -- "https://www.instagram.com/p/CejXi9LLCgx/"? (This may contain personal information if you care about that).

Here's mine:

Output ```console ❯ gallery-dl --verbose -K -- "https://www.instagram.com/p/CejXi9LLCgx/" [gallery-dl][debug] Version 1.22.1 [gallery-dl][debug] Python 3.10.4 - Windows-10-10.0.19044-SP0 [gallery-dl][debug] requests 2.28.0 - urllib3 1.26.9 [gallery-dl][debug] Starting KeywordJob for 'https://www.instagram.com/p/CejXi9LLCgx/' [cookies][debug] Extracting cookies from \cookies.sqlite [instagram][debug] Using InstagramPostExtractor for 'https://www.instagram.com/p/CejXi9LLCgx/' [urllib3.connectionpool][debug] Starting new HTTPS connection (1): i.instagram.com:443 [urllib3.connectionpool][debug] https://i.instagram.com:443 "GET /api/v1/media/2856230145900685361/info/ HTTP/1.1" 200 3744 Keywords for directory names: ----------------------------- category instagram fullname Naiichiru ♡ Dokomi 2022 owner_id 1603742415 post_id 2856230145900685361 post_shortcode CejXi9LLCgx subcategory post username naiichiru Keywords for filenames and --filter: ------------------------------------ category instagram date 2022-06-08 17:26:28 display_url https://scontent-lcy1-1.cdninstagram.com/v/t51.2885-15/286314818_2161426960690214_1010258721426855784_n.jpg?stp=dst-jpg_e35&_nc_ht=scontent-lcy1-1.cdninstagram.com&_nc_cat=102&_nc_ohc=zc2jah5_-o4AX-uq8y3&tn=vg42LhptRWJePtdm&edm=ALQROFkBAAAA&ccb=7-5&ig_cache_key=Mjg1NjIzMDE0NTkwMDY4NTM2MQ%3D%3D.2-ccb7-5&oh=00_AT9OW68ZU2d41P4Rq1Sek7-l12WGg1dGAPCAUIYvClPlIQ&oe=62A859B0&_nc_sid=30a2ef extension jpg filename 286314818_2161426960690214_1010258721426855784_n fullname Naiichiru ♡ Dokomi 2022 height 1800 media_id 2856230145900685361 num 1 owner_id 1603742415 post_id 2856230145900685361 post_shortcode CejXi9LLCgx shortcode CejXi9LLCgx subcategory post tagged_users[][full_name] 𝔈𝔩𝔦 tagged_users[][id] 915378882 tagged_users[][username] chaaierii username naiichiru video_url None width 1440 ```

Does the Instagram page from where the cookies are exported matters?

I'm using --cookies-from-browser so I'm not sure which ones are necessary.

Hrxn commented 2 years ago

btw:

Here's mine:

Output


 gallery-dl --verbose -K -- "https://www.instagram.com/p/CejXi9LLCgx/"
[gallery-dl][debug] Version 1.22.1
[gallery-dl][debug] Python 3.10.4 - Windows-10-10.0.19044-SP0
[gallery-dl][debug] requests 2.28.0 - urllib3 1.26.9

That requests version is very new, was literally just released 3 hours ago.

bradenhilton commented 2 years ago

That requests version is very new, was literally just released 3 hours ago.

That might be because I migrated from the release binaries of gallery-dl and yt-dlp to pip earlier today.

KonoVitoDa commented 2 years ago

What's the output of gallery-dl --verbose -K -- "https://www.instagram.com/p/CejXi9LLCgx/"? (

Before upgrading gallery-dl:

Output ``` >>gallery-dl --verbose -K -- "https://www.instagram.com/p/CejXi9LLCgx/" [gallery-dl][debug] Version 1.20.5 [gallery-dl][debug] Python 3.10.2 - Windows-10-10.0.19044-SP0 [gallery-dl][debug] requests 2.27.1 - urllib3 1.26.8 [gallery-dl][debug] Starting KeywordJob for 'https://www.instagram.com/p/CejXi9LLCgx/' [instagram][debug] Using InstagramPostExtractor for 'https://www.instagram.com/p/CejXi9LLCgx/' [urllib3.connectionpool][debug] Starting new HTTPS connection (1): www.instagram.com:443 [urllib3.connectionpool][debug] https://www.instagram.com:443 "GET /graphql/query/?query_hash=2efa04f61586458cef44441f474eee7c&variables=%7B%22shortcode%22%3A+%22CejXi9LLCgx%22%2C+%22child_comment_count%22%3A+3%2C+%22fetch_comment_count%22%3A+40%2C+%22parent_comment_count%22%3A+24%2C+%22has_threaded_comments%22%3A+true%7D HTTP/1.1" 200 7583 Keywords for directory names: ----------------------------- category instagram date 2022-06-08 17:26:28 description «  𝘠𝘰𝘶𝘳 𝘬𝘪𝘯𝘥𝘯𝘦𝘴𝘴 𝘸𝘢𝘴 .. 𝘰𝘯𝘭𝘺 𝘥𝘪𝘳𝘦𝘤𝘵𝘦𝘥 𝘵𝘰 𝘮𝘦 𝘸𝘩𝘪𝘭𝘴𝘵 𝘐 𝘸𝘢𝘴 𝘸𝘦𝘢𝘬  » I’m so happy to share this picture from Dokomi @chaaierii snapped in a second ❤️‍🩹 I love it a lot and thank it reminds me a lot of that scene from the last movie where Araragi has theses beautiful mental images of Kiss-shot . Don’t you agree? Anyway thanks Eli ♡ I couldn’t wait to post more pictures from Dokomi so here you go. #kissshotacerolaorionheartunderblade #shinobuoshino #oshinoshinobu #monogatariseries #kizumonogatari #dokomi #dokomi2022 #傷物語 #物語 #monogatari fullname Naiichiru ♡ Dokomi 2022 likes 1856 owner_id 1603742415 post_id 2856230145900685361 post_shortcode CejXi9LLCgx post_url https://www.instagram.com/p/CejXi9LLCgx/ subcategory post tags[] - #dokomi - #dokomi2022 - #kissshotacerolaorionheartunderblade - #kizumonogatari - #monogatari - #monogatariseries - #oshinoshinobu - #shinobuoshino - #傷物語 - #物語 typename GraphImage username naiichiru Keywords for filenames and --filter: ------------------------------------ category instagram date 2022-06-08 17:26:28 description «  𝘠𝘰𝘶𝘳 𝘬𝘪𝘯𝘥𝘯𝘦𝘴𝘴 𝘸𝘢𝘴 .. 𝘰𝘯𝘭𝘺 𝘥𝘪𝘳𝘦𝘤𝘵𝘦𝘥 𝘵𝘰 𝘮𝘦 𝘸𝘩𝘪𝘭𝘴𝘵 𝘐 𝘸𝘢𝘴 𝘸𝘦𝘢𝘬  » I’m so happy to share this picture from Dokomi @chaaierii snapped in a second ❤️‍🩹 I love it a lot and thank it reminds me a lot of that scene from the last movie where Araragi has theses beautiful mental images of Kiss-shot . Don’t you agree? Anyway thanks Eli ♡ I couldn’t wait to post more pictures from Dokomi so here you go. #kissshotacerolaorionheartunderblade #shinobuoshino #oshinoshinobu #monogatariseries #kizumonogatari #dokomi #dokomi2022 #傷物語 #物語 #monogatari display_url https://instagram.fnat1-1.fna.fbcdn.net/v/t51.2885-15/286314818_2161426960690214_1010258721426855784_n.jpg?stp=dst-jpg_e35_p1080x1080&_nc_ht=instagram.fnat1-1.fna.fbcdn.net&_nc_cat=102&_nc_ohc=zc2jah5_-o4AX9gFZol&tn=4WVUdNVC_95-MBbM&edm=AP_V10EBAAAA&ccb=7-5&oh=00_AT9FrfA50Xfh4kopOA0k6hxExeb4P_JCNPEnMNt6eznUfQ&oe=62A859B0&_nc_sid=4f375e extension jpg filename 286314818_2161426960690214_1010258721426855784_n fullname Naiichiru ♡ Dokomi 2022 height 1350 likes 1856 media_id 2856230145900685361 owner_id 1603742415 post_id 2856230145900685361 post_shortcode CejXi9LLCgx post_url https://www.instagram.com/p/CejXi9LLCgx/ shortcode CejXi9LLCgx subcategory post tagged_users[][full_name] 西尾維新公式情報/NISIOISIN official tagged_users[][id] 41450886241 tagged_users[][username] nisioisin_info tags[] - #dokomi - #dokomi2022 - #kissshotacerolaorionheartunderblade - #kizumonogatari - #monogatari - #monogatariseries - #oshinoshinobu - #shinobuoshino - #傷物語 - #物語 typename GraphImage naiichiru video_url None width 1080 ```

After upgrading:

Output ``` >>gallery-dl --verbose -K -- "https://www.instagram.com/p/CejXi9LLCgx/" [gallery-dl][debug] Version 1.22.1 [gallery-dl][debug] Python 3.10.2 - Windows-10-10.0.19044-SP0 [gallery-dl][debug] requests 2.27.1 - urllib3 1.26.8 [gallery-dl][debug] Starting KeywordJob for 'https://www.instagram.com/p/CejXi9LLCgx/' [instagram][debug] Using InstagramPostExtractor for 'https://www.instagram.com/p/CejXi9LLCgx/' [urllib3.connectionpool][debug] Starting new HTTPS connection (1): i.instagram.com:443 [urllib3.connectionpool][debug] https://i.instagram.com:443 "GET /api/v1/media/2856230145900685361/info/ HTTP/1.1" 200 4490 Keywords for directory names: ----------------------------- category instagram fullname Naiichiru ♡ Dokomi 2022 owner_id 1603742415 post_id 2856230145900685361 post_shortcode CejXi9LLCgx subcategory post username naiichiru Keywords for filenames and --filter: ------------------------------------ category instagram date 2022-06-08 17:26:28 display_url https://instagram.fnat1-1.fna.fbcdn.net/v/t51.2885-15/286314818_2161426960690214_1010258721426855784_n.jpg?stp=dst-jpg_e35&_nc_ht=instagram.fnat1-1.fna.fbcdn.net&_nc_cat=102&_nc_ohc=zc2jah5_-o4AX9gFZol&tn=4WVUdNVC_95-MBbM&edm=ALQROFkBAAAA&ccb=7-5&ig_cache_key=Mjg1NjIzMDE0NTkwMDY4NTM2MQ%3D%3D.2-ccb7-5&oh=00_AT_mvYfJ5z-aQva2CKKGIlrDRnsaWVv6hIbKk-_Kr2My-A&oe=62A859B0&_nc_sid=30a2ef extension jpg filename 286314818_2161426960690214_1010258721426855784_n fullname Naiichiru ♡ Dokomi 2022 1800 media_id 2856230145900685361 num 1 owner_id 1603742415 post_id 2856230145900685361 post_shortcode CejXi9LLCgx shortcode CejXi9LLCgx subcategory post tagged_users[][full_name] 𝔈𝔩𝔦 tagged_users[][id] 915378882 tagged_users[][username] chaaierii username naiichiru video_url None width 1440 ```

So the issue is solved? 🤔

KonoVitoDa commented 2 years ago

@bradenhilton :

I'm using --cookies-from-browser so I'm not sure which ones are necessary.

How to use it?

Hrxn commented 2 years ago

Either on the CLI with: gallery-dl --cookies-from-browser="firefox" <Your URL> (optionally --cookies-from-browser="browsername:profile name/path")

or in the config file like this

Fukitsu commented 2 years ago

Does getting the high resolution image only works for individual posts? I've been trying with whole profiles and it downloads the 1080x1350 version

mikf commented 1 year ago

With the latest commits, gallery-dl can now download high(er) resolution photos in all cases (up to 1440px in width), including whole profiles.

The only case that still uses an old GraphQL endpoint with low resolution media is https://www.instagram.com/USER/channel/, but it seems IG has fully replaced that with /reels/ on its website.

afterdelight commented 1 year ago

So for reels media type there is no higher resolution videos available?

Fukitsu commented 1 year ago

@afterdelight They already download at 720p which is the highest resolution available as far as I know

afterdelight commented 1 year ago

i mean there is only one resolution available for reels? Not two, like low resolution and high resolution version?

mikf commented 1 year ago

Well, at least when logged in, video posts like this one do have several available sizes.

This post has both a video_versions entry as well as a video_dash_manifest with several different resolutions and bitrates up to 1080x1920.

video_versions ``` json { "type": 101, "width": 1080, "height": 1920, "url": "https://instagram.ftxl3-2.fna.fbcdn.net/v/t50.2886-16/308417739_614897613431068_621415771447584577_n.mp4?efg=eyJ2ZW5jb2RlX3RhZyI6InZ0c192b2RfdXJsZ2VuLjEwODAuY2xpcHMuaGlnaCIsInFlX2dyb3VwcyI6IltcImlnX3dlYl9kZWxpdmVyeV92dHNfb3RmXCJdIn0&_nc_ht=instagram.ftxl3-2.fna.fbcdn.net&_nc_cat=1&_nc_ohc=TlP_JrhG0fsAX-xwQWh&edm=ACHbZRIBAAAA&vs=772965144013466_589755179&_nc_vs=HBksFQAYJEdNc1VZaEljWWRJQlB5OENBRUZuOVFwYXRwOElicV9FQUFBRhUAAsgBABUAGCRHTnNQUFFQYkIwOHJWYVlCQUlISm90S3dGcnR2YnBSMUFBQUYVAgLIAQAoABgAGwAVAAAm4rqm0eSC%2FT8VAigCQzMsF0AeqfvnbItEGBJkYXNoX2hpZ2hfMTA4MHBfdjERAHX%2BBwA%3D&_nc_rid=38cdec6e8b&ccb=7-5&oe=6335E91A&oh=00_AT-yHPfYzPOusFCVhLiDPLtVFpaDCyQ0Es96B7NQJQReFA&_nc_sid=4a9e64", "id": "772965144013466v" }, { "type": 102, "width": 480, "height": 854, "url": "https://instagram.ftxl3-1.fna.fbcdn.net/v/t50.2886-16/308168203_1305127486924788_2639542454656271701_n.mp4?efg=eyJ2ZW5jb2RlX3RhZyI6InZ0c192b2RfdXJsZ2VuLjQ4MC5jbGlwcy5iYXNlbGluZSIsInFlX2dyb3VwcyI6IltcImlnX3dlYl9kZWxpdmVyeV92dHNfb3RmXCJdIn0&_nc_ht=instagram.ftxl3-1.fna.fbcdn.net&_nc_cat=100&_nc_ohc=CuDGiR26PMMAX_H3GK9&edm=ACHbZRIBAAAA&vs=417430513818058_3522082399&_nc_vs=HBksFQAYJEdBdEdYaEwwcHo2c0FhTUVBRldGV2F2Z2lhRWticV9FQUFBRhUAAsgBABUAGCRHTnNQUFFQYkIwOHJWYVlCQUlISm90S3dGcnR2YnBSMUFBQUYVAgLIAQAoABgAGwAVAAAm4rqm0eSC%2FT8VAigCQzMsF0AeqfvnbItEGBJkYXNoX2Jhc2VsaW5lXzJfdjERAHX%2BBwA%3D&_nc_rid=38cdec6e8b&ccb=7-5&oe=6335561A&oh=00_AT-QlF6SuI8eRFlpnqQP_xTai0XojI1IzTm5F0xBuKUULQ&_nc_sid=4a9e64", "id": "417430513818058v" }, { "type": 103, "width": 480, "height": 854, "url": "https://instagram.ftxl3-1.fna.fbcdn.net/v/t50.2886-16/308168203_1305127486924788_2639542454656271701_n.mp4?efg=eyJ2ZW5jb2RlX3RhZyI6InZ0c192b2RfdXJsZ2VuLjQ4MC5jbGlwcy5iYXNlbGluZSIsInFlX2dyb3VwcyI6IltcImlnX3dlYl9kZWxpdmVyeV92dHNfb3RmXCJdIn0&_nc_ht=instagram.ftxl3-1.fna.fbcdn.net&_nc_cat=100&_nc_ohc=CuDGiR26PMMAX_H3GK9&edm=ACHbZRIBAAAA&vs=417430513818058_3522082399&_nc_vs=HBksFQAYJEdBdEdYaEwwcHo2c0FhTUVBRldGV2F2Z2lhRWticV9FQUFBRhUAAsgBABUAGCRHTnNQUFFQYkIwOHJWYVlCQUlISm90S3dGcnR2YnBSMUFBQUYVAgLIAQAoABgAGwAVAAAm4rqm0eSC%2FT8VAigCQzMsF0AeqfvnbItEGBJkYXNoX2Jhc2VsaW5lXzJfdjERAHX%2BBwA%3D&_nc_rid=38cdec6e8b&ccb=7-5&oe=6335561A&oh=00_AT-QlF6SuI8eRFlpnqQP_xTai0XojI1IzTm5F0xBuKUULQ&_nc_sid=4a9e64", "id": "417430513818058v" } ```
video_dash_manifest ``` xml https://instagram.ftxl3-2.fna.fbcdn.net/v/t50.2886-16/308417739_614897613431068_621415771447584577_n.mp4?_nc_ht=instagram.ftxl3-2.fna.fbcdn.net&_nc_cat=1&_nc_ohc=TlP_JrhG0fsAX-xwQWh&edm=ACHbZRIBAAAA&ccb=7-5&oh=00_AT-78wkvLMyR7PdFoDX00pbD7gBzdU6zZiHgLSjX4kXzzQ&oe=6335E91A&_nc_sid=4a9e64 https://instagram.ftxl3-2.fna.fbcdn.net/v/t50.2886-16/308043306_1312699892810668_9202219863280756906_n.mp4?_nc_ht=instagram.ftxl3-2.fna.fbcdn.net&_nc_cat=1&_nc_ohc=p3udNx9tL6QAX_8Y1wT&tn=UwF9HRmIF2Tvw0up&edm=ACHbZRIBAAAA&ccb=7-5&oh=00_AT9qYu4zRbH_lsa8m2G7z1B6LQErMxI5bcOAQsu2GM803A&oe=63363FD7&_nc_sid=4a9e64 https://instagram.ftxl3-2.fna.fbcdn.net/v/t50.2886-16/307640636_158965113408719_5036532876903927956_n.mp4?_nc_ht=instagram.ftxl3-2.fna.fbcdn.net&_nc_cat=1&_nc_ohc=LpDXgSWgZCoAX82ks2A&edm=ACHbZRIBAAAA&ccb=7-5&oh=00_AT-i1EUzPjOS-PGCffA6M4AvDSp5UsrTkmgZQcuuVX5w0g&oe=6335BAB6&_nc_sid=4a9e64 https://instagram.ftxl3-2.fna.fbcdn.net/v/t50.2886-16/306864951_5169322723194924_3173478750726888937_n.mp4?_nc_ht=instagram.ftxl3-2.fna.fbcdn.net&_nc_cat=1&_nc_ohc=5BDHJ7wInOMAX-RTNpa&tn=UwF9HRmIF2Tvw0up&edm=ACHbZRIBAAAA&ccb=7-5&oh=00_AT8VpPFzsC9dnj2qLQF5rbTRS4FMyj9iu2tecZZLW_zrDg&oe=6335D688&_nc_sid=4a9e64 https://instagram.ftxl3-2.fna.fbcdn.net/v/t50.2886-16/308548679_415015710775424_8863549071995053098_n.mp4?_nc_ht=instagram.ftxl3-2.fna.fbcdn.net&_nc_cat=1&_nc_ohc=BCdwZmgEYB0AX_17Yl4&edm=ACHbZRIBAAAA&ccb=7-5&oh=00_AT84Kkg0pdiqSkaAUNfGWyL_K6fx61SBqhwrVLbKAZisRg&oe=6336700B&_nc_sid=4a9e64 https://instagram.ftxl3-2.fna.fbcdn.net/v/t66.30100-16/54333403_464359705741275_8051053707558832513_n.mp4?_nc_ht=instagram.ftxl3-2.fna.fbcdn.net&_nc_cat=1&_nc_ohc=B7BmhB_jpAAAX-ds87U&edm=ACHbZRIBAAAA&ccb=7-5&oh=00_AT9RDkB_YClkJxeXcTwd_5czf6xLvHGYJlChtm8--tLv7A&oe=6335E43E&_nc_sid=4a9e64 ```

gallery-dl only extracts the highest resolution version from video_versions due to lacking DASH support. There is also no option to make it select a lower quality one.

afterdelight commented 1 year ago

Why is the bitrate info isnt available to see? What about video stories? Does gallery-dl grab the highest resolution too?

mikf commented 1 year ago

Why is the bitrate info isnt available to see?

It is available as bandwidth in the DASH manifest.

What about video stories? Does gallery-dl grab the highest resolution too?

Yes, always has been.

FriendlyUser10 commented 1 year ago

With the latest commits, gallery-dl can now download high(er) resolution photos in all cases (up to 1440px in width), including whole profiles.

The only case that still uses an old GraphQL endpoint with low resolution media is https://www.instagram.com/USER/channel/, but it seems IG has fully replaced that with /reels/ on its website.

Is there a specific option needed to use the latest commits for a whole profile? I just got the new .exe, but I'm still getting the 1080x1350 when downloading by profile; I checked an individual post and it was able to be a 1440px DL that way.

Hrxn commented 1 year ago

What do yo mean by new .exe? The latest build artifacts from here? https://github.com/mikf/gallery-dl/actions/workflows/executables.yml

Then the latest changes should be included. They're not included in the latest release version 1.23.1

afterdelight commented 1 year ago

install version 1.23.2 https://github.com/mikf/gallery-dl/releases/tag/v1.23.2

Hrxn commented 1 year ago

Does the Instagram page from where the cookies are exported matters?

I'm using --cookies-from-browser so I'm not sure which ones are necessary.

Is there still any benefit in using this over "username" and "password"? (Has there ever been?)

I could not find any mentions here in the issues about which cookies are necessary and which aren't..

It's probably not so simple as Twitter, where you only need "auth_token" and "ct0"?

I just checked in Chrome, and I have 9 different cookies on my Instagram page..

mikf commented 1 year ago

You only "need" sessionid for Instagram, but I'd think it is far less suspicious to use all the cookies Instagram hands out to a real browser in terms of bot detection than using only one.

The login performed by gallery-dl with given username and password "works" in the sense that it manages to get a sessionid cookie, but it would be very easy for IG to detect that it is not a real browser that is logging in.

Hrxn commented 1 year ago

Right, makes sense. It seems there's also a csrftoken cookie now, which I assume gets used for cross site request forgery detection? Also, there is rur, which has a per-session expiry..

Using exported cookies is probably more reliable, then?

mikf commented 1 year ago

csrftoken tokens get used since 447488fb1876f507a6409be12864e9f22cac83e6, but any csrf cookies just get overwritten with a randomly generated value.

https://github.com/mikf/gallery-dl/blob/fce6642699b85c849c33f2a6acaf42bc90710d85/gallery_dl/extractor/instagram.py#L39 https://github.com/mikf/gallery-dl/blob/fce6642699b85c849c33f2a6acaf42bc90710d85/gallery_dl/extractor/instagram.py#L132-L133

Exported cookies is what I'm personally using together with "cookies-update": false (only to reduce unnecessary disk writes) and it works for at least a few months before IG doesn't accept the login session anymore.

Hrxn commented 1 year ago

Good to know. I'm also using exported cookies for Instagram now..

But why could disk writes be an issue with "cookies-update": true? How many writes can it be?