Skip to content

Commit

Permalink
fix: scrape_item reference
Browse files Browse the repository at this point in the history
I have to watch out for these...
  • Loading branch information
NTFSvolume committed Jan 2, 2025
1 parent e162ac7 commit 9942598
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cyberdrop_dl/scraper/crawlers/ehentai_crawler.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ async def web_pager(self, scrape_item: ScrapeItem) -> AsyncGenerator[BeautifulSo
page_url = scrape_item.url
while True:
async with self.request_limiter:
soup: BeautifulSoup = await self.client.get_soup(self.domain, page_url, origin=ScrapeItem)
soup: BeautifulSoup = await self.client.get_soup(self.domain, page_url, origin=scrape_item)
next_page = soup.select_one(self.next_page_selector)
yield soup
if next_page:
Expand Down

0 comments on commit 9942598

Please sign in to comment.