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

I need the script to stop when the work is done or loop #73

Open
3ux1n3 opened this issue May 31, 2023 · 0 comments
Open

I need the script to stop when the work is done or loop #73

3ux1n3 opened this issue May 31, 2023 · 0 comments

Comments

@3ux1n3
Copy link

3ux1n3 commented May 31, 2023

When i run this command

ilcbot.py -u Username -p Password -t target -il 5m -np 1

my goal was to check if any post is no more than 5 minutes old , the problem happen when all posts are older the script keep trying all other posts , i think more approriate behaviour is to make script only check last post every 5 minutes for example and comment and like whenever it gets a post

the -np flag i only added to prevent that behaviour but it didn't acheive what i wanted here is the output i got

[*] => Post [] is older than 5 mins. Skipping
[*] => Post [2021-04-23 21:51:39] is older than 5 mins. Skipping
[*] => Post [2021-01-24 16:20:37] is older than 5 mins. Skipping
[*] => Post [2020-07-21 00:15:50] is older than 5 mins. Skipping
[*] => Post [2019-10-19 22:50:10] is older than 5 mins. Skipping
[*] => Post [2019-06-30 23:09:02] is older than 5 mins. Skipping
[*] => Post [2019-05-13 01:27:35] is older than 5 mins. Skipping
[*] => Post [2019-02-13 00:57:48] is older than 5 mins. Skipping
[*] => Post [2018-04-25 12:32:23] is older than 5 mins. Skipping
[*] => Post [2018-04-08 16:33:16] is older than 5 mins. Skipping
[*] => Post [2018-04-08 16:33:16] is older than 5 mins. Skipping
[*] => Post [2018-04-08 16:33:16] is older than 5 mins. Skipping
[*] => Post [2018-04-08 16:33:16] is older than 5 mins. Skipping
[*] => Post [2018-04-08 16:33:16] is older than 5 mins. Skipping
[*] => Post [2018-04-08 16:33:16] is older than 5 mins. Skipping
[*] => Post [2018-04-08 16:33:16] is older than 5 mins. Skipping
[*] => Post [2018-04-08 16:33:16] is older than 5 mins. Skipping
[*] => Post [2018-04-08 16:33:16] is older than 5 mins. Skipping

the target account had only 10 posts and script got stuck in the 10th post and kept repeating this line

[*] => Post [2018-04-08 16:33:16] is older than 5 mins. Skipping

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

1 participant