-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathcli-options.html
680 lines (620 loc) · 48.5 KB
/
cli-options.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
<!DOCTYPE html>
<html lang="en" data-content_root="./">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Command Line Options — Instaloader documentation</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=377f2d93" />
<link rel="stylesheet" type="text/css" href="_static/basic.css?v=fb9458d3" />
<link rel="stylesheet" type="text/css" href="_static/instaloaderdoc.css?v=d1e01417" />
<script src="_static/jquery.js?v=5d32c60e"></script>
<script src="_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
<script src="_static/documentation_options.js?v=5929fcd5"></script>
<script src="_static/doctools.js?v=9a2dae69"></script>
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="_static/instaloaderdoc.js?v=d3bfff1a"></script>
<script src="_static/instaloaderdoc.js"></script>
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />
<link rel="next" title="Python Module instaloader" href="as-module.html" />
<link rel="prev" title="Download Pictures from Instagram" href="basic-usage.html" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="google-site-verification" content="FNUsDdkOJM9obm9QEdrNBVd9AtAzHzA-aaSMCUrS6C8"/>
<link rel="canonical" href="https://instaloader.github.io/cli-options.html"/>
</head><body>
<nav class="navbar navbar-light navbar-expand bg-light border-bottom">
<a class="navbar-brand" href="index.html">
<img src="_static/logo.png" width="30" height="30" class="d-inline-block align-top" alt="logo">
<span class="ml-3">Instaloader</span>
</a>
<ul class="navbar-nav mr-auto">
<li class="nav-item ml-0 ml-sm-2">
<a class="nav-link"
href="https://github.com/instaloader/instaloader/releases/tag/v4.14.1"
title="Released on 24 Jan 2025" data-toggle="tooltip">
v<b>4.14.1</b>
</a>
</li>
</ul>
<ul class="navbar-nav ml-auto d-none d-sm-flex">
<li class="nav-item">
<a class="nav-link" href="https://github.com/instaloader/instaloader/issues">
Issues
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="https://github.com/instaloader/instaloader/releases">
Releases
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="https://github.com/instaloader/instaloader">
GitHub
</a>
</li>
</ul>
<button class="d-inline-block d-md-none btn btn-outline-primary btn-sm" type="button"
data-toggle="collapse" data-target="#instaloaderdocSidebar" aria-controls="instaloaderdocSidebar"
aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
</nav>
<div class="container-fluid">
<div class="row">
<div class="instaloaderdoc-sidebar collapse d-md-block col-md-3 col-xl-2 bg-light"
id="instaloaderdocSidebar">
<nav role="navigation" aria-label="Table of Contents">
<form action="search.html" method="get" role="search" class="border-bottom mr-2 pb-2 mb-2 px-1">
<label class="sr-only" for="searchQueryInput">Search</label>
<input type="search" name="q" id="searchQueryInput" class="form-control my-2"
placeholder="Search..." aria-label="Search">
</form>
<h4>Contents</h4>
<ul class="current">
<li class="toctree-l1"><a class="reference internal" href="installation.html">Install Instaloader</a></li>
<li class="toctree-l1"><a class="reference internal" href="basic-usage.html">Download Pictures from Instagram</a></li>
<li class="toctree-l1 current"><a class="current reference internal" href="#">Command Line Options</a><ul>
<li class="toctree-l2"><a class="reference internal" href="#targets">Targets</a></li>
<li class="toctree-l2"><a class="reference internal" href="#what-to-download-of-each-post">What to Download of each Post</a></li>
<li class="toctree-l2"><a class="reference internal" href="#what-to-download-of-each-profile">What to Download of each Profile</a></li>
<li class="toctree-l2"><a class="reference internal" href="#which-posts-to-download">Which Posts to Download</a></li>
<li class="toctree-l2"><a class="reference internal" href="#login-download-private-profiles">Login (Download Private Profiles)</a></li>
<li class="toctree-l2"><a class="reference internal" href="#how-to-download">How to Download</a></li>
<li class="toctree-l2"><a class="reference internal" href="#miscellaneous-options">Miscellaneous Options</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="as-module.html">Python Module <code class="xref py py-mod docutils literal notranslate"><span class="pre">instaloader</span></code></a></li>
<li class="toctree-l1"><a class="reference internal" href="codesnippets.html">Advanced Instaloader Examples</a></li>
<li class="toctree-l1"><a class="reference internal" href="troubleshooting.html">Troubleshooting</a></li>
<li class="toctree-l1"><a class="reference internal" href="contributing.html">Contributing to Instaloader</a></li>
</ul>
</nav>
</div>
<main class="col-12 col-md-9 col-xl-10 pt-2" role="main">
<section id="command-line-options">
<span id="id1"></span><h1>Command Line Options<a class="headerlink" href="#command-line-options" title="Link to this heading">¶</a></h1>
<p>Instaloader is invoked with:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span>$ instaloader [options] target [target ...]
</pre></div>
</div>
<p>where <code class="docutils literal notranslate"><span class="pre">target</span></code> is a <code class="docutils literal notranslate"><span class="pre">profile</span></code>, a <code class="docutils literal notranslate"><span class="pre">"#hashtag"</span></code>, <code class="docutils literal notranslate"><span class="pre">@profile</span></code> (all profiles
that <em>profile</em> is following), <code class="docutils literal notranslate"><span class="pre">%location</span> <span class="pre">ID</span></code>, or if logged in <code class="docutils literal notranslate"><span class="pre">:feed</span></code> (pictures from your
feed), <code class="docutils literal notranslate"><span class="pre">:stories</span></code> (stories of your followees) or <code class="docutils literal notranslate"><span class="pre">:saved</span></code> (collection of
posts marked as saved).</p>
<p>Here we explain the additional options that can be given to Instaloader to
customize its behavior. For an
introduction on how to use Instaloader, see
<a class="reference internal" href="basic-usage.html#download-pictures-from-instagram"><span class="std std-ref">Download Pictures from Instagram</span></a>.</p>
<p>To get a list of all flags, their abbreviations and
their descriptions, you may also run:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">instaloader</span> <span class="o">--</span><span class="n">help</span>
</pre></div>
</div>
<section id="targets">
<h2>Targets<a class="headerlink" href="#targets" title="Link to this heading">¶</a></h2>
<p>Specify a list of targets. For each of these, Instaloader creates a folder and
stores all posts along with the pictures’ captions there.</p>
<p>Instaloader supports the following targets:</p>
<ul>
<li><dl>
<dt><code class="docutils literal notranslate"><span class="pre">profile</span></code></dt><dd><p>Public profile, or private profile with <a class="reference internal" href="#login"><span class="std std-ref">login</span></a>.</p>
<p>If an already-downloaded profile has been renamed, Instaloader automatically
finds it by its unique ID and renames the folder accordingly.</p>
<p>Besides the profile’s posts, its current profile picture is downloaded. For
each profile you download,</p>
<ul class="simple">
<li><dl class="simple">
<dt><a class="reference internal" href="#cmdoption-stories"><code class="xref std std-option docutils literal notranslate"><span class="pre">--stories</span></code></a></dt><dd><p>instructs Instaloader to also <strong>download the user’s stories</strong>,</p>
</dd>
</dl>
</li>
<li><dl class="simple">
<dt><a class="reference internal" href="#cmdoption-highlights"><code class="xref std std-option docutils literal notranslate"><span class="pre">--highlights</span></code></a></dt><dd><p>to <strong>download the highlights of that profile</strong>,</p>
</dd>
</dl>
</li>
<li><dl class="simple">
<dt><a class="reference internal" href="#cmdoption-tagged"><code class="xref std std-option docutils literal notranslate"><span class="pre">--tagged</span></code></a></dt><dd><p>to <strong>download posts where the user is tagged</strong>, and</p>
</dd>
</dl>
</li>
<li><dl class="simple">
<dt><a class="reference internal" href="#cmdoption-reels"><code class="xref std std-option docutils literal notranslate"><span class="pre">--reels</span></code></a></dt><dd><p>to <strong>download Reels videos</strong>.</p>
</dd>
</dl>
</li>
<li><dl class="simple">
<dt><a class="reference internal" href="#cmdoption-igtv"><code class="xref std std-option docutils literal notranslate"><span class="pre">--igtv</span></code></a></dt><dd><p>to <strong>download IGTV videos</strong>.</p>
</dd>
</dl>
</li>
</ul>
</dd>
</dl>
</li>
<li><dl class="simple">
<dt><code class="docutils literal notranslate"><span class="pre">"#hashtag"</span></code></dt><dd><p>Posts with a certain <strong>hashtag</strong> (the quotes are usually necessary). Requires <a class="reference internal" href="#login"><span class="std std-ref">login</span></a>.</p>
</dd>
</dl>
</li>
<li><dl>
<dt><code class="docutils literal notranslate"><span class="pre">%location</span> <span class="pre">id</span></code></dt><dd><p>Posts tagged with a given location; the location ID is the numerical ID
Instagram labels a location with (e.g.
https://www.instagram.com/explore/locations/<strong>362629379</strong>/plymouth-naval-memorial/).
Requires <a class="reference internal" href="#login"><span class="std std-ref">login</span></a>.</p>
<div class="versionadded">
<p><span class="versionmodified added">Added in version 4.2.</span></p>
</div>
</dd>
</dl>
</li>
<li><dl class="simple">
<dt><code class="docutils literal notranslate"><span class="pre">:stories</span></code></dt><dd><p>The currently-visible <strong>stories</strong> of your followees (requires
<a class="reference internal" href="#login"><span class="std std-ref">login</span></a>).</p>
</dd>
</dl>
</li>
<li><dl class="simple">
<dt><code class="docutils literal notranslate"><span class="pre">:feed</span></code></dt><dd><p>Your <strong>feed</strong> (requires <a class="reference internal" href="#login"><span class="std std-ref">login</span></a>).</p>
</dd>
</dl>
</li>
<li><dl class="simple">
<dt><code class="docutils literal notranslate"><span class="pre">:saved</span></code></dt><dd><p>Posts which are marked as <strong>saved</strong> (requires <a class="reference internal" href="#login"><span class="std std-ref">login</span></a>).</p>
</dd>
</dl>
</li>
<li><dl class="simple">
<dt><code class="docutils literal notranslate"><span class="pre">@profile</span></code></dt><dd><p>All profiles that are followed by <code class="docutils literal notranslate"><span class="pre">profile</span></code>, i.e. the <em>followees</em> of
<code class="docutils literal notranslate"><span class="pre">profile</span></code> (requires <a class="reference internal" href="#login"><span class="std std-ref">login</span></a>).</p>
</dd>
</dl>
</li>
<li><dl>
<dt><code class="docutils literal notranslate"><span class="pre">-post</span></code></dt><dd><p>Replace <strong>post</strong> with the post’s shortcode to download single post. Must be preceded by <code class="docutils literal notranslate"><span class="pre">--</span></code> in
the argument list to not be mistaken as an option flag. For example, to download the post
<a class="reference external" href="https://www.instagram.com/p/">https://www.instagram.com/p/</a><strong>B_K4CykAOtf</strong>, run the command:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">instaloader</span> <span class="o">--</span> <span class="o">-</span><span class="n">B_K4CykAOtf</span>
</pre></div>
</div>
<div class="versionadded">
<p><span class="versionmodified added">Added in version 4.1.</span></p>
</div>
</dd>
</dl>
</li>
</ul>
<ul class="simple">
<li><dl class="simple">
<dt><code class="docutils literal notranslate"><span class="pre">filename.json[.xz]</span></code></dt><dd><p>Re-Download the given object</p>
</dd>
</dl>
</li>
<li><dl class="simple">
<dt><code class="docutils literal notranslate"><span class="pre">+args.txt</span></code></dt><dd><p>Read targets (and options) from given text file. See <a class="reference internal" href="#cmdoption-arg-args.txt"><code class="xref std std-option docutils literal notranslate"><span class="pre">+args.txt</span></code></a>.</p>
</dd>
</dl>
</li>
</ul>
</section>
<section id="what-to-download-of-each-post">
<h2>What to Download of each Post<a class="headerlink" href="#what-to-download-of-each-post" title="Link to this heading">¶</a></h2>
<dl class="std option">
<dt class="sig sig-object std" id="cmdoption-no-pictures">
<span class="sig-name descname"><span class="pre">--no-pictures</span></span><span class="sig-prename descclassname"></span><a class="headerlink" href="#cmdoption-no-pictures" title="Link to this definition">¶</a></dt>
<dd><p>Do not download post pictures. Cannot be used together with
<a class="reference internal" href="#cmdoption-fast-update"><code class="xref std std-option docutils literal notranslate"><span class="pre">--fast-update</span></code></a>. Implies <a class="reference internal" href="#cmdoption-no-video-thumbnails"><code class="xref std std-option docutils literal notranslate"><span class="pre">--no-video-thumbnails</span></code></a>, does not
imply <a class="reference internal" href="#cmdoption-no-videos"><code class="xref std std-option docutils literal notranslate"><span class="pre">--no-videos</span></code></a>.</p>
<div class="versionadded">
<p><span class="versionmodified added">Added in version 4.1.</span></p>
</div>
</dd></dl>
<dl class="std option">
<dt class="sig sig-object std" id="cmdoption-no-videos">
<span id="cmdoption-V"></span><span class="sig-name descname"><span class="pre">--no-videos</span></span><span class="sig-prename descclassname"></span><span class="sig-prename descclassname"><span class="pre">,</span> </span><span class="sig-name descname"><span class="pre">-V</span></span><span class="sig-prename descclassname"></span><a class="headerlink" href="#cmdoption-no-videos" title="Link to this definition">¶</a></dt>
<dd><p>Do not download videos.</p>
</dd></dl>
<dl class="std option">
<dt class="sig sig-object std" id="cmdoption-no-video-thumbnails">
<span class="sig-name descname"><span class="pre">--no-video-thumbnails</span></span><span class="sig-prename descclassname"></span><a class="headerlink" href="#cmdoption-no-video-thumbnails" title="Link to this definition">¶</a></dt>
<dd><p>Do not download thumbnails of videos.</p>
</dd></dl>
<dl class="std option">
<dt class="sig sig-object std" id="cmdoption-geotags">
<span id="cmdoption-G"></span><span class="sig-name descname"><span class="pre">--geotags</span></span><span class="sig-prename descclassname"></span><span class="sig-prename descclassname"><span class="pre">,</span> </span><span class="sig-name descname"><span class="pre">-G</span></span><span class="sig-prename descclassname"></span><a class="headerlink" href="#cmdoption-geotags" title="Link to this definition">¶</a></dt>
<dd><p>Download geotags when available. Geotags are stored as a text file with
the location’s name and a Google Maps link. This requires an additional
request to the Instagram server for each picture. Requires <a class="reference internal" href="#login"><span class="std std-ref">login</span></a>.</p>
</dd></dl>
<dl class="std option">
<dt class="sig sig-object std" id="cmdoption-comments">
<span id="cmdoption-C"></span><span class="sig-name descname"><span class="pre">--comments</span></span><span class="sig-prename descclassname"></span><span class="sig-prename descclassname"><span class="pre">,</span> </span><span class="sig-name descname"><span class="pre">-C</span></span><span class="sig-prename descclassname"></span><a class="headerlink" href="#cmdoption-comments" title="Link to this definition">¶</a></dt>
<dd><p>Download and update comments for each post. This requires an additional
request to the Instagram server for each post, which is why it is disabled by
default. Requires <a class="reference internal" href="#login"><span class="std std-ref">login</span></a>.</p>
</dd></dl>
<dl class="std option">
<dt class="sig sig-object std" id="cmdoption-no-captions">
<span class="sig-name descname"><span class="pre">--no-captions</span></span><span class="sig-prename descclassname"></span><a class="headerlink" href="#cmdoption-no-captions" title="Link to this definition">¶</a></dt>
<dd><p>Do not create txt files.</p>
</dd></dl>
<dl class="std option">
<dt class="sig sig-object std" id="cmdoption-post-metadata-txt">
<span class="sig-name descname"><span class="pre">--post-metadata-txt</span></span><span class="sig-prename descclassname"></span><a class="headerlink" href="#cmdoption-post-metadata-txt" title="Link to this definition">¶</a></dt>
<dd><p>Template to write in txt file for each Post. See <a class="reference internal" href="basic-usage.html#metadata-text-files"><span class="std std-ref">Metadata Text Files</span></a>.</p>
</dd></dl>
<dl class="std option">
<dt class="sig sig-object std" id="cmdoption-storyitem-metadata-txt">
<span class="sig-name descname"><span class="pre">--storyitem-metadata-txt</span></span><span class="sig-prename descclassname"></span><a class="headerlink" href="#cmdoption-storyitem-metadata-txt" title="Link to this definition">¶</a></dt>
<dd><p>Template to write in txt file for each StoryItem. See
<a class="reference internal" href="basic-usage.html#metadata-text-files"><span class="std std-ref">Metadata Text Files</span></a>.</p>
</dd></dl>
<dl class="std option">
<dt class="sig sig-object std" id="cmdoption-slide">
<span class="sig-name descname"><span class="pre">--slide</span></span><span class="sig-prename descclassname"></span><a class="headerlink" href="#cmdoption-slide" title="Link to this definition">¶</a></dt>
<dd><p>Download only selected images of a sidecar. You can select single images using their
index in the sidecar starting with the leftmost or you can specify a range of images
with the following syntax: <code class="docutils literal notranslate"><span class="pre">start_index-end_index</span></code>. Example:
<code class="docutils literal notranslate"><span class="pre">--slide</span> <span class="pre">1</span></code> will select only the first image, <code class="docutils literal notranslate"><span class="pre">--slide</span> <span class="pre">last</span></code> only the last one and <code class="docutils literal notranslate"><span class="pre">--slide</span> <span class="pre">1-3</span></code> will select only
the first three images.</p>
<div class="versionadded">
<p><span class="versionmodified added">Added in version 4.6.</span></p>
</div>
</dd></dl>
<dl class="std option">
<dt class="sig sig-object std" id="cmdoption-no-metadata-json">
<span class="sig-name descname"><span class="pre">--no-metadata-json</span></span><span class="sig-prename descclassname"></span><a class="headerlink" href="#cmdoption-no-metadata-json" title="Link to this definition">¶</a></dt>
<dd><p>Do not create a JSON file containing the metadata of each post.</p>
</dd></dl>
<dl class="std option">
<dt class="sig sig-object std" id="cmdoption-no-compress-json">
<span class="sig-name descname"><span class="pre">--no-compress-json</span></span><span class="sig-prename descclassname"></span><a class="headerlink" href="#cmdoption-no-compress-json" title="Link to this definition">¶</a></dt>
<dd><p>Do not xz compress JSON files, rather create pretty formatted JSONs.</p>
</dd></dl>
</section>
<section id="what-to-download-of-each-profile">
<h2>What to Download of each Profile<a class="headerlink" href="#what-to-download-of-each-profile" title="Link to this heading">¶</a></h2>
<dl class="std option">
<dt class="sig sig-object std" id="cmdoption-no-posts">
<span class="sig-name descname"><span class="pre">--no-posts</span></span><span class="sig-prename descclassname"></span><a class="headerlink" href="#cmdoption-no-posts" title="Link to this definition">¶</a></dt>
<dd><p>Do not download regular posts.</p>
<div class="versionadded">
<p><span class="versionmodified added">Added in version 4.1.</span></p>
</div>
</dd></dl>
<dl class="std option">
<dt class="sig sig-object std" id="cmdoption-no-profile-pic">
<span class="sig-name descname"><span class="pre">--no-profile-pic</span></span><span class="sig-prename descclassname"></span><a class="headerlink" href="#cmdoption-no-profile-pic" title="Link to this definition">¶</a></dt>
<dd><p>Do not download profile picture.</p>
</dd></dl>
<dl class="std option">
<dt class="sig sig-object std" id="cmdoption-stories">
<span id="cmdoption-s"></span><span class="sig-name descname"><span class="pre">--stories</span></span><span class="sig-prename descclassname"></span><span class="sig-prename descclassname"><span class="pre">,</span> </span><span class="sig-name descname"><span class="pre">-s</span></span><span class="sig-prename descclassname"></span><a class="headerlink" href="#cmdoption-stories" title="Link to this definition">¶</a></dt>
<dd><p>Also download stories of each profile that is downloaded. Requires
<a class="reference internal" href="#login"><span class="std std-ref">login</span></a>.</p>
</dd></dl>
<dl class="std option">
<dt class="sig sig-object std" id="cmdoption-highlights">
<span class="sig-name descname"><span class="pre">--highlights</span></span><span class="sig-prename descclassname"></span><a class="headerlink" href="#cmdoption-highlights" title="Link to this definition">¶</a></dt>
<dd><p>Also download highlights of each profile that is downloaded. Requires
<a class="reference internal" href="#login"><span class="std std-ref">login</span></a>.</p>
<div class="versionadded">
<p><span class="versionmodified added">Added in version 4.1.</span></p>
</div>
</dd></dl>
<dl class="std option">
<dt class="sig sig-object std" id="cmdoption-tagged">
<span class="sig-name descname"><span class="pre">--tagged</span></span><span class="sig-prename descclassname"></span><a class="headerlink" href="#cmdoption-tagged" title="Link to this definition">¶</a></dt>
<dd><p>Also download posts where each profile is tagged.</p>
<div class="versionadded">
<p><span class="versionmodified added">Added in version 4.1.</span></p>
</div>
</dd></dl>
<dl class="std option">
<dt class="sig sig-object std" id="cmdoption-reels">
<span class="sig-name descname"><span class="pre">--reels</span></span><span class="sig-prename descclassname"></span><a class="headerlink" href="#cmdoption-reels" title="Link to this definition">¶</a></dt>
<dd><p>Also download Reels videos.</p>
<div class="versionadded">
<p><span class="versionmodified added">Added in version 4.14.</span></p>
</div>
</dd></dl>
<dl class="std option">
<dt class="sig sig-object std" id="cmdoption-igtv">
<span class="sig-name descname"><span class="pre">--igtv</span></span><span class="sig-prename descclassname"></span><a class="headerlink" href="#cmdoption-igtv" title="Link to this definition">¶</a></dt>
<dd><p>Also download IGTV videos.</p>
<div class="versionadded">
<p><span class="versionmodified added">Added in version 4.3.</span></p>
</div>
</dd></dl>
</section>
<section id="which-posts-to-download">
<h2>Which Posts to Download<a class="headerlink" href="#which-posts-to-download" title="Link to this heading">¶</a></h2>
<dl class="std option">
<dt class="sig sig-object std" id="cmdoption-fast-update">
<span id="cmdoption-F"></span><span class="sig-name descname"><span class="pre">--fast-update</span></span><span class="sig-prename descclassname"></span><span class="sig-prename descclassname"><span class="pre">,</span> </span><span class="sig-name descname"><span class="pre">-F</span></span><span class="sig-prename descclassname"></span><a class="headerlink" href="#cmdoption-fast-update" title="Link to this definition">¶</a></dt>
<dd><p>For each target, stop when encountering the first already-downloaded picture.
This flag is recommended when you use Instaloader to update your personal
Instagram archive.</p>
</dd></dl>
<dl class="std option">
<dt class="sig sig-object std" id="cmdoption-latest-stamps">
<span class="sig-name descname"><span class="pre">--latest-stamps</span></span><span class="sig-prename descclassname"> <span class="pre">[STAMPSFILE]</span></span><a class="headerlink" href="#cmdoption-latest-stamps" title="Link to this definition">¶</a></dt>
<dd><p>Works similarly to <a class="reference internal" href="#cmdoption-fast-update"><code class="xref std std-option docutils literal notranslate"><span class="pre">--fast-update</span></code></a>, but instead of relying on already
downloaded media, the time each profile was downloaded is stored, and only
media newer than the last download is fetched. This allows updating your
personal Instagram archive while emptying the target directories.</p>
<p>Only works for media associated with a specific profile, and that is returned
in chronological order: profile posts, profile stories, profile IGTV posts
and profile tagged posts.</p>
<p>By default, the information is stored in
<code class="docutils literal notranslate"><span class="pre">~/.config/instaloader/latest-stamps.ini</span></code>, but you can specify an
alternative location.</p>
<div class="versionadded">
<p><span class="versionmodified added">Added in version 4.8.</span></p>
</div>
</dd></dl>
<dl class="std option">
<dt class="sig sig-object std" id="cmdoption-post-filter">
<span id="cmdoption-only-if"></span><span class="sig-name descname"><span class="pre">--post-filter</span></span><span class="sig-prename descclassname"> <span class="pre">filter</span></span><span class="sig-prename descclassname"><span class="pre">,</span> </span><span class="sig-name descname"><span class="pre">--only-if</span></span><span class="sig-prename descclassname"> <span class="pre">filter</span></span><a class="headerlink" href="#cmdoption-post-filter" title="Link to this definition">¶</a></dt>
<dd><p>Expression that, if given, must evaluate to True for each post to be
downloaded. Must be a syntactically valid Python expression. Variables are
evaluated to <a class="reference internal" href="module/structures.html#instaloader.Post" title="instaloader.Post"><code class="xref py py-class docutils literal notranslate"><span class="pre">instaloader.Post</span></code></a> attributes. Example:
<code class="docutils literal notranslate"><span class="pre">--post-filter=viewer_has_liked</span></code>. See <a class="reference internal" href="basic-usage.html#filter-posts"><span class="std std-ref">Filter Posts</span></a> for more
examples.</p>
</dd></dl>
<dl class="std option">
<dt class="sig sig-object std" id="cmdoption-storyitem-filter">
<span class="sig-name descname"><span class="pre">--storyitem-filter</span></span><span class="sig-prename descclassname"> <span class="pre">filter</span></span><a class="headerlink" href="#cmdoption-storyitem-filter" title="Link to this definition">¶</a></dt>
<dd><p>Expression that, if given, must evaluate to True for each storyitem to be
downloaded. Must be a syntactically valid Python expression. Variables are
evaluated to <a class="reference internal" href="module/structures.html#instaloader.StoryItem" title="instaloader.StoryItem"><code class="xref py py-class docutils literal notranslate"><span class="pre">instaloader.StoryItem</span></code></a> attributes.
See <a class="reference internal" href="basic-usage.html#filter-posts"><span class="std std-ref">Filter Posts</span></a> for more examples.</p>
</dd></dl>
<dl class="std option">
<dt class="sig sig-object std" id="cmdoption-count">
<span id="cmdoption-c"></span><span class="sig-name descname"><span class="pre">--count</span></span><span class="sig-prename descclassname"> <span class="pre">COUNT</span></span><span class="sig-prename descclassname"><span class="pre">,</span> </span><span class="sig-name descname"><span class="pre">-c</span></span><span class="sig-prename descclassname"></span><a class="headerlink" href="#cmdoption-count" title="Link to this definition">¶</a></dt>
<dd><p>Do not attempt to download more than COUNT posts. Applies to
<code class="docutils literal notranslate"><span class="pre">#hashtag</span></code>, <code class="docutils literal notranslate"><span class="pre">%location_id</span></code>, <code class="docutils literal notranslate"><span class="pre">:feed</span></code>, and <code class="docutils literal notranslate"><span class="pre">:saved</span></code>.</p>
</dd></dl>
</section>
<section id="login-download-private-profiles">
<span id="login"></span><h2>Login (Download Private Profiles)<a class="headerlink" href="#login-download-private-profiles" title="Link to this heading">¶</a></h2>
<p>Instaloader can login to Instagram. This allows downloading private
profiles. To login, pass the <a class="reference internal" href="#cmdoption-login"><code class="xref std std-option docutils literal notranslate"><span class="pre">--login</span></code></a> option. Your session cookie (not your
password!) will be saved to a local file to be reused next time you want
Instaloader to login.</p>
<p>Instead of <a class="reference internal" href="#cmdoption-login"><code class="xref std std-option docutils literal notranslate"><span class="pre">--login</span></code></a>, it is possible to use
<a class="reference internal" href="#cmdoption-load-cookies"><code class="xref std std-option docutils literal notranslate"><span class="pre">--load-cookies</span></code></a> to import a session from a browser.</p>
<dl class="std option">
<dt class="sig sig-object std" id="cmdoption-login">
<span id="cmdoption-l"></span><span class="sig-name descname"><span class="pre">--login</span></span><span class="sig-prename descclassname"> <span class="pre">YOUR-USERNAME</span></span><span class="sig-prename descclassname"><span class="pre">,</span> </span><span class="sig-name descname"><span class="pre">-l</span></span><span class="sig-prename descclassname"> <span class="pre">YOUR-USERNAME</span></span><a class="headerlink" href="#cmdoption-login" title="Link to this definition">¶</a></dt>
<dd><p>Login name (profile name) for your Instagram account.</p>
</dd></dl>
<dl class="std option">
<dt class="sig sig-object std" id="cmdoption-load-cookies">
<span id="cmdoption-b"></span><span class="sig-name descname"><span class="pre">--load-cookies</span></span><span class="sig-prename descclassname"> <span class="pre">BROWSER-NAME</span></span><span class="sig-prename descclassname"><span class="pre">,</span> </span><span class="sig-name descname"><span class="pre">-b</span></span><span class="sig-prename descclassname"> <span class="pre">BROWSER-NAME</span></span><a class="headerlink" href="#cmdoption-load-cookies" title="Link to this definition">¶</a></dt>
<dd><p>Use Instagram cookie in your browser to login.
This feature requires the browser_cookie3 library.
Compatible with <a class="reference internal" href="#cmdoption-cookiefile"><code class="xref std std-option docutils literal notranslate"><span class="pre">--cookiefile</span></code></a> if you want to load cookies from browser profiles.
Incompatible with <a class="reference internal" href="#cmdoption-login"><code class="xref std std-option docutils literal notranslate"><span class="pre">--login</span></code></a> due to potential username mismatch between user input and browser login.
Supported browsers: Brave, Chrome, Chromium, Edge, Firefox, LibreWolf, Opera, Opera_GX, Safari and Vivaldi.</p>
<p>In subsequent runs, you can just use <a class="reference internal" href="#cmdoption-login"><code class="xref std std-option docutils literal notranslate"><span class="pre">--login</span></code></a> to reuse the
same session, which is saved by Instaloader.</p>
<div class="versionadded">
<p><span class="versionmodified added">Added in version 4.11.</span></p>
</div>
</dd></dl>
<dl class="std option">
<dt class="sig sig-object std" id="cmdoption-cookiefile">
<span id="cmdoption-B"></span><span class="sig-name descname"><span class="pre">--cookiefile</span></span><span class="sig-prename descclassname"> <span class="pre">COOKIE-FILE</span></span><span class="sig-prename descclassname"><span class="pre">,</span> </span><span class="sig-name descname"><span class="pre">-B</span></span><span class="sig-prename descclassname"> <span class="pre">COOKIE-FILE</span></span><a class="headerlink" href="#cmdoption-cookiefile" title="Link to this definition">¶</a></dt>
<dd><blockquote>
<div><p>Cookie file path of a browser profile to load cookies from.</p>
</div></blockquote>
<div class="versionadded">
<p><span class="versionmodified added">Added in version 4.11.</span></p>
</div>
</dd></dl>
<dl class="std option">
<dt class="sig sig-object std" id="cmdoption-sessionfile">
<span id="cmdoption-f"></span><span class="sig-name descname"><span class="pre">--sessionfile</span></span><span class="sig-prename descclassname"> <span class="pre">SESSIONFILE</span></span><span class="sig-prename descclassname"><span class="pre">,</span> </span><span class="sig-name descname"><span class="pre">-f</span></span><span class="sig-prename descclassname"> <span class="pre">SESSIONFILE</span></span><a class="headerlink" href="#cmdoption-sessionfile" title="Link to this definition">¶</a></dt>
<dd><p>Path for loading and storing session key file. Defaults to
<code class="docutils literal notranslate"><span class="pre">~/.config/instaloader/session-YOUR-USERNAME</span></code>.</p>
</dd></dl>
<dl class="std option">
<dt class="sig sig-object std" id="cmdoption-password">
<span id="cmdoption-p"></span><span class="sig-name descname"><span class="pre">--password</span></span><span class="sig-prename descclassname"> <span class="pre">YOUR-PASSWORD</span></span><span class="sig-prename descclassname"><span class="pre">,</span> </span><span class="sig-name descname"><span class="pre">-p</span></span><span class="sig-prename descclassname"> <span class="pre">YOUR-PASSWORD</span></span><a class="headerlink" href="#cmdoption-password" title="Link to this definition">¶</a></dt>
<dd><p>Password for your Instagram account. Without this option, you’ll be prompted
for your password interactively if there is not yet a valid session file.</p>
<div class="admonition warning">
<p class="admonition-title">Warning</p>
<p>Using <a class="reference internal" href="#cmdoption-password"><code class="xref std std-option docutils literal notranslate"><span class="pre">--password</span></code></a> option is discouraged for security
reasons. Enter your password interactively when asked, or use the
sessionfile feature (<a class="reference internal" href="#cmdoption-sessionfile"><code class="xref std std-option docutils literal notranslate"><span class="pre">--sessionfile</span></code></a> to customize path).</p>
</div>
</dd></dl>
</section>
<section id="how-to-download">
<h2>How to Download<a class="headerlink" href="#how-to-download" title="Link to this heading">¶</a></h2>
<dl class="std option">
<dt class="sig sig-object std" id="cmdoption-dirname-pattern">
<span class="sig-name descname"><span class="pre">--dirname-pattern</span></span><span class="sig-prename descclassname"> <span class="pre">DIRNAME_PATTERN</span></span><a class="headerlink" href="#cmdoption-dirname-pattern" title="Link to this definition">¶</a></dt>
<dd><p>Name of directory where to store posts. <code class="docutils literal notranslate"><span class="pre">{profile}</span></code> is replaced by the
profile name, <code class="docutils literal notranslate"><span class="pre">{target}</span></code> is replaced by the target you specified, i.e.
either <code class="docutils literal notranslate"><span class="pre">:feed</span></code>, <code class="docutils literal notranslate"><span class="pre">#hashtag</span></code> or the profile name. Defaults to <code class="docutils literal notranslate"><span class="pre">{target}</span></code>.
See <a class="reference internal" href="basic-usage.html#filename-specification"><span class="std std-ref">Filename Specification</span></a>.</p>
</dd></dl>
<dl class="std option">
<dt class="sig sig-object std" id="cmdoption-filename-pattern">
<span class="sig-name descname"><span class="pre">--filename-pattern</span></span><span class="sig-prename descclassname"> <span class="pre">FILENAME_PATTERN</span></span><a class="headerlink" href="#cmdoption-filename-pattern" title="Link to this definition">¶</a></dt>
<dd><p>Prefix of filenames for posts and stories, relative to the directory given with
<a class="reference internal" href="#cmdoption-dirname-pattern"><code class="xref std std-option docutils literal notranslate"><span class="pre">--dirname-pattern</span></code></a>. <code class="docutils literal notranslate"><span class="pre">{profile}</span></code> is replaced by the profile name,
<code class="docutils literal notranslate"><span class="pre">{target}</span></code> is replaced by the target you specified, i.e. either <code class="docutils literal notranslate"><span class="pre">:feed</span></code>,
<code class="docutils literal notranslate"><span class="pre">#hashtag</span></code> or the profile name. Defaults to <code class="docutils literal notranslate"><span class="pre">{date_utc}_UTC</span></code>.
See <a class="reference internal" href="basic-usage.html#filename-specification"><span class="std std-ref">Filename Specification</span></a> for a list of supported tokens.</p>
</dd></dl>
<dl class="std option">
<dt class="sig sig-object std" id="cmdoption-title-pattern">
<span class="sig-name descname"><span class="pre">--title-pattern</span></span><span class="sig-prename descclassname"> <span class="pre">TITLE_PATTERN</span></span><a class="headerlink" href="#cmdoption-title-pattern" title="Link to this definition">¶</a></dt>
<dd><p>Prefix of filenames for profile pics, hashtag profile pics, and highlight
covers, relative to the directory given with <a class="reference internal" href="#cmdoption-dirname-pattern"><code class="xref std std-option docutils literal notranslate"><span class="pre">--dirname-pattern</span></code></a>.
Defaults to <code class="docutils literal notranslate"><span class="pre">{date_utc}_UTC_{typename}</span></code> if <a class="reference internal" href="#cmdoption-dirname-pattern"><code class="xref std std-option docutils literal notranslate"><span class="pre">--dirname-pattern</span></code></a>
contains <code class="docutils literal notranslate"><span class="pre">{target}</span></code> or <code class="docutils literal notranslate"><span class="pre">{profile}</span></code>, otherwise defaults to
<code class="docutils literal notranslate"><span class="pre">{target}_{date_utc}_UTC_{typename}</span></code>.
See <a class="reference internal" href="basic-usage.html#filename-specification"><span class="std std-ref">Filename Specification</span></a> for a list of supported tokens.</p>
<div class="versionadded">
<p><span class="versionmodified added">Added in version 4.8.</span></p>
</div>
</dd></dl>
<dl class="std option">
<dt class="sig sig-object std" id="cmdoption-sanitize-paths">
<span class="sig-name descname"><span class="pre">--sanitize-paths</span></span><span class="sig-prename descclassname"></span><a class="headerlink" href="#cmdoption-sanitize-paths" title="Link to this definition">¶</a></dt>
<dd><p>Force sanitization of paths so that the resulting file and directory names
are valid on both Windows and Unix.</p>
<div class="versionadded">
<p><span class="versionmodified added">Added in version 4.9.</span></p>
</div>
</dd></dl>
<dl class="std option">
<dt class="sig sig-object std" id="cmdoption-resume-prefix">
<span class="sig-name descname"><span class="pre">--resume-prefix</span></span><span class="sig-prename descclassname"> <span class="pre">prefix</span></span><a class="headerlink" href="#cmdoption-resume-prefix" title="Link to this definition">¶</a></dt>
<dd><p>For many targets, Instaloader is capable of resuming a previously-aborted
download loop. To do so, it creates a JSON file within the target directory
when interrupted. This option controls the prefix for filenames that are
used to save the information to resume an interrupted download. The default
prefix is <code class="docutils literal notranslate"><span class="pre">iterator</span></code>.</p>
<dl class="simple">
<dt>Resuming an interrupted download is supported for the following targets:</dt><dd><ul class="simple">
<li><p>Profile posts,</p></li>
<li><p>Profile IGTV posts (<a class="reference internal" href="#cmdoption-igtv"><code class="xref std std-option docutils literal notranslate"><span class="pre">--igtv</span></code></a>),</p></li>
<li><p>Profile tagged posts (<a class="reference internal" href="#cmdoption-tagged"><code class="xref std std-option docutils literal notranslate"><span class="pre">--tagged</span></code></a>),</p></li>
<li><p>Saved posts (<code class="docutils literal notranslate"><span class="pre">:saved</span></code>),</p></li>
<li><p>Hashtags.</p></li>
</ul>
</dd>
</dl>
<p>This feature is enabled by default for targets where it is supported;
<a class="reference internal" href="#cmdoption-resume-prefix"><code class="xref std std-option docutils literal notranslate"><span class="pre">--resume-prefix</span></code></a> only changes the name of the iterator files.</p>
<p>To turn this feature off, use <a class="reference internal" href="#cmdoption-no-resume"><code class="xref std std-option docutils literal notranslate"><span class="pre">--no-resume</span></code></a>.</p>
<p>JSON files with resume information are always compressed, regardless of
<a class="reference internal" href="#cmdoption-no-compress-json"><code class="xref std std-option docutils literal notranslate"><span class="pre">--no-compress-json</span></code></a>.</p>
<div class="versionadded">
<p><span class="versionmodified added">Added in version 4.5.</span></p>
</div>
</dd></dl>
<dl class="std option">
<dt class="sig sig-object std" id="cmdoption-no-resume">
<span class="sig-name descname"><span class="pre">--no-resume</span></span><span class="sig-prename descclassname"></span><a class="headerlink" href="#cmdoption-no-resume" title="Link to this definition">¶</a></dt>
<dd><p>Do not resume a previously-aborted download iteration, and do not save such
information when interrupted.</p>
<div class="versionadded">
<p><span class="versionmodified added">Added in version 4.5.</span></p>
</div>
</dd></dl>
<dl class="std option">
<dt class="sig sig-object std" id="cmdoption-user-agent">
<span class="sig-name descname"><span class="pre">--user-agent</span></span><span class="sig-prename descclassname"> <span class="pre">USER_AGENT</span></span><a class="headerlink" href="#cmdoption-user-agent" title="Link to this definition">¶</a></dt>
<dd><p>User Agent to use for HTTP requests. Per default, Instaloader pretends being
Chrome/127 on Linux.</p>
</dd></dl>
<dl class="std option">
<dt class="sig sig-object std" id="cmdoption-max-connection-attempts">
<span class="sig-name descname"><span class="pre">--max-connection-attempts</span></span><span class="sig-prename descclassname"> <span class="pre">N</span></span><a class="headerlink" href="#cmdoption-max-connection-attempts" title="Link to this definition">¶</a></dt>
<dd><p>Maximum number of connection attempts until a request is aborted. Defaults
to <code class="docutils literal notranslate"><span class="pre">3</span></code>. If a connection fails, it can be manually skipped by hitting
<kbd class="kbd compound docutils literal notranslate"><kbd class="kbd docutils literal notranslate">Control</kbd>-<kbd class="kbd docutils literal notranslate">c</kbd></kbd>. Set this to <code class="docutils literal notranslate"><span class="pre">0</span></code> to retry infinitely.</p>
</dd></dl>
<dl class="std option">
<dt class="sig sig-object std" id="cmdoption-request-timeout">
<span class="sig-name descname"><span class="pre">--request-timeout</span></span><span class="sig-prename descclassname"> <span class="pre">N</span></span><a class="headerlink" href="#cmdoption-request-timeout" title="Link to this definition">¶</a></dt>
<dd><p>Seconds to wait before timing out a connection request. Defaults to 300.</p>
<div class="versionadded">
<p><span class="versionmodified added">Added in version 4.3.</span></p>
</div>
<div class="versionchanged">
<p><span class="versionmodified changed">Changed in version 4.6: </span>Enabled this option by default with a timeout of 300 seconds.</p>
</div>
</dd></dl>
<dl class="std option">
<dt class="sig sig-object std" id="cmdoption-abort-on">
<span class="sig-name descname"><span class="pre">--abort-on</span></span><span class="sig-prename descclassname"> <span class="pre">STATUS_CODE_LIST</span></span><a class="headerlink" href="#cmdoption-abort-on" title="Link to this definition">¶</a></dt>
<dd><p>Comma-separated list of HTTP status codes that cause Instaloader to abort,
bypassing all retry logic.</p>
<p>For example, with <code class="docutils literal notranslate"><span class="pre">--abort-on=302,400,429</span></code>, Instaloader will stop if a
request is responded with a 302 redirect, a Bad Request error, or a Too Many
Requests error.</p>
<div class="versionadded">
<p><span class="versionmodified added">Added in version 4.7.</span></p>
</div>
</dd></dl>
<dl class="std option">
<dt class="sig sig-object std" id="cmdoption-no-iphone">
<span class="sig-name descname"><span class="pre">--no-iphone</span></span><span class="sig-prename descclassname"></span><a class="headerlink" href="#cmdoption-no-iphone" title="Link to this definition">¶</a></dt>
<dd><p>Do not attempt to download iPhone version of images and videos.</p>
<div class="versionadded">
<p><span class="versionmodified added">Added in version 4.8.</span></p>
</div>
</dd></dl>
</section>
<section id="miscellaneous-options">
<h2>Miscellaneous Options<a class="headerlink" href="#miscellaneous-options" title="Link to this heading">¶</a></h2>
<dl class="std option">
<dt class="sig sig-object std" id="cmdoption-quiet">
<span id="cmdoption-q"></span><span class="sig-name descname"><span class="pre">--quiet</span></span><span class="sig-prename descclassname"></span><span class="sig-prename descclassname"><span class="pre">,</span> </span><span class="sig-name descname"><span class="pre">-q</span></span><span class="sig-prename descclassname"></span><a class="headerlink" href="#cmdoption-quiet" title="Link to this definition">¶</a></dt>
<dd><p>Disable user interaction, i.e. do not print messages (except errors) and fail
if login credentials are needed but not given.
This is handy for running <a class="reference internal" href="basic-usage.html#instaloader-as-cronjob"><span class="std std-ref">Instaloader as Cronjob</span></a>.</p>
</dd></dl>
<dl class="std option">
<dt class="sig sig-object std" id="cmdoption-arg-args.txt">
<span class="sig-name descname"><span class="pre">+args.txt</span></span><span class="sig-prename descclassname"></span><a class="headerlink" href="#cmdoption-arg-args.txt" title="Link to this definition">¶</a></dt>
<dd><p>Read arguments from file <cite>args.txt</cite>, a shortcut to provide arguments from
file rather than command-line. This provides a convenient way to hide login
info from CLI, and can also be used to simplify management of long arguments.
You can provide more than one file at once, e.g.: <code class="docutils literal notranslate"><span class="pre">+args1.txt</span> <span class="pre">+args2.txt</span></code>.</p>
<div class="admonition note">
<p class="admonition-title">Note</p>
<p>Text file should separate arguments with line breaks.</p>
</div>
<p><cite>args.txt</cite> example:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="o">--</span><span class="n">login</span><span class="o">=</span><span class="n">MYUSERNAME</span>
<span class="o">--</span><span class="n">password</span><span class="o">=</span><span class="n">MYPASSWORD</span>
<span class="o">--</span><span class="n">fast</span><span class="o">-</span><span class="n">update</span>
<span class="n">profile1</span>
<span class="n">profile2</span>
</pre></div>
</div>
<div class="versionadded">
<p><span class="versionmodified added">Added in version 4.1.</span></p>
</div>
</dd></dl>
</section>
</section>
<h2>Next Section</h2>
<p>
<a class="reference internal" href="as-module.html">Python Module <code class="xref py py-mod docutils literal notranslate"><span class="pre">instaloader</span></code></a>
</p>
</main>
</div>
</div>
</body>
</html>