[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

View File

@@ -157,7 +157,7 @@ Turboimagehost https://www.turboimagehost.com/ individual Images
.. |furaffinity-C| replace:: Favorites, Galleries, Posts, Scraps, Search Results, User Profiles
.. |hentaifoundry-C| replace:: Favorites, individual Images, Pictures, Popular Images, Recent Images, Scraps, Stories, User Profiles
.. |imgur-C| replace:: Albums, Favorites, Galleries, individual Images, Search Results, Subreddits, Tag Searches, User Profiles
.. |instagram-C| replace:: Channels, Posts, Saved Posts, Stories, Tag Searches, User Profiles
.. |instagram-C| replace:: Channels, Highlights, Posts, Saved Posts, Stories, Tag Searches, User Profiles
.. |newgrounds-C| replace:: Art, Audio, Favorites, individual Images, Media Files, Movies, User Profiles
.. |nijie-C| replace:: Doujin, Favorites, Illustrations, individual Images, User Profiles
.. |pixiv-C| replace:: Favorites, Follows, pixiv.me Links, Rankings, Search Results, User Profiles, individual Images