From 98e0d213838cee099d4bc93449be793c794a5617 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Fri, 8 Jan 2021 15:56:27 +0100 Subject: [PATCH] [instagram] categorize single highlight URLs as 'highlights' They were categorized as 'stories' before. (fixes #1222) --- gallery_dl/extractor/instagram.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gallery_dl/extractor/instagram.py b/gallery_dl/extractor/instagram.py index 930c8b41..c3e7fe4b 100644 --- a/gallery_dl/extractor/instagram.py +++ b/gallery_dl/extractor/instagram.py @@ -609,8 +609,10 @@ class InstagramStoriesExtractor(InstagramExtractor): request_interval = 1.0 def __init__(self, match): - InstagramExtractor.__init__(self, match) self.highlight_id, self.user = match.groups() + if self.highlight_id: + self.subcategory = InstagramHighlightsExtractor.subcategory + InstagramExtractor.__init__(self, match) def posts(self): if self.highlight_id: