shine-jayakumar/insta-likecom-bot

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

3ux1n3 opened this issue · 0 comments

3ux1n3 commented

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