refactor(noguchi): make for loop on reapeting element
Some checks are pending
Docker Image CI / build (push) Waiting to run
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:
parent
2eb30e6060
commit
75dee16187
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user