mirror of
https://github.com/instaloader/instaloader.git
synced 2024-08-18 12:49:38 +02:00
Fix HTTP error 500 when accessing :stories in certain cases
Based on a comment in #795: https://github.com/instaloader/instaloader/issues/795#issuecomment-726634493 Closes #795.
This commit is contained in:
parent
6824d7b75c
commit
1c577716dd
@ -579,7 +579,7 @@ class Instaloader:
|
||||
|
||||
def _userid_chunks():
|
||||
assert userids is not None
|
||||
userids_per_query = 100
|
||||
userids_per_query = 50
|
||||
for i in range(0, len(userids), userids_per_query):
|
||||
yield userids[i:i + userids_per_query]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user