mirror of
https://github.com/Second-Hand-Friends/kleinanzeigen-bot.git
synced 2026-03-12 10:31:50 +01:00
FIX edge case name without link
This commit is contained in:
committed by
Sebastian Thomschke
parent
d7ccc8954b
commit
a50dead2a7
@@ -716,7 +716,7 @@ class KleinanzeigenBot(SeleniumMixin):
|
||||
n_images = int(image_counter.text[2:])
|
||||
logger.info('Found %d images.', n_images)
|
||||
next_button = self.webdriver.find_element(By.CSS_SELECTOR, '.galleryimage--navigation--next')
|
||||
except NoSuchElementException:
|
||||
except (NoSuchElementException, IndexError):
|
||||
logger.info('Only one image found.')
|
||||
|
||||
# download all images from box
|
||||
|
||||
Reference in New Issue
Block a user