[bluesky] add 'metadata' option (#4438)

allow extracting 'user' metadata and
make 'facets' extraction optional
This commit is contained in:
Mike Fährmann
2024-02-15 23:30:16 +01:00
parent 7e036ea290
commit 0abd9723af
3 changed files with 75 additions and 19 deletions

View File

@@ -1185,6 +1185,26 @@ Description
Download embedded videos hosted on https://www.blogger.com/
extractor.bluesky.metadata
--------------------------
Type
* ``bool``
* ``string``
* ``list`` of ``strings``
Default
``false``
Example
* ``"facets,user"``
* ``["facets", "user"]``
Description
Extract additional metadata.
* ``facets``: ``hashtags``, ``mentions``, and ``uris``
* ``user``: detailed ``user`` metadata for the user referenced in the input URL
(See `app.bsky.actor.getProfile <https://www.docs.bsky.app/docs/api/app-bsky-actor-get-profile>`__).
extractor.bluesky.post.depth
----------------------------
Type
@@ -1595,7 +1615,7 @@ Type
Default
``false``
Example
* ``notes,pools``
* ``"notes,pools"``
* ``["notes", "pools"]``
Description
Extract additional metadata (notes, pool metadata) if available.