refactor(noguchi): make for loop on reapeting element
Some checks are pending
Docker Image CI / build (push) Waiting to run

Signed-off-by: paprykdev <58005447+paprykdev@users.noreply.github.com>
This commit is contained in:
patilk 2025-01-14 14:12:20 +01:00
parent 2eb30e6060
commit 75dee16187
Signed by: s500042
GPG Key ID: 1921AD722E7392EE

View File

@ -61,8 +61,7 @@ class NoguchiScraper:
time.sleep(5)
async def get_hrefs(self):
await self.load_more()
await self.load_more()
[await self.load_more() for _ in range(2)]
links = await self.find_els('div.grid-flex.grid-cr-browse div.item-grid a')
arr = []
for link in links: