{"action":"created","comment":{"url":"https://api.github.com/repos/pgaref/HTTP_Request_Randomizer/pulls/comments/200810781","pull_request_review_id":135202671,"id":200810781,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMDgxMDc4MQ==","diff_hunk":"@@ -1,15 +1,24 @@\n import os\n import random\n+from fake_useragent import FakeUserAgent\n+import logging\n \n+logger = logging.getLogger(__name__)","path":"http_request_randomizer/requests/useragent/userAgent.py","position":6,"original_position":6,"commit_id":"c5e141a7b90d2d18e08fd45a2abb9a6963cacf5b","original_commit_id":"c5e141a7b90d2d18e08fd45a2abb9a6963cacf5b","user":{"login":"pgaref","id":2953485,"node_id":"MDQ6VXNlcjI5NTM0ODU=","avatar_url":"https://avatars2.githubusercontent.com/u/2953485?v=4","gravatar_id":"","url":"https://api.github.com/users/pgaref","html_url":"https://github.com/pgaref","followers_url":"https://api.github.com/users/pgaref/followers","following_url":"https://api.github.com/users/pgaref/following{/other_user}","gists_url":"https://api.github.com/users/pgaref/gists{/gist_id}","starred_url":"https://api.github.com/users/pgaref/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pgaref/subscriptions","organizations_url":"https://api.github.com/users/pgaref/orgs","repos_url":"https://api.github.com/users/pgaref/repos","events_url":"https://api.github.com/users/pgaref/events{/privacy}","received_events_url":"https://api.github.com/users/pgaref/received_events","type":"User","site_admin":false},"body":"LG","created_at":"2018-07-07T12:12:36Z","updated_at":"2018-07-07T12:12:36Z","html_url":"https://github.com/pgaref/HTTP_Request_Randomizer/pull/49#discussion_r200810781","pull_request_url":"https://api.github.com/repos/pgaref/HTTP_Request_Randomizer/pulls/49","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/pgaref/HTTP_Request_Randomizer/pulls/comments/200810781"},"html":{"href":"https://github.com/pgaref/HTTP_Request_Randomizer/pull/49#discussion_r200810781"},"pull_request":{"href":"https://api.github.com/repos/pgaref/HTTP_Request_Randomizer/pulls/49"}}},"pull_request":{"url":"https://api.github.com/repos/pgaref/HTTP_Request_Randomizer/pulls/49","id":199625207,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk5NjI1MjA3","html_url":"https://github.com/pgaref/HTTP_Request_Randomizer/pull/49","diff_url":"https://github.com/pgaref/HTTP_Request_Randomizer/pull/49.diff","patch_url":"https://github.com/pgaref/HTTP_Request_Randomizer/pull/49.patch","issue_url":"https://api.github.com/repos/pgaref/HTTP_Request_Randomizer/issues/49","number":49,"state":"open","locked":false,"title":"implemented fake-useragent package","user":{"login":"la55u","id":30611343,"node_id":"MDQ6VXNlcjMwNjExMzQz","avatar_url":"https://avatars1.githubusercontent.com/u/30611343?v=4","gravatar_id":"","url":"https://api.github.com/users/la55u","html_url":"https://github.com/la55u","followers_url":"https://api.github.com/users/la55u/followers","following_url":"https://api.github.com/users/la55u/following{/other_user}","gists_url":"https://api.github.com/users/la55u/gists{/gist_id}","starred_url":"https://api.github.com/users/la55u/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/la55u/subscriptions","organizations_url":"https://api.github.com/users/la55u/orgs","repos_url":"https://api.github.com/users/la55u/repos","events_url":"https://api.github.com/users/la55u/events{/privacy}","received_events_url":"https://api.github.com/users/la55u/received_events","type":"User","site_admin":false},"body":"The default way the program gets user agents is now from an online, up-to-date database\r\nwith the help of the fake-useragent package. Reading useragents from a custom local\r\nfile is still available as a parameter to the UserAgentManager class. Solves #28.\r\n","created_at":"2018-07-06T01:43:10Z","updated_at":"2018-07-07T12:12:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"509794965f09c3ed1359c0e9a14156014cf5b632","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/pgaref/HTTP_Request_Randomizer/pulls/49/commits","review_comments_url":"https://api.github.com/repos/pgaref/HTTP_Request_Randomizer/pulls/49/comments","review_comment_url":"https://api.github.com/repos/pgaref/HTTP_Request_Randomizer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pgaref/HTTP_Request_Randomizer/issues/49/comments","statuses_url":"https://api.github.com/repos/pgaref/HTTP_Request_Randomizer/statuses/c5e141a7b90d2d18e08fd45a2abb9a6963cacf5b","head":{"label":"la55u:master","ref":"master","sha":"c5e141a7b90d2d18e08fd45a2abb9a6963cacf5b","user":{"login":"la55u","id":30611343,"node_id":"MDQ6VXNlcjMwNjExMzQz","avatar_url":"https://avatars1.githubusercontent.com/u/30611343?v=4","gravatar_id":"","url":"https://api.github.com/users/la55u","html_url":"https://github.com/la55u","followers_url":"https://api.github.com/users/la55u/followers","following_url":"https://api.github.com/users/la55u/following{/other_user}","gists_url":"https://api.github.com/users/la55u/gists{/gist_id}","starred_url":"https://api.github.com/users/la55u/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/la55u/subscriptions","organizations_url":"https://api.github.com/users/la55u/orgs","repos_url":"https://api.github.com/users/la55u/repos","events_url":"https://api.github.com/users/la55u/events{/privacy}","received_events_url":"https://api.github.com/users/la55u/received_events","type":"User","site_admin":false},"repo":{"id":139624190,"node_id":"MDEwOlJlcG9zaXRvcnkxMzk2MjQxOTA=","name":"HTTP_Request_Randomizer","full_name":"la55u/HTTP_Request_Randomizer","owner":{"login":"la55u","id":30611343,"node_id":"MDQ6VXNlcjMwNjExMzQz","avatar_url":"https://avatars1.githubusercontent.com/u/30611343?v=4","gravatar_id":"","url":"https://api.github.com/users/la55u","html_url":"https://github.com/la55u","followers_url":"https://api.github.com/users/la55u/followers","following_url":"https://api.github.com/users/la55u/following{/other_user}","gists_url":"https://api.github.com/users/la55u/gists{/gist_id}","starred_url":"https://api.github.com/users/la55u/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/la55u/subscriptions","organizations_url":"https://api.github.com/users/la55u/orgs","repos_url":"https://api.github.com/users/la55u/repos","events_url":"https://api.github.com/users/la55u/events{/privacy}","received_events_url":"https://api.github.com/users/la55u/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/la55u/HTTP_Request_Randomizer","description":"Proxying Python Requests","fork":true,"url":"https://api.github.com/repos/la55u/HTTP_Request_Randomizer","forks_url":"https://api.github.com/repos/la55u/HTTP_Request_Randomizer/forks","keys_url":"https://api.github.com/repos/la55u/HTTP_Request_Randomizer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/la55u/HTTP_Request_Randomizer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/la55u/HTTP_Request_Randomizer/teams","hooks_url":"https://api.github.com/repos/la55u/HTTP_Request_Randomizer/hooks","issue_events_url":"https://api.github.com/repos/la55u/HTTP_Request_Randomizer/issues/events{/number}","events_url":"https://api.github.com/repos/la55u/HTTP_Request_Randomizer/events","assignees_url":"https://api.github.com/repos/la55u/HTTP_Request_Randomizer/assignees{/user}","branches_url":"https://api.github.com/repos/la55u/HTTP_Request_Randomizer/branches{/branch}","tags_url":"https://api.github.com/repos/la55u/HTTP_Request_Randomizer/tags","blobs_url":"https://api.github.com/repos/la55u/HTTP_Request_Randomizer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/la55u/HTTP_Request_Randomizer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/la55u/HTTP_Request_Randomizer/git/refs{/sha}","trees_url":"https://api.github.com/repos/la55u/HTTP_Request_Randomizer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/la55u/HTTP_Request_Randomizer/statuses/{sha}","languages_url":"https://api.github.com/repos/la55u/HTTP_Request_Randomizer/languages","stargazers_url":"https://api.github.com/repos/la55u/HTTP_Request_Randomizer/stargazers","contributors_url":"https://api.github.com/repos/la55u/HTTP_Request_Randomizer/contributors","subscribers_url":"https://api.github.com/repos/la55u/HTTP_Request_Randomizer/subscribers","subscription_url":"https://api.github.com/repos/la55u/HTTP_Request_Randomizer/subscription","commits_url":"https://api.github.com/repos/la55u/HTTP_Request_Randomizer/commits{/sha}","git_commits_url":"https://api.github.com/repos/la55u/HTTP_Request_Randomizer/git/commits{/sha}","comments_url":"https://api.github.com/repos/la55u/HTTP_Request_Randomizer/comments{/number}","issue_comment_url":"https://api.github.com/repos/la55u/HTTP_Request_Randomizer/issues/comments{/number}","contents_url":"https://api.github.com/repos/la55u/HTTP_Request_Randomizer/contents/{+path}","compare_url":"https://api.github.com/repos/la55u/HTTP_Request_Randomizer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/la55u/HTTP_Request_Randomizer/merges","archive_url":"https://api.github.com/repos/la55u/HTTP_Request_Randomizer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/la55u/HTTP_Request_Randomizer/downloads","issues_url":"https://api.github.com/repos/la55u/HTTP_Request_Randomizer/issues{/number}","pulls_url":"https://api.github.com/repos/la55u/HTTP_Request_Randomizer/pulls{/number}","milestones_url":"https://api.github.com/repos/la55u/HTTP_Request_Randomizer/milestones{/number}","notifications_url":"https://api.github.com/repos/la55u/HTTP_Request_Randomizer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/la55u/HTTP_Request_Randomizer/labels{/name}","releases_url":"https://api.github.com/repos/la55u/HTTP_Request_Randomizer/releases{/id}","deployments_url":"https://api.github.com/repos/la55u/HTTP_Request_Randomizer/deployments","created_at":"2018-07-03T18:37:15Z","updated_at":"2018-07-07T02:36:08Z","pushed_at":"2018-07-07T02:36:07Z","git_url":"git://github.com/la55u/HTTP_Request_Randomizer.git","ssh_url":"git@github.com:la55u/HTTP_Request_Randomizer.git","clone_url":"https://github.com/la55u/HTTP_Request_Randomizer.git","svn_url":"https://github.com/la55u/HTTP_Request_Randomizer","homepage":"http://pgaref.com/blog/python-proxy/","size":228,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"pgaref:master","ref":"master","sha":"fac206a8c54a53f1765999808d9ccaf841a492aa","user":{"login":"pgaref","id":2953485,"node_id":"MDQ6VXNlcjI5NTM0ODU=","avatar_url":"https://avatars2.githubusercontent.com/u/2953485?v=4","gravatar_id":"","url":"https://api.github.com/users/pgaref","html_url":"https://github.com/pgaref","followers_url":"https://api.github.com/users/pgaref/followers","following_url":"https://api.github.com/users/pgaref/following{/other_user}","gists_url":"https://api.github.com/users/pgaref/gists{/gist_id}","starred_url":"https://api.github.com/users/pgaref/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pgaref/subscriptions","organizations_url":"https://api.github.com/users/pgaref/orgs","repos_url":"https://api.github.com/users/pgaref/repos","events_url":"https://api.github.com/users/pgaref/events{/privacy}","received_events_url":"https://api.github.com/users/pgaref/received_events","type":"User","site_admin":false},"repo":{"id":45270722,"node_id":"MDEwOlJlcG9zaXRvcnk0NTI3MDcyMg==","name":"HTTP_Request_Randomizer","full_name":"pgaref/HTTP_Request_Randomizer","owner":{"login":"pgaref","id":2953485,"node_id":"MDQ6VXNlcjI5NTM0ODU=","avatar_url":"https://avatars2.githubusercontent.com/u/2953485?v=4","gravatar_id":"","url":"https://api.github.com/users/pgaref","html_url":"https://github.com/pgaref","followers_url":"https://api.github.com/users/pgaref/followers","following_url":"https://api.github.com/users/pgaref/following{/other_user}","gists_url":"https://api.github.com/users/pgaref/gists{/gist_id}","starred_url":"https://api.github.com/users/pgaref/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pgaref/subscriptions","organizations_url":"https://api.github.com/users/pgaref/orgs","repos_url":"https://api.github.com/users/pgaref/repos","events_url":"https://api.github.com/users/pgaref/events{/privacy}","received_events_url":"https://api.github.com/users/pgaref/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pgaref/HTTP_Request_Randomizer","description":"Proxying Python Requests","fork":false,"url":"https://api.github.com/repos/pgaref/HTTP_Request_Randomizer","forks_url":"https://api.github.com/repos/pgaref/HTTP_Request_Randomizer/forks","keys_url":"https://api.github.com/repos/pgaref/HTTP_Request_Randomizer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pgaref/HTTP_Request_Randomizer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pgaref/HTTP_Request_Randomizer/teams","hooks_url":"https://api.github.com/repos/pgaref/HTTP_Request_Randomizer/hooks","issue_events_url":"https://api.github.com/repos/pgaref/HTTP_Request_Randomizer/issues/events{/number}","events_url":"https://api.github.com/repos/pgaref/HTTP_Request_Randomizer/events","assignees_url":"https://api.github.com/repos/pgaref/HTTP_Request_Randomizer/assignees{/user}","branches_url":"https://api.github.com/repos/pgaref/HTTP_Request_Randomizer/branches{/branch}","tags_url":"https://api.github.com/repos/pgaref/HTTP_Request_Randomizer/tags","blobs_url":"https://api.github.com/repos/pgaref/HTTP_Request_Randomizer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pgaref/HTTP_Request_Randomizer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pgaref/HTTP_Request_Randomizer/git/refs{/sha}","trees_url":"https://api.github.com/repos/pgaref/HTTP_Request_Randomizer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pgaref/HTTP_Request_Randomizer/statuses/{sha}","languages_url":"https://api.github.com/repos/pgaref/HTTP_Request_Randomizer/languages","stargazers_url":"https://api.github.com/repos/pgaref/HTTP_Request_Randomizer/stargazers","contributors_url":"https://api.github.com/repos/pgaref/HTTP_Request_Randomizer/contributors","subscribers_url":"https://api.github.com/repos/pgaref/HTTP_Request_Randomizer/subscribers","subscription_url":"https://api.github.com/repos/pgaref/HTTP_Request_Randomizer/subscription","commits_url":"https://api.github.com/repos/pgaref/HTTP_Request_Randomizer/commits{/sha}","git_commits_url":"https://api.github.com/repos/pgaref/HTTP_Request_Randomizer/git/commits{/sha}","comments_url":"https://api.github.com/repos/pgaref/HTTP_Request_Randomizer/comments{/number}","issue_comment_url":"https://api.github.com/repos/pgaref/HTTP_Request_Randomizer/issues/comments{/number}","contents_url":"https://api.github.com/repos/pgaref/HTTP_Request_Randomizer/contents/{+path}","compare_url":"https://api.github.com/repos/pgaref/HTTP_Request_Randomizer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pgaref/HTTP_Request_Randomizer/merges","archive_url":"https://api.github.com/repos/pgaref/HTTP_Request_Randomizer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pgaref/HTTP_Request_Randomizer/downloads","issues_url":"https://api.github.com/repos/pgaref/HTTP_Request_Randomizer/issues{/number}","pulls_url":"https://api.github.com/repos/pgaref/HTTP_Request_Randomizer/pulls{/number}","milestones_url":"https://api.github.com/repos/pgaref/HTTP_Request_Randomizer/milestones{/number}","notifications_url":"https://api.github.com/repos/pgaref/HTTP_Request_Randomizer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pgaref/HTTP_Request_Randomizer/labels{/name}","releases_url":"https://api.github.com/repos/pgaref/HTTP_Request_Randomizer/releases{/id}","deployments_url":"https://api.github.com/repos/pgaref/HTTP_Request_Randomizer/deployments","created_at":"2015-10-30T18:56:12Z","updated_at":"2018-07-05T16:44:52Z","pushed_at":"2018-07-07T02:36:08Z","git_url":"git://github.com/pgaref/HTTP_Request_Randomizer.git","ssh_url":"git@github.com:pgaref/HTTP_Request_Randomizer.git","clone_url":"https://github.com/pgaref/HTTP_Request_Randomizer.git","svn_url":"https://github.com/pgaref/HTTP_Request_Randomizer","homepage":"http://pgaref.com/blog/python-proxy/","size":224,"stargazers_count":70,"watchers_count":70,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":34,"mirror_url":null,"archived":false,"open_issues_count":14,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":34,"open_issues":14,"watchers":70,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pgaref/HTTP_Request_Randomizer/pulls/49"},"html":{"href":"https://github.com/pgaref/HTTP_Request_Randomizer/pull/49"},"issue":{"href":"https://api.github.com/repos/pgaref/HTTP_Request_Randomizer/issues/49"},"comments":{"href":"https://api.github.com/repos/pgaref/HTTP_Request_Randomizer/issues/49/comments"},"review_comments":{"href":"https://api.github.com/repos/pgaref/HTTP_Request_Randomizer/pulls/49/comments"},"review_comment":{"href":"https://api.github.com/repos/pgaref/HTTP_Request_Randomizer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pgaref/HTTP_Request_Randomizer/pulls/49/commits"},"statuses":{"href":"https://api.github.com/repos/pgaref/HTTP_Request_Randomizer/statuses/c5e141a7b90d2d18e08fd45a2abb9a6963cacf5b"}},"author_association":"NONE"}}
{"actor":{"display_login":"pgaref"}}