[instagram] categorize single highlight URLs as 'highlights'
They were categorized as 'stories' before. (fixes #1222)
This commit is contained in:
parent
1c9435e0df
commit
98e0d21383
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user