[common] implement 'parent-session'

This commit is contained in:
Mike Fährmann
2026-01-21 19:45:28 +01:00
parent 9ca45aae73
commit 4798ac4836
4 changed files with 40 additions and 11 deletions

View File

@@ -251,6 +251,25 @@ Description
}
extractor.*.parent-session
--------------------------
Type
``bool``
Default
``true``
``[chevereto]`` |
``[imagehost]``
``false``
otherwise
Description
Share a parent's
`session <https://requests.readthedocs.io/en/latest/user/advanced/#session-objects>`__
with its child extractors, including
`cookies <extractor.*.cookies_>`__,
`headers <extractor.*.headers_>`__,
and other networking settings.
extractor.*.parent-skip
-----------------------
Type

View File

@@ -60,6 +60,7 @@
"parent-directory": false,
"parent-metadata" : false,
"parent-session" : false,
"parent-skip" : false,
"path-restrict": "auto",
@@ -1023,6 +1024,7 @@
"chevereto":
{
"parent-metadata": true,
"parent-session" : true,
"password" : ""
},
@@ -1097,7 +1099,8 @@
"imagehost":
{
"parent-metadata": true
"parent-metadata": true,
"parent-session" : true
},
"mastodon":