diff --git a/gallery_dl/extractor/instagram.py b/gallery_dl/extractor/instagram.py index 84018a94..c62880b1 100644 --- a/gallery_dl/extractor/instagram.py +++ b/gallery_dl/extractor/instagram.py @@ -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): diff --git a/gallery_dl/postprocessor/exec.py b/gallery_dl/postprocessor/exec.py index 5a54a77c..25142196 100644 --- a/gallery_dl/postprocessor/exec.py +++ b/gallery_dl/postprocessor/exec.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- -# Copyright 2018-2020 Mike Fährmann +# Copyright 2018-2021 Mike Fährmann # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2 as @@ -39,10 +39,6 @@ class ExecPP(PostProcessor): events = options.get("event") if events is None: events = ("after",) - if options.get("final"): - self.log.warning("'final' is deprecated, " - "use '\"event\": \"finalize\"' instead") - events = ("finalize",) elif isinstance(events, str): events = events.split(",") for event in events: diff --git a/gallery_dl/postprocessor/metadata.py b/gallery_dl/postprocessor/metadata.py index 71a67c17..3dc4e9ec 100644 --- a/gallery_dl/postprocessor/metadata.py +++ b/gallery_dl/postprocessor/metadata.py @@ -55,10 +55,6 @@ class MetadataPP(PostProcessor): events = options.get("event") if events is None: events = ("file",) - if options.get("bypost"): - self.log.warning("'bypost' is deprecated, use '\"event\": " - "\"post\"' and 'filename' instead") - events = ("metadata",) elif isinstance(events, str): events = events.split(",") for event in events: diff --git a/gallery_dl/version.py b/gallery_dl/version.py index 572d3bba..8b5e4afb 100644 --- a/gallery_dl/version.py +++ b/gallery_dl/version.py @@ -1,9 +1,9 @@ # -*- coding: utf-8 -*- -# Copyright 2016-2020 Mike Fährmann +# Copyright 2016-2021 Mike Fährmann # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. -__version__ = "1.16.4" +__version__ = "1.17.0-dev"