FIX make sure ads base directory exists

This commit is contained in:
Philipp K
2022-11-07 17:43:02 +01:00
committed by Sebastian Thomschke
parent faa71ac03f
commit 8bcd6f9ad8
2 changed files with 5 additions and 2 deletions

View File

@@ -143,7 +143,7 @@ class AdExtractor:
phone_number = phone_element.find_element(By.TAG_NAME, 'a').text
contact['phone'] = ''.join(phone_number.replace('-', ' ').split(' ')).replace('+49(0)', '0')
except NoSuchElementException:
contact['phone'] = None # phone seems to be a deprecated feature
contact['phone'] = None # phone seems to be a deprecated feature (for non-professional users)
# also see 'https://themen.ebay-kleinanzeigen.de/hilfe/deine-anzeigen/Telefon/
return contact