Instapy: Schedule working hours

Created on 7 May 2020  路  5Comments  路  Source: timgrossmann/InstaPy


Current Behavior

At this moment, you can schedule using cron, Python schedule, etc. to manage your working hours, I mean, you can set Instapy to work everyday at 8 AM with a fixed number of likes, follows, etc.

I saw that if you set a high level of actions and you set a low daily limit instapy will sleep until next day without taking into account any working timetable.

As an example, we suppose that I want to start instapy everyday about 8 AM (one day at 8:05, other at 8:17, etc.), I wake up and I use instagram like a normal person (not a bot!). If I set a high number of likes, e.g. 100 likes, and a low daily limit, e.g. 35 likes, instapy will sleep when it reaches to 35 likes, but with the current working I can't not configure when I would like to start again. I mean, instapy can be working from 00:01 AM of next day to 8:00 AM.

Expected Behavior

In this issue I proposed to integrate this feature in Instapy, configure your working hours, such as 8AM to 23PM. It would make it more human.

Possible Solution (optional)

I am relatively new to instapy, but I think it can be integrated in quota_supervisor module or create a new module fo handle this feature.

Anyway, it should be used in two situations:

  • In every action, to check that we are in working hours. As an example, we can be in daily limits but we are out of the working day so we should sleep until new day, we are tired and we need to go to bed...
  • In quota supervisor, to set the sleep delays.
wontfix

All 5 comments

I have some experience in Python, if you agree I can try to implement it

I think the idea of global "working hours" is a great idea... if the goal is to not look like a bot, this seems like a basic thing to take into account.

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

If this problem still occurs, please open a new issue

Hi @timgrossmann any thoughts on this? Or how can we help?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

If this problem still occurs, please open a new issue

Was this page helpful?
0 / 5 - 0 ratings