Skip to content

Commit

Permalink
fix: format
Browse files Browse the repository at this point in the history
  • Loading branch information
mevljas committed Jan 26, 2025
1 parent 54d7421 commit 926c8fb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion services/extract_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,10 @@ async def parse_page(

# Check if there is a next page button.
more_pages = (
await browser_page.locator("xpath=//*[@id='pagination']/ul/li[contains(@class, 'paging_next')]").count() > 0
await browser_page.locator(
"""xpath=//*[@id='pagination']
/ul/li[contains(@class, 'paging_next')]"""
).count() > 0
)

logger.info("Parsing page %s finished.", browser_page.url)
Expand Down

0 comments on commit 926c8fb

Please sign in to comment.