mirror of
https://github.com/Second-Hand-Friends/kleinanzeigen-bot.git
synced 2026-03-12 10:31:50 +01:00
update kleinanzeigen URL
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
|
||||
## <a name="about"></a>About
|
||||
|
||||
**kleinanzeigen-bot** is a console based application to ease publishing of ads to ebay-kleinanzeigen.de.
|
||||
**kleinanzeigen-bot** is a console based application to ease publishing of ads to [kleinanzeigen.de](https://kleinanzeigen.de).
|
||||
|
||||
It is the spiritual successor to [Second-Hand-Friends/ebayKleinanzeigen](https://github.com/Second-Hand-Friends/ebayKleinanzeigen) with the following advantages:
|
||||
- supports Microsoft Edge browser (Chromium based)
|
||||
|
||||
@@ -31,7 +31,7 @@ class KleinanzeigenBot(SeleniumMixin):
|
||||
def __init__(self) -> None:
|
||||
super().__init__()
|
||||
|
||||
self.root_url = "https://www.ebay-kleinanzeigen.de"
|
||||
self.root_url = "https://www.kleinanzeigen.de"
|
||||
|
||||
self.config:dict[str, Any] = {}
|
||||
self.config_file_path = abspath("config.yaml")
|
||||
|
||||
@@ -177,7 +177,7 @@ class AdExtractor(SeleniumMixin):
|
||||
contact['phone'] = ''.join(phone_number.replace('-', ' ').split(' ')).replace('+49(0)', '0')
|
||||
except NoSuchElementException:
|
||||
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/
|
||||
# also see 'https://themen.kleinanzeigen.de/hilfe/deine-anzeigen/Telefon/
|
||||
|
||||
return contact
|
||||
|
||||
@@ -188,7 +188,7 @@ class AdExtractor(SeleniumMixin):
|
||||
:return: the links to your ad pages
|
||||
"""
|
||||
# navigate to your ads page
|
||||
self.webdriver.get('https://www.ebay-kleinanzeigen.de/m-meine-anzeigen.html')
|
||||
self.webdriver.get('https://www.kleinanzeigen.de/m-meine-anzeigen.html')
|
||||
self.web_await(EC.url_contains('meine-anzeigen'), 15)
|
||||
pause(2000, 3000)
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ build-backend = "pdm.pep517.api"
|
||||
[project]
|
||||
name = "kleinanzeigen-bot"
|
||||
dynamic = ["version"]
|
||||
description = "Command line tool to publish ads on ebay-kleinanzeigen.de"
|
||||
description = "Command line tool to publish ads on kleinanzeigen.de"
|
||||
readme = "README.md"
|
||||
authors = [
|
||||
{name = "sebthom", email = "sebthom@users.noreply.github.com"},
|
||||
|
||||
Reference in New Issue
Block a user