mirror of
https://github.com/Second-Hand-Friends/kleinanzeigen-bot.git
synced 2026-03-12 10:31:50 +01:00
@@ -168,7 +168,7 @@ class AdExtractor(WebScrapingMixin):
|
|||||||
list_items = await self.web_find_all(By.CLASS_NAME, 'cardbox',
|
list_items = await self.web_find_all(By.CLASS_NAME, 'cardbox',
|
||||||
parent = await self.web_find(By.ID, 'my-manageitems-adlist'))
|
parent = await self.web_find(By.ID, 'my-manageitems-adlist'))
|
||||||
refs += [
|
refs += [
|
||||||
(await self.web_find(By.CSS_SELECTOR, 'article > section > section:nth-of-type(2) > h2 > div > a', parent = li)).attrs['href']
|
(await self.web_find(By.CSS_SELECTOR, 'article > section > section:nth-of-type(2) > h3 > div > a', parent = li)).attrs['href']
|
||||||
for li in list_items
|
for li in list_items
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user