update docs
- document '"mode": "jsonl"' for metadata pp - remove 'username' and 'password' from 'instagram' - add 'ytdl' example (#3180)
This commit is contained in:
@@ -3592,7 +3592,9 @@ Description
|
|||||||
Selects how to process metadata.
|
Selects how to process metadata.
|
||||||
|
|
||||||
* ``"json"``: write metadata using `json.dump()
|
* ``"json"``: write metadata using `json.dump()
|
||||||
<https://docs.python.org/3/library/json.html#json.dump>`_
|
<https://docs.python.org/3/library/json.html#json.dump>`__
|
||||||
|
* ``"jsonl"``: write metadata in `JSON Lines
|
||||||
|
<https://jsonlines.org/>`__ format
|
||||||
* ``"tags"``: write ``tags`` separated by newlines
|
* ``"tags"``: write ``tags`` separated by newlines
|
||||||
* ``"custom"``: write the result of applying `metadata.content-format`_
|
* ``"custom"``: write the result of applying `metadata.content-format`_
|
||||||
to a file's metadata dictionary
|
to a file's metadata dictionary
|
||||||
|
|||||||
@@ -210,6 +210,19 @@
|
|||||||
"text-tweets": true
|
"text-tweets": true
|
||||||
},
|
},
|
||||||
|
|
||||||
|
"ytdl":
|
||||||
|
{
|
||||||
|
"#": "enable 'ytdl' extractor",
|
||||||
|
"#": "i.e. invoke ytdl on all otherwise unsupported input URLs",
|
||||||
|
"enabled": true,
|
||||||
|
|
||||||
|
"#": "use yt-dlp instead of youtube-dl",
|
||||||
|
"module": "yt_dlp",
|
||||||
|
|
||||||
|
"#": "load ytdl options from config file",
|
||||||
|
"config-file": "~/yt-dlp.conf"
|
||||||
|
},
|
||||||
|
|
||||||
"mastodon":
|
"mastodon":
|
||||||
{
|
{
|
||||||
"#": "add 'tabletop.social' as recognized mastodon instance",
|
"#": "add 'tabletop.social' as recognized mastodon instance",
|
||||||
|
|||||||
@@ -159,9 +159,8 @@
|
|||||||
},
|
},
|
||||||
"instagram":
|
"instagram":
|
||||||
{
|
{
|
||||||
"username": null,
|
|
||||||
"password": null,
|
|
||||||
"api": "auto",
|
"api": "auto",
|
||||||
|
"cookies": null,
|
||||||
"include": "posts",
|
"include": "posts",
|
||||||
"sleep-request": [6.0, 12.0],
|
"sleep-request": [6.0, 12.0],
|
||||||
"videos": true
|
"videos": true
|
||||||
|
|||||||
Reference in New Issue
Block a user