[instagram] add 'include' option (closes #1180)

Split the functionality of the old 'user' extractor into separate
'posts' and 'highlights' extractors, which respond to virtual URLs
('/<user>/posts' and '/<user>/highlights')
This commit is contained in:
Mike Fährmann
2020-12-20 23:20:32 +01:00
parent 78061658ea
commit bf629a2818
4 changed files with 95 additions and 83 deletions

View File

@@ -1045,15 +1045,22 @@ Description
for details)
extractor.instagram.highlights
------------------------------
extractor.instagram.include
---------------------------
Type
``bool``
``string`` or ``list`` of ``strings``
Default
``false``
``"posts"``
Example
``"stories,highlights,posts"`` or ``["stories", "highlights", "posts"]``
Description
Include *Story Highlights* when downloading a user profile.
(requires authentication)
A (comma-separated) list of subcategories to include
when processing a user profile.
Possible values are
``"posts"``, ``"stories"``, ``"highlights"``, ``"channel"``.
You can use ``"all"`` instead of listing all values separately.
extractor.instagram.videos