{"action":"created","issue":{"url":"https://api.github.com/repos/timgrossmann/InstaPy/issues/2039","repository_url":"https://api.github.com/repos/timgrossmann/InstaPy","labels_url":"https://api.github.com/repos/timgrossmann/InstaPy/issues/2039/labels{/name}","comments_url":"https://api.github.com/repos/timgrossmann/InstaPy/issues/2039/comments","events_url":"https://api.github.com/repos/timgrossmann/InstaPy/issues/2039/events","html_url":"https://github.com/timgrossmann/InstaPy/issues/2039","id":324083971,"node_id":"MDU6SXNzdWUzMjQwODM5NzE=","number":2039,"title":"Instapy crashes on set_dont_unfollow_active_users ","user":{"login":"koenvdlist","id":38051934,"node_id":"MDQ6VXNlcjM4MDUxOTM0","avatar_url":"https://avatars1.githubusercontent.com/u/38051934?v=4","gravatar_id":"","url":"https://api.github.com/users/koenvdlist","html_url":"https://github.com/koenvdlist","followers_url":"https://api.github.com/users/koenvdlist/followers","following_url":"https://api.github.com/users/koenvdlist/following{/other_user}","gists_url":"https://api.github.com/users/koenvdlist/gists{/gist_id}","starred_url":"https://api.github.com/users/koenvdlist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koenvdlist/subscriptions","organizations_url":"https://api.github.com/users/koenvdlist/orgs","repos_url":"https://api.github.com/users/koenvdlist/repos","events_url":"https://api.github.com/users/koenvdlist/events{/privacy}","received_events_url":"https://api.github.com/users/koenvdlist/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-05-17T15:52:16Z","updated_at":"2018-11-14T11:09:24Z","closed_at":null,"author_association":"NONE","body":"<!-- Is this a Feature Request ? Please, check out our Wiki first https://github.com/timgrossmann/InstaPy/wiki -->\r\n## Expected Behavior\r\nInstapy counts active users correctly and does not unfollow them. \r\n\r\n## Current Behavior\r\n\r\nDevTools listening on ws://127.0.0.1:12982/devtools/browser/29c8703b-7b69-4d56-8e11-e26aba37944d\r\nINFO [2018-05-17 17:48:37] [koekoeksklokonline.nl]  Session started - 2018-05-17 17:48:37\r\nWARNING [2018-05-17 17:48:37] [koekoeksklokonline.nl]  Sorry, Record Activity is not working on Windows. We're working to fix this soon!\r\nINFO [2018-05-17 17:49:33] [koekoeksklokonline.nl]  Logged in successfully!\r\nINFO [2018-05-17 17:49:47] [koekoeksklokonline.nl]  Getting active users who liked the latest 5 posts:\r\n  ~collecting the usernames from posts with the boundary of 500\r\n\r\nINFO [2018-05-17 17:49:54] [koekoeksklokonline.nl]  Session ended - 2018-05-17 17:49:54\r\nINFO [2018-05-17 17:49:54] [koekoeksklokonline.nl]  --------------------\r\n\r\n\r\nTraceback (most recent call last):\r\n  File \"C:\\Users\\User\\OneDrive\\Koekoeksklok\\Instagram\\automation\\InstaPy-master\\InstaPy-master\\quickstart.py\", line 30, in <module>\r\n    session.set_dont_unfollow_active_users(enabled=True, posts=5)\r\n  File \"C:\\Users\\User\\OneDrive\\Koekoeksklok\\Instagram\\automation\\InstaPy-master\\InstaPy-master\\instapy\\instapy.py\", line 2072, in set_dont_unfollow_active_users\r\n    self.logger)\r\n  File \"C:\\Users\\User\\OneDrive\\Koekoeksklok\\Instagram\\automation\\InstaPy-master\\InstaPy-master\\instapy\\util.py\", line 130, in get_active_users\r\n    \"//a[contains(@class, '_nzn1h')]/span\").text)\r\n  File \"C:\\Users\\User\\OneDrive\\Koekoeksklok\\Instagram\\automation\\InstaPy-master\\InstaPy-master\\instapy\\util.py\", line 342, in format_number\r\n    return int(formatted_num)\r\nValueError: invalid literal for int() with base 10: ''\r\n\r\n## Possible Solution (optional)\r\nMight be related to #1924, as  ValueError is the same. However, the error exists due to   session.set_dont_unfollow_active_users instead of like_by_tags.\r\n## InstaPy configuration\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/timgrossmann/InstaPy/issues/comments/438625792","html_url":"https://github.com/timgrossmann/InstaPy/issues/2039#issuecomment-438625792","issue_url":"https://api.github.com/repos/timgrossmann/InstaPy/issues/2039","id":438625792,"node_id":"MDEyOklzc3VlQ29tbWVudDQzODYyNTc5Mg==","user":{"login":"stale[bot]","id":26384082,"node_id":"MDM6Qm90MjYzODQwODI=","avatar_url":"https://avatars3.githubusercontent.com/in/1724?v=4","gravatar_id":"","url":"https://api.github.com/users/stale%5Bbot%5D","html_url":"https://github.com/apps/stale","followers_url":"https://api.github.com/users/stale%5Bbot%5D/followers","following_url":"https://api.github.com/users/stale%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/stale%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/stale%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stale%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/stale%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/stale%5Bbot%5D/repos","events_url":"https://api.github.com/users/stale%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/stale%5Bbot%5D/received_events","type":"Bot","site_admin":false},"created_at":"2018-11-14T11:09:24Z","updated_at":"2018-11-14T11:09:24Z","author_association":"NONE","body":"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.   \n> If this problem still occurs, please open a new issue \n"}}
{"actor":{"display_login":"stale"}}