remove support for deprecated options

- instagram.highlights
- metadata.bypost
- exec.final
This commit is contained in:
Mike Fährmann
2021-01-24 22:30:16 +01:00
parent 477ed010c1
commit ebf417f31f
4 changed files with 4 additions and 19 deletions

View File

@@ -366,13 +366,6 @@ class InstagramUserExtractor(InstagramExtractor):
)
def items(self):
if self.config("highlights"):
self.log.warning("'highlights' is deprecated, "
"use '\"include\": \"…,highlights\"' instead")
default = ("highlights", "posts")
else:
default = ("posts",)
base = "{}/{}/".format(self.root, self.item)
stories = "{}/stories/{}/".format(self.root, self.item)
return self._dispatch_extractors((
@@ -380,7 +373,7 @@ class InstagramUserExtractor(InstagramExtractor):
(InstagramHighlightsExtractor, base + "highlights/"),
(InstagramPostsExtractor , base + "posts/"),
(InstagramChannelExtractor , base + "channel/"),
), default)
), ("posts",))
class InstagramPostsExtractor(InstagramExtractor):