Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Error message with more than 25 adverts/display on 2+ pages #278

Closed
1 task done
PlanetDyna opened this issue Mar 17, 2024 · 4 comments
Closed
1 task done
Labels
bug Something isn't working

Comments

@PlanetDyna
Copy link

✔️ Expected Behaviour

All adverts are downloaded. Not just the one on page 1.

🐞 Actual Behaviour

Error message/stop the download if the adverts are on page 2 for example.

📋 Steps to Reproduce

Create more than 25 adverts.

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

No response

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

No response

📃 Relevant log output (if applicable)

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@PlanetDyna PlanetDyna added the bug Something isn't working label Mar 17, 2024
@euberdeveloper
Copy link

Isn't it a duplicate of: #263

@TylonHH
Copy link

TylonHH commented Mar 23, 2024

As I have also more then 25 ads I searched here and fpund all this related issues:
#170
#149
#263

This is the verbose error message I got. I hope this helps someone to debug:

[INFO] It seems like you have many ads!
[DEBUG] Closing Browser session...
[INFO] terminated browser with pid 3840 successfully
[ERROR] Traceback (most recent call last):
  File "kleinanzeigen_bot\__main__.py", line 9, in <module>
  File "kleinanzeigen_bot\__init__.py", line 828, in main
  File "asyncio\base_events.py", line 684, in run_until_complete
  File "kleinanzeigen_bot\__init__.py", line 114, in run
  File "kleinanzeigen_bot\__init__.py", line 752, in download_ads
  File "kleinanzeigen_bot\extract.py", line 169, in extract_own_ads_urls
  File "kleinanzeigen_bot\web_scraping_mixin.py", line 412, in web_find_all
  File "kleinanzeigen_bot\web_scraping_mixin.py", line 284, in web_await
TimeoutError: No HTML elements found using CSS selector 'button.jsx-2828608826' within 5 seconds.

I use the latetest exed for windows.

@provinzio
Copy link
Contributor

provinzio commented May 30, 2024

Does the PR fix this issue? @PlanetDyna

According to your added verbose error message, it should be fixed now.

@sebthom
Copy link
Contributor

sebthom commented Jun 1, 2024

Closing issue as it is supposed to be fixed by #298. Feel free to re-open if issue still persists

@sebthom sebthom closed this as completed Jun 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

5 participants