[instagram] fix "AttributeError: 'videos_dash'" (#8561)
fixes regression introduced in ab3e34e9c3
This commit is contained in:
@@ -64,6 +64,8 @@ class InstagramExtractor(Extractor):
|
||||
if videos := self.config("videos", True):
|
||||
self.videos_dash = videos_dash = (videos != "merged")
|
||||
videos_headers = {"User-Agent": "Mozilla/5.0"}
|
||||
else:
|
||||
self.videos_dash = False
|
||||
previews = self.config("previews", False)
|
||||
max_posts = self.config("max-posts")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user