v2.2.3: get_key bug fix.

This commit is contained in:
anonymousx97 2023-08-09 17:53:58 +05:30
parent ae04775a3c
commit 0bacb96a29

View File

@ -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