mirror of
https://github.com/Second-Hand-Friends/kleinanzeigen-bot.git
synced 2026-03-12 10:31:50 +01:00
Fix download on given IDs list
This commit is contained in:
committed by
Sebastian Thomschke
parent
88d9e053cb
commit
2c7d165b6e
@@ -183,6 +183,8 @@ class AdExtractor(WebScrapingMixin):
|
||||
:return: whether the navigation to the ad page was successful
|
||||
"""
|
||||
if is_integer(id_or_url):
|
||||
# navigate to start page, otherwise page can be None!
|
||||
await self.web_open('https://www.kleinanzeigen.de/')
|
||||
# enter the ad ID into the search bar
|
||||
await self.web_input(By.ID, "site-search-query", id_or_url)
|
||||
# navigate to ad page and wait
|
||||
|
||||
Reference in New Issue
Block a user