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

After 8 posts it says no more posts found. #31

Open
YokoNat opened this issue Jan 20, 2025 · 1 comment
Open

After 8 posts it says no more posts found. #31

YokoNat opened this issue Jan 20, 2025 · 1 comment

Comments

@YokoNat
Copy link

YokoNat commented Jan 20, 2025

Liking post 8...
Post 8 liked.
Caption for post 8: Tuscan Travertine is the perfect choice to add warmth to any space. 🤩💛⁠

Expanding caption for post 8...
Expanded Caption for post 8: Tuscan Travertine is the perfect choice to add warmth to any space. 🤩�⁠⁠

@buildhhercollective ⁠

Featured stone - Tuscan Travertine ⁠

Click the link in our bio to discover more about our Travertine range...⁠

⁠#designer #style #interiordesigner #design #luxuryarchitecture #archdaily #architecturelovers #interiorstyling #homedecor #interiors #archidaily #homedesign #instahome #architecture #architectureanddesign #construction #rmstraders #thehomeofstone #naturalstone
Waiting 5.687 seconds before moving to the next post...
Like button not found for post 9.
No caption found for post 9.
Waiting 6.68 seconds before moving to the next post...
Like button not found for post 10.
No caption found for post 10.
Waiting 7.927 seconds before moving to the next post...
Like button not found for post 11.
No caption found for post 11.
Waiting 9.777 seconds before moving to the next post...
Like button not found for post 12.
No caption found for post 12.
Waiting 6.382 seconds before moving to the next post...

This is after I removed these lines:
// Check if the post exists
if (!(await page.$(postSelector))) {
console.log("No more posts found. Exiting loop...");
break;
}

For some reason, after 8 posts it stops detecting posts.

@fp231
Copy link

fp231 commented Feb 20, 2025

First of. The speed and quality of the commenting job is very good.

Is this 8 post thing part of the demo use or does it just fail finding the next post?

Would love to help finetuning. What do you need?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants