diff --git a/wg_gesucht/crawler.py b/wg_gesucht/crawler.py index dd04be5..e63982c 100644 --- a/wg_gesucht/crawler.py +++ b/wg_gesucht/crawler.py @@ -37,7 +37,7 @@ def __init__( self.filter_names = filter_names self.share_email = share_email self.submit_message_url = ( - "https://www.wg-gesucht.de/ajax/api/Smp/api.php?action=conversations" + "https://www.wg-gesucht.de/ajax/conversations.php?action=conversations" ) self.session = requests.Session() self.logger = self.get_logger() @@ -87,7 +87,7 @@ def sign_in(self): try: login = self.session.post( - "https://www.wg-gesucht.de/ajax/api/Smp/api.php?action=login", + "https://www.wg-gesucht.de/ajax/sessions.php?action=login", json=payload, ) except requests.exceptions.Timeout: