{"action":"created","issue":{"url":"https://api.github.com/repos/LevPasha/instabot.py/issues/101","repository_url":"https://api.github.com/repos/LevPasha/instabot.py","labels_url":"https://api.github.com/repos/LevPasha/instabot.py/issues/101/labels{/name}","comments_url":"https://api.github.com/repos/LevPasha/instabot.py/issues/101/comments","events_url":"https://api.github.com/repos/LevPasha/instabot.py/issues/101/events","html_url":"https://github.com/LevPasha/instabot.py/issues/101","id":159909615,"number":101,"title":"Planning activity for specific hours","user":{"login":"farhang87","id":15828117,"avatar_url":"https://avatars.githubusercontent.com/u/15828117?v=3","gravatar_id":"","url":"https://api.github.com/users/farhang87","html_url":"https://github.com/farhang87","followers_url":"https://api.github.com/users/farhang87/followers","following_url":"https://api.github.com/users/farhang87/following{/other_user}","gists_url":"https://api.github.com/users/farhang87/gists{/gist_id}","starred_url":"https://api.github.com/users/farhang87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/farhang87/subscriptions","organizations_url":"https://api.github.com/users/farhang87/orgs","repos_url":"https://api.github.com/users/farhang87/repos","events_url":"https://api.github.com/users/farhang87/events{/privacy}","received_events_url":"https://api.github.com/users/farhang87/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-06-13T09:38:13Z","updated_at":"2016-06-13T13:27:06Z","closed_at":null,"body":"Love the bot! Great work.\r\n\r\nI was wondering if there is a possibility to add the following feature:\r\n\r\n- Set a max amount of likes per hour with specific time cycles. Let's say after a set of 50 likes it pauses for 20 minutes before it starts a new cycle of liking again a set of 50 before a 20 min break etc etc\r\n- Making the option to choose specific hours under which it's active. For instance between 12-5pm and 1-6am. \r\n\r\nThese features should make it more 'human' I think and possible to combine with your own activity.\r\n\r\nLooking forward hearing how to integrate this."},"comment":{"url":"https://api.github.com/repos/LevPasha/instabot.py/issues/comments/225580023","html_url":"https://github.com/LevPasha/instabot.py/issues/101#issuecomment-225580023","issue_url":"https://api.github.com/repos/LevPasha/instabot.py/issues/101","id":225580023,"user":{"login":"psam25","id":12434586,"avatar_url":"https://avatars.githubusercontent.com/u/12434586?v=3","gravatar_id":"","url":"https://api.github.com/users/psam25","html_url":"https://github.com/psam25","followers_url":"https://api.github.com/users/psam25/followers","following_url":"https://api.github.com/users/psam25/following{/other_user}","gists_url":"https://api.github.com/users/psam25/gists{/gist_id}","starred_url":"https://api.github.com/users/psam25/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/psam25/subscriptions","organizations_url":"https://api.github.com/users/psam25/orgs","repos_url":"https://api.github.com/users/psam25/repos","events_url":"https://api.github.com/users/psam25/events{/privacy}","received_events_url":"https://api.github.com/users/psam25/received_events","type":"User","site_admin":false},"created_at":"2016-06-13T13:27:06Z","updated_at":"2016-06-13T13:27:06Z","body":"Just the same:\r\n```\r\n\r\n                                if like.status_code == 200:\r\n                                    # Like, all ok!\r\n                                    self.error_400 = 0\r\n                                    self.like_counter += 1\r\n                                    \r\n                                    log_string = now_time.strftime(\"Liked: %s. Like #%i.\" %\\\r\n                                                 (self.media_by_tag[i]['id'],\r\n                                                  self.like_counter)\r\n                                    self.write_log(log_string)\r\n                                    if self.like_counter == 50 or self.like_counter == 100 or self.like_counter == 150:\r\n                                        time.sleep(1000 + 3000 * random.random())  \r\n```"}}
{"actor":{"display_login":"psam25"}}