Skip to content

Commit

Permalink
[instagram] update default delay to 6-12 seconds (#1835)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikf committed Sep 14, 2021
1 parent c9e6693 commit e9bf8d2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions gallery_dl/extractor/instagram.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class InstagramExtractor(Extractor):
root = "https://www.instagram.com"
cookiedomain = ".instagram.com"
cookienames = ("sessionid",)
request_interval = 8.0
request_interval = (6.0, 12.0)

def __init__(self, match):
Extractor.__init__(self, match)
Expand Down Expand Up @@ -679,7 +679,6 @@ class InstagramStoriesExtractor(InstagramExtractor):
("https://www.instagram.com/stories/instagram/"),
("https://www.instagram.com/stories/highlights/18042509488170095/"),
)
request_interval = 1.0

def __init__(self, match):
self.highlight_id, self.user = match.groups()
Expand Down

0 comments on commit e9bf8d2

Please sign in to comment.