Saving and reimporting of JSON files

Metadata JSON files are now created by default. They can later be given
as a target to redownload Posts, StoryItems or Profiles with new
settings.
This commit is contained in:
Alexander Graf
2018-04-12 22:01:26 +02:00
parent 5d249c5401
commit f0bebd0d96
5 changed files with 127 additions and 41 deletions

View File

@@ -67,12 +67,13 @@ automatically **finds it by its unique ID** and renames the folder likewise.
Also **download stories** of each profile that is downloaded. Requires
:option:`--login`.
.. option:: --metadata-json
.. option:: --no-metadata-json
Create a JSON file containing the metadata of each post. This does not
include comments (see :option:`--comments`) nor geotags (see
:option:`--geotags`). The JSON files contain the properties of
:class:`instaloader.Post`.
Do not create a JSON file containing the metadata of each post.
.. option:: --no-compress-json
Do not xz compress JSON files, rather create pretty formatted JSONs.
.. option:: --stories-only