{"action":"created","comment":{"url":"https://api.github.com/repos/ultrabug/py3status/pulls/comments/206323387","pull_request_review_id":141718058,"id":206323387,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwNjMyMzM4Nw==","diff_hunk":"@@ -52,6 +53,7 @@\n \n URL_GEO_OLD_DEFAULT = 'http://ip-api.com/json'\n URL_GEO_NEW_DEFAULT = 'https://ifconfig.co/json'\n+UA = 'Mozilla/5.0 py3status'","path":"py3status/modules/whatismyip.py","position":16,"original_position":16,"commit_id":"f04ab59a8dff733190e942cc5b066fe990e7b995","original_commit_id":"f04ab59a8dff733190e942cc5b066fe990e7b995","user":{"login":"ultrabug","id":474389,"node_id":"MDQ6VXNlcjQ3NDM4OQ==","avatar_url":"https://avatars3.githubusercontent.com/u/474389?v=4","gravatar_id":"","url":"https://api.github.com/users/ultrabug","html_url":"https://github.com/ultrabug","followers_url":"https://api.github.com/users/ultrabug/followers","following_url":"https://api.github.com/users/ultrabug/following{/other_user}","gists_url":"https://api.github.com/users/ultrabug/gists{/gist_id}","starred_url":"https://api.github.com/users/ultrabug/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ultrabug/subscriptions","organizations_url":"https://api.github.com/users/ultrabug/orgs","repos_url":"https://api.github.com/users/ultrabug/repos","events_url":"https://api.github.com/users/ultrabug/events{/privacy}","received_events_url":"https://api.github.com/users/ultrabug/received_events","type":"User","site_admin":false},"body":"I think we should add the hostname of the local machine to avoid having all py3status users use the same UA. If a user spams, it should not impact others\r\n\r\nOn a better version we could even generate a random uuid stored in the py3 storage and use it on the UA as well to add randomness","created_at":"2018-07-30T21:12:37Z","updated_at":"2018-07-30T21:12:45Z","html_url":"https://github.com/ultrabug/py3status/pull/1398#discussion_r206323387","pull_request_url":"https://api.github.com/repos/ultrabug/py3status/pulls/1398","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/ultrabug/py3status/pulls/comments/206323387"},"html":{"href":"https://github.com/ultrabug/py3status/pull/1398#discussion_r206323387"},"pull_request":{"href":"https://api.github.com/repos/ultrabug/py3status/pulls/1398"}}},"pull_request":{"url":"https://api.github.com/repos/ultrabug/py3status/pulls/1398","id":204045980,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA0MDQ1OTgw","html_url":"https://github.com/ultrabug/py3status/pull/1398","diff_url":"https://github.com/ultrabug/py3status/pull/1398.diff","patch_url":"https://github.com/ultrabug/py3status/pull/1398.patch","issue_url":"https://api.github.com/repos/ultrabug/py3status/issues/1398","number":1398,"state":"open","locked":false,"title":"whatismyip: repair module, py3status useragent currently blacklisted","user":{"login":"cyrinux","id":519083,"node_id":"MDQ6VXNlcjUxOTA4Mw==","avatar_url":"https://avatars2.githubusercontent.com/u/519083?v=4","gravatar_id":"","url":"https://api.github.com/users/cyrinux","html_url":"https://github.com/cyrinux","followers_url":"https://api.github.com/users/cyrinux/followers","following_url":"https://api.github.com/users/cyrinux/following{/other_user}","gists_url":"https://api.github.com/users/cyrinux/gists{/gist_id}","starred_url":"https://api.github.com/users/cyrinux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cyrinux/subscriptions","organizations_url":"https://api.github.com/users/cyrinux/orgs","repos_url":"https://api.github.com/users/cyrinux/repos","events_url":"https://api.github.com/users/cyrinux/events{/privacy}","received_events_url":"https://api.github.com/users/cyrinux/received_events","type":"User","site_admin":false},"body":"Hi,\r\n\r\nwhatismyip module with default params is re-die.\r\nWe must be more cool with api.\r\n\r\n* Change negative_cache_timeout default value from 2 to 60. This prevent burst on api when no reply.\r\nif api is sleepy or lazy we can click to refresh maybe, i prefer prevent to being blacklisted.\r\n* To repair module, i forced another User-Agent same as coinmarket module.\r\n* Also raise error in log if negative_cache_timeout is overrided with a lower value and ignore_warnings not set.","created_at":"2018-07-26T07:01:55Z","updated_at":"2018-07-30T21:12:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e39389dce9cdcbfa65f311ef7a15dd7452eae443","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ultrabug/py3status/pulls/1398/commits","review_comments_url":"https://api.github.com/repos/ultrabug/py3status/pulls/1398/comments","review_comment_url":"https://api.github.com/repos/ultrabug/py3status/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ultrabug/py3status/issues/1398/comments","statuses_url":"https://api.github.com/repos/ultrabug/py3status/statuses/f04ab59a8dff733190e942cc5b066fe990e7b995","head":{"label":"cyrinux:fixWhatIsMyIp","ref":"fixWhatIsMyIp","sha":"f04ab59a8dff733190e942cc5b066fe990e7b995","user":{"login":"cyrinux","id":519083,"node_id":"MDQ6VXNlcjUxOTA4Mw==","avatar_url":"https://avatars2.githubusercontent.com/u/519083?v=4","gravatar_id":"","url":"https://api.github.com/users/cyrinux","html_url":"https://github.com/cyrinux","followers_url":"https://api.github.com/users/cyrinux/followers","following_url":"https://api.github.com/users/cyrinux/following{/other_user}","gists_url":"https://api.github.com/users/cyrinux/gists{/gist_id}","starred_url":"https://api.github.com/users/cyrinux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cyrinux/subscriptions","organizations_url":"https://api.github.com/users/cyrinux/orgs","repos_url":"https://api.github.com/users/cyrinux/repos","events_url":"https://api.github.com/users/cyrinux/events{/privacy}","received_events_url":"https://api.github.com/users/cyrinux/received_events","type":"User","site_admin":false},"repo":{"id":124918706,"node_id":"MDEwOlJlcG9zaXRvcnkxMjQ5MTg3MDY=","name":"py3status","full_name":"cyrinux/py3status","owner":{"login":"cyrinux","id":519083,"node_id":"MDQ6VXNlcjUxOTA4Mw==","avatar_url":"https://avatars2.githubusercontent.com/u/519083?v=4","gravatar_id":"","url":"https://api.github.com/users/cyrinux","html_url":"https://github.com/cyrinux","followers_url":"https://api.github.com/users/cyrinux/followers","following_url":"https://api.github.com/users/cyrinux/following{/other_user}","gists_url":"https://api.github.com/users/cyrinux/gists{/gist_id}","starred_url":"https://api.github.com/users/cyrinux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cyrinux/subscriptions","organizations_url":"https://api.github.com/users/cyrinux/orgs","repos_url":"https://api.github.com/users/cyrinux/repos","events_url":"https://api.github.com/users/cyrinux/events{/privacy}","received_events_url":"https://api.github.com/users/cyrinux/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cyrinux/py3status","description":"py3status is an extensible i3status wrapper written in python","fork":true,"url":"https://api.github.com/repos/cyrinux/py3status","forks_url":"https://api.github.com/repos/cyrinux/py3status/forks","keys_url":"https://api.github.com/repos/cyrinux/py3status/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cyrinux/py3status/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cyrinux/py3status/teams","hooks_url":"https://api.github.com/repos/cyrinux/py3status/hooks","issue_events_url":"https://api.github.com/repos/cyrinux/py3status/issues/events{/number}","events_url":"https://api.github.com/repos/cyrinux/py3status/events","assignees_url":"https://api.github.com/repos/cyrinux/py3status/assignees{/user}","branches_url":"https://api.github.com/repos/cyrinux/py3status/branches{/branch}","tags_url":"https://api.github.com/repos/cyrinux/py3status/tags","blobs_url":"https://api.github.com/repos/cyrinux/py3status/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cyrinux/py3status/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cyrinux/py3status/git/refs{/sha}","trees_url":"https://api.github.com/repos/cyrinux/py3status/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cyrinux/py3status/statuses/{sha}","languages_url":"https://api.github.com/repos/cyrinux/py3status/languages","stargazers_url":"https://api.github.com/repos/cyrinux/py3status/stargazers","contributors_url":"https://api.github.com/repos/cyrinux/py3status/contributors","subscribers_url":"https://api.github.com/repos/cyrinux/py3status/subscribers","subscription_url":"https://api.github.com/repos/cyrinux/py3status/subscription","commits_url":"https://api.github.com/repos/cyrinux/py3status/commits{/sha}","git_commits_url":"https://api.github.com/repos/cyrinux/py3status/git/commits{/sha}","comments_url":"https://api.github.com/repos/cyrinux/py3status/comments{/number}","issue_comment_url":"https://api.github.com/repos/cyrinux/py3status/issues/comments{/number}","contents_url":"https://api.github.com/repos/cyrinux/py3status/contents/{+path}","compare_url":"https://api.github.com/repos/cyrinux/py3status/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cyrinux/py3status/merges","archive_url":"https://api.github.com/repos/cyrinux/py3status/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cyrinux/py3status/downloads","issues_url":"https://api.github.com/repos/cyrinux/py3status/issues{/number}","pulls_url":"https://api.github.com/repos/cyrinux/py3status/pulls{/number}","milestones_url":"https://api.github.com/repos/cyrinux/py3status/milestones{/number}","notifications_url":"https://api.github.com/repos/cyrinux/py3status/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cyrinux/py3status/labels{/name}","releases_url":"https://api.github.com/repos/cyrinux/py3status/releases{/id}","deployments_url":"https://api.github.com/repos/cyrinux/py3status/deployments","created_at":"2018-03-12T16:29:42Z","updated_at":"2018-07-26T06:58:34Z","pushed_at":"2018-07-26T09:20:18Z","git_url":"git://github.com/cyrinux/py3status.git","ssh_url":"git@github.com:cyrinux/py3status.git","clone_url":"https://github.com/cyrinux/py3status.git","svn_url":"https://github.com/cyrinux/py3status","homepage":"https://py3status.readthedocs.io/","size":4161,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ultrabug:master","ref":"master","sha":"e3a189b03e81bf446ef37e424ad3ea7a11a92c2a","user":{"login":"ultrabug","id":474389,"node_id":"MDQ6VXNlcjQ3NDM4OQ==","avatar_url":"https://avatars3.githubusercontent.com/u/474389?v=4","gravatar_id":"","url":"https://api.github.com/users/ultrabug","html_url":"https://github.com/ultrabug","followers_url":"https://api.github.com/users/ultrabug/followers","following_url":"https://api.github.com/users/ultrabug/following{/other_user}","gists_url":"https://api.github.com/users/ultrabug/gists{/gist_id}","starred_url":"https://api.github.com/users/ultrabug/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ultrabug/subscriptions","organizations_url":"https://api.github.com/users/ultrabug/orgs","repos_url":"https://api.github.com/users/ultrabug/repos","events_url":"https://api.github.com/users/ultrabug/events{/privacy}","received_events_url":"https://api.github.com/users/ultrabug/received_events","type":"User","site_admin":false},"repo":{"id":8292338,"node_id":"MDEwOlJlcG9zaXRvcnk4MjkyMzM4","name":"py3status","full_name":"ultrabug/py3status","owner":{"login":"ultrabug","id":474389,"node_id":"MDQ6VXNlcjQ3NDM4OQ==","avatar_url":"https://avatars3.githubusercontent.com/u/474389?v=4","gravatar_id":"","url":"https://api.github.com/users/ultrabug","html_url":"https://github.com/ultrabug","followers_url":"https://api.github.com/users/ultrabug/followers","following_url":"https://api.github.com/users/ultrabug/following{/other_user}","gists_url":"https://api.github.com/users/ultrabug/gists{/gist_id}","starred_url":"https://api.github.com/users/ultrabug/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ultrabug/subscriptions","organizations_url":"https://api.github.com/users/ultrabug/orgs","repos_url":"https://api.github.com/users/ultrabug/repos","events_url":"https://api.github.com/users/ultrabug/events{/privacy}","received_events_url":"https://api.github.com/users/ultrabug/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ultrabug/py3status","description":"py3status is an extensible i3status wrapper written in python","fork":false,"url":"https://api.github.com/repos/ultrabug/py3status","forks_url":"https://api.github.com/repos/ultrabug/py3status/forks","keys_url":"https://api.github.com/repos/ultrabug/py3status/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ultrabug/py3status/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ultrabug/py3status/teams","hooks_url":"https://api.github.com/repos/ultrabug/py3status/hooks","issue_events_url":"https://api.github.com/repos/ultrabug/py3status/issues/events{/number}","events_url":"https://api.github.com/repos/ultrabug/py3status/events","assignees_url":"https://api.github.com/repos/ultrabug/py3status/assignees{/user}","branches_url":"https://api.github.com/repos/ultrabug/py3status/branches{/branch}","tags_url":"https://api.github.com/repos/ultrabug/py3status/tags","blobs_url":"https://api.github.com/repos/ultrabug/py3status/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ultrabug/py3status/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ultrabug/py3status/git/refs{/sha}","trees_url":"https://api.github.com/repos/ultrabug/py3status/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ultrabug/py3status/statuses/{sha}","languages_url":"https://api.github.com/repos/ultrabug/py3status/languages","stargazers_url":"https://api.github.com/repos/ultrabug/py3status/stargazers","contributors_url":"https://api.github.com/repos/ultrabug/py3status/contributors","subscribers_url":"https://api.github.com/repos/ultrabug/py3status/subscribers","subscription_url":"https://api.github.com/repos/ultrabug/py3status/subscription","commits_url":"https://api.github.com/repos/ultrabug/py3status/commits{/sha}","git_commits_url":"https://api.github.com/repos/ultrabug/py3status/git/commits{/sha}","comments_url":"https://api.github.com/repos/ultrabug/py3status/comments{/number}","issue_comment_url":"https://api.github.com/repos/ultrabug/py3status/issues/comments{/number}","contents_url":"https://api.github.com/repos/ultrabug/py3status/contents/{+path}","compare_url":"https://api.github.com/repos/ultrabug/py3status/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ultrabug/py3status/merges","archive_url":"https://api.github.com/repos/ultrabug/py3status/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ultrabug/py3status/downloads","issues_url":"https://api.github.com/repos/ultrabug/py3status/issues{/number}","pulls_url":"https://api.github.com/repos/ultrabug/py3status/pulls{/number}","milestones_url":"https://api.github.com/repos/ultrabug/py3status/milestones{/number}","notifications_url":"https://api.github.com/repos/ultrabug/py3status/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ultrabug/py3status/labels{/name}","releases_url":"https://api.github.com/repos/ultrabug/py3status/releases{/id}","deployments_url":"https://api.github.com/repos/ultrabug/py3status/deployments","created_at":"2013-02-19T14:59:13Z","updated_at":"2018-07-29T22:20:11Z","pushed_at":"2018-07-26T09:20:19Z","git_url":"git://github.com/ultrabug/py3status.git","ssh_url":"git@github.com:ultrabug/py3status.git","clone_url":"https://github.com/ultrabug/py3status.git","svn_url":"https://github.com/ultrabug/py3status","homepage":"https://py3status.readthedocs.io/","size":4037,"stargazers_count":531,"watchers_count":531,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":187,"mirror_url":null,"archived":false,"open_issues_count":99,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"forks":187,"open_issues":99,"watchers":531,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ultrabug/py3status/pulls/1398"},"html":{"href":"https://github.com/ultrabug/py3status/pull/1398"},"issue":{"href":"https://api.github.com/repos/ultrabug/py3status/issues/1398"},"comments":{"href":"https://api.github.com/repos/ultrabug/py3status/issues/1398/comments"},"review_comments":{"href":"https://api.github.com/repos/ultrabug/py3status/pulls/1398/comments"},"review_comment":{"href":"https://api.github.com/repos/ultrabug/py3status/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ultrabug/py3status/pulls/1398/commits"},"statuses":{"href":"https://api.github.com/repos/ultrabug/py3status/statuses/f04ab59a8dff733190e942cc5b066fe990e7b995"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"ultrabug"}}