df
Some checks failed
smoke-mm / Install & smoke test mm --help (push) Has been cancelled
Some checks failed
smoke-mm / Install & smoke test mm --help (push) Has been cancelled
This commit is contained in:
@@ -56,7 +56,9 @@ class LOC(Provider):
|
||||
page_size = max(1, min(int(limit), 50))
|
||||
|
||||
while len(results) < max(0, int(limit)):
|
||||
payload = client.search_chronicling_america(q, start=start, count=page_size, extra_params=extra)
|
||||
payload = client.search_chronicling_america(
|
||||
q, start=start, count=page_size, extra_params=extra
|
||||
)
|
||||
items = payload.get("results")
|
||||
if not isinstance(items, list) or not items:
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user