Second-Hand-Friends / kleinanzeigen-bot

A dilligent command line tool to publish ads on kleinanzeigen.de
GNU Affero General Public License v3.0
222 stars 46 forks source link

[BUG] Shipping Options exception #352

Open Airwave1981 opened 8 hours ago

Airwave1981 commented 8 hours ago

✔️ Expected Behaviour

I got an exception when the bot selects the shipping options with codeline:

        await self.web_click(By.CSS_SELECTOR, '[class*="jsx-3900439816"]')

I searched in the code and replacing the upper lines with that (line 528+533 in src\kleinanzeigen_bot__init__.py):

        await self.web_click(By.CSS_SELECTOR, '[class*="jsx-963945432 SelectionButton"]')

should get the script working again.

🐞 Actual Behaviour

Termination

📋 Steps to Reproduce

Run with shipping options like:

shipping_type: SHIPPING shipping_costs: 5.00 shipping_options: [Hermes_S] sell_directly: true

📺 What browsers are you seeing the problem on? (if applicable)

Microsoft Edge

💻 What operating systems are you seeing the problem on? (if applicable)

Windows

📃 Relevant log output (if applicable)

No response

Code of Conduct