Mentione target :saved in README, docs and --help

This commit is contained in:
André Koch-Kramer 2018-03-13 13:53:21 +01:00
parent b1edaddb31
commit de960b2b57
5 changed files with 17 additions and 11 deletions

View File

@ -24,7 +24,7 @@ Instaloader
instaloader [--comments] [--geotags] [--stories] instaloader [--comments] [--geotags] [--stories]
[--login YOUR-USERNAME] [--fast-update] [--login YOUR-USERNAME] [--fast-update]
profile | "#hashtag" | :stories | :feed profile | "#hashtag" | :stories | :feed | :saved
`Instaloader Documentation <https://instaloader.readthedocs.io/>`__ `Instaloader Documentation <https://instaloader.readthedocs.io/>`__

View File

@ -63,6 +63,9 @@ Instaloader supports the following targets:
``:feed`` ``:feed``
Your **feed** (requires :option:`--login`), Your **feed** (requires :option:`--login`),
``:saved``
Posts which are marked as **saved** (requires :option:`--login`),
``@profile`` ``@profile``
All profiles that are followed by ``profile``, i.e. the *followees* of All profiles that are followed by ``profile``, i.e. the *followees* of
``profile`` (requires :option:`--login`). ``profile`` (requires :option:`--login`).

View File

@ -7,7 +7,8 @@ Instaloader is invoked with::
where ``target`` is a ``profile``, a ``"#hashtag"``, ``@profile`` (all profiles where ``target`` is a ``profile``, a ``"#hashtag"``, ``@profile`` (all profiles
that *profile* is following), or if logged in ``:feed`` (pictures from your that *profile* is following), or if logged in ``:feed`` (pictures from your
feed) or ``:stories`` (stories of your followees). feed), ``:stories`` (stories of your followees) or ``:saved`` (collection of
posts marked as saved).
Here we explain the additional options that can be given to Instaloader to Here we explain the additional options that can be given to Instaloader to
customize its behavior. To get a list of all flags, their abbreviations and customize its behavior. To get a list of all flags, their abbreviations and
@ -16,11 +17,11 @@ their descriptions, you may also run ``instaloader --help``.
What to Download What to Download
^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^
Specify a list of targets (profiles, #hashtags, ``:feed`` or ``:stories``). For Specify a list of targets (profiles, #hashtags, ``:feed``, ``:stories`` or
each of these, Instaloader creates a folder and stores all posts along with the ``:saved``). For each of these, Instaloader creates a folder and stores all
pictures's captions and the current **profile picture** there. If an posts along with the pictures's captions and the current **profile picture**
already-downloaded profile has been renamed, Instaloader automatically **finds there. If an already-downloaded profile has been renamed, Instaloader
it by its unique ID** and renames the folder likewise. automatically **finds it by its unique ID** and renames the folder likewise.
.. option:: --profile-pic-only .. option:: --profile-pic-only

View File

@ -38,7 +38,8 @@ With `Python <https://www.python.org/>`__ installed, do::
instaloader [--comments] [--geotags] [--stories] instaloader [--comments] [--geotags] [--stories]
[--login YOUR-USERNAME] [--fast-update] [--login YOUR-USERNAME] [--fast-update]
profile | "#hashtag" | :stories | :feed profile | "#hashtag"
:stories | :feed | :saved
Table of Contents Table of Contents

View File

@ -1577,9 +1577,10 @@ def main():
g_what.add_argument('profile', nargs='*', metavar='profile|#hashtag', g_what.add_argument('profile', nargs='*', metavar='profile|#hashtag',
help='Name of profile or #hashtag to download. ' help='Name of profile or #hashtag to download. '
'Alternatively, if --login is given: @<profile> to download all followees of ' 'Alternatively, if --login is given: @<profile> to download all followees of '
'<profile>; the special targets :feed to ' '<profile>; the special targets '
'download pictures from your feed; or :stories to download the stories of your ' ':feed to download pictures from your feed; '
'followees.') ':stories to download the stories of your followees; or '
':saved to download the posts marked as saved.')
g_what.add_argument('-P', '--profile-pic-only', action='store_true', g_what.add_argument('-P', '--profile-pic-only', action='store_true',
help='Only download profile picture.') help='Only download profile picture.')
g_what.add_argument('--no-profile-pic', action='store_true', g_what.add_argument('--no-profile-pic', action='store_true',