mirror of
https://github.com/anonymousx97/social-dl.git
synced 2025-02-20 11:13:19 +08:00
v2.2.3: get_key bug fix.
This commit is contained in:
parent
ae04775a3c
commit
0bacb96a29
@ -73,7 +73,7 @@ class Instagram(ScraperConfig):
|
|||||||
|
|
||||||
# Rotating Key function to avoid hitting limit on single Key
|
# Rotating Key function to avoid hitting limit on single Key
|
||||||
async def get_key(self):
|
async def get_key(self):
|
||||||
keys, count = API_KEYS
|
keys, count = API_KEYS.values()
|
||||||
count += 1
|
count += 1
|
||||||
if count == len(keys):
|
if count == len(keys):
|
||||||
count = 0
|
count = 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user