mirror of
https://github.com/lilydjwg/nvchecker.git
synced 2025-03-10 06:14:02 +00:00
bitbucket: actually use max_page parameter
This commit is contained in:
parent
93d1ca16db
commit
077a752045
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ async def get_version(name, conf, **kwargs):
|
|||
async def _get_tags(url, *, max_page):
|
||||
ret = []
|
||||
|
||||
while True:
|
||||
for _ in range(max_page):
|
||||
async with session.get(url) as res:
|
||||
data = await res.json()
|
||||
ret.extend(x['name'] for x in data['values'])
|
||||
|
|
Loading…
Add table
Reference in a new issue