payload: {"action":"opened","number":307,"pull_request":{"url":"https://api.github.com/repos/gocolly/colly/pulls/307","id":260641874,"node_id":"MDExOlB1bGxSZXF1ZXN0MjYwNjQxODc0","html_url":"https://github.com/gocolly/colly/pull/307","diff_url":"https://github.com/gocolly/colly/pull/307.diff","patch_url":"https://github.com/gocolly/colly/pull/307.patch","issue_url":"https://api.github.com/repos/gocolly/colly/issues/307","number":307,"state":"open","locked":false,"title":"[fix] using URL.Hostname() instead of URL.Host ","user":{"login":"nange","id":2505751,"node_id":"MDQ6VXNlcjI1MDU3NTE=","avatar_url":"https://avatars3.githubusercontent.com/u/2505751?v=4","gravatar_id":"","url":"https://api.github.com/users/nange","html_url":"https://github.com/nange","followers_url":"https://api.github.com/users/nange/followers","following_url":"https://api.github.com/users/nange/following{/other_user}","gists_url":"https://api.github.com/users/nange/gists{/gist_id}","starred_url":"https://api.github.com/users/nange/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nange/subscriptions","organizations_url":"https://api.github.com/users/nange/orgs","repos_url":"https://api.github.com/users/nange/repos","events_url":"https://api.github.com/users/nange/events{/privacy}","received_events_url":"https://api.github.com/users/nange/received_events","type":"User","site_admin":false},"body":"Using URL.Hostname() instead of URL.Host when calling Collector.isDomainAllowed.\r\nBecause the value of URL.Host contains Port number, we should trim it.","created_at":"2019-03-13T06:42:52Z","updated_at":"2019-03-13T06:42:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/gocolly/colly/pulls/307/commits","review_comments_url":"https://api.github.com/repos/gocolly/colly/pulls/307/comments","review_comment_url":"https://api.github.com/repos/gocolly/colly/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gocolly/colly/issues/307/comments","statuses_url":"https://api.github.com/repos/gocolly/colly/statuses/27516924608b62d02eb47fa3275dc48247b2e9c8","head":{"label":"nange:fix-domain-allowed","ref":"fix-domain-allowed","sha":"27516924608b62d02eb47fa3275dc48247b2e9c8","user":{"login":"nange","id":2505751,"node_id":"MDQ6VXNlcjI1MDU3NTE=","avatar_url":"https://avatars3.githubusercontent.com/u/2505751?v=4","gravatar_id":"","url":"https://api.github.com/users/nange","html_url":"https://github.com/nange","followers_url":"https://api.github.com/users/nange/followers","following_url":"https://api.github.com/users/nange/following{/other_user}","gists_url":"https://api.github.com/users/nange/gists{/gist_id}","starred_url":"https://api.github.com/users/nange/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nange/subscriptions","organizations_url":"https://api.github.com/users/nange/orgs","repos_url":"https://api.github.com/users/nange/repos","events_url":"https://api.github.com/users/nange/events{/privacy}","received_events_url":"https://api.github.com/users/nange/received_events","type":"User","site_admin":false},"repo":{"id":139659067,"node_id":"MDEwOlJlcG9zaXRvcnkxMzk2NTkwNjc=","name":"colly","full_name":"nange/colly","private":false,"owner":{"login":"nange","id":2505751,"node_id":"MDQ6VXNlcjI1MDU3NTE=","avatar_url":"https://avatars3.githubusercontent.com/u/2505751?v=4","gravatar_id":"","url":"https://api.github.com/users/nange","html_url":"https://github.com/nange","followers_url":"https://api.github.com/users/nange/followers","following_url":"https://api.github.com/users/nange/following{/other_user}","gists_url":"https://api.github.com/users/nange/gists{/gist_id}","starred_url":"https://api.github.com/users/nange/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nange/subscriptions","organizations_url":"https://api.github.com/users/nange/orgs","repos_url":"https://api.github.com/users/nange/repos","events_url":"https://api.github.com/users/nange/events{/privacy}","received_events_url":"https://api.github.com/users/nange/received_events","type":"User","site_admin":false},"html_url":"https://github.com/nange/colly","description":"Elegant Scraper and Crawler Framework for Golang","fork":true,"url":"https://api.github.com/repos/nange/colly","forks_url":"https://api.github.com/repos/nange/colly/forks","keys_url":"https://api.github.com/repos/nange/colly/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nange/colly/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nange/colly/teams","hooks_url":"https://api.github.com/repos/nange/colly/hooks","issue_events_url":"https://api.github.com/repos/nange/colly/issues/events{/number}","events_url":"https://api.github.com/repos/nange/colly/events","assignees_url":"https://api.github.com/repos/nange/colly/assignees{/user}","branches_url":"https://api.github.com/repos/nange/colly/branches{/branch}","tags_url":"https://api.github.com/repos/nange/colly/tags","blobs_url":"https://api.github.com/repos/nange/colly/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nange/colly/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nange/colly/git/refs{/sha}","trees_url":"https://api.github.com/repos/nange/colly/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nange/colly/statuses/{sha}","languages_url":"https://api.github.com/repos/nange/colly/languages","stargazers_url":"https://api.github.com/repos/nange/colly/stargazers","contributors_url":"https://api.github.com/repos/nange/colly/contributors","subscribers_url":"https://api.github.com/repos/nange/colly/subscribers","subscription_url":"https://api.github.com/repos/nange/colly/subscription","commits_url":"https://api.github.com/repos/nange/colly/commits{/sha}","git_commits_url":"https://api.github.com/repos/nange/colly/git/commits{/sha}","comments_url":"https://api.github.com/repos/nange/colly/comments{/number}","issue_comment_url":"https://api.github.com/repos/nange/colly/issues/comments{/number}","contents_url":"https://api.github.com/repos/nange/colly/contents/{+path}","compare_url":"https://api.github.com/repos/nange/colly/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nange/colly/merges","archive_url":"https://api.github.com/repos/nange/colly/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nange/colly/downloads","issues_url":"https://api.github.com/repos/nange/colly/issues{/number}","pulls_url":"https://api.github.com/repos/nange/colly/pulls{/number}","milestones_url":"https://api.github.com/repos/nange/colly/milestones{/number}","notifications_url":"https://api.github.com/repos/nange/colly/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nange/colly/labels{/name}","releases_url":"https://api.github.com/repos/nange/colly/releases{/id}","deployments_url":"https://api.github.com/repos/nange/colly/deployments","created_at":"2018-07-04T02:34:35Z","updated_at":"2019-03-13T06:27:08Z","pushed_at":"2019-03-13T06:27:05Z","git_url":"git://github.com/nange/colly.git","ssh_url":"git@github.com:nange/colly.git","clone_url":"https://github.com/nange/colly.git","svn_url":"https://github.com/nange/colly","homepage":"http://go-colly.org/","size":8233,"stargazers_count":0,"watchers_count":0,"language":"Go","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":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"gocolly:master","ref":"master","sha":"5dbb1a80a21ea3fdbea37a11a5a58139be3d5877","user":{"login":"gocolly","id":33584194,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMzNTg0MTk0","avatar_url":"https://avatars3.githubusercontent.com/u/33584194?v=4","gravatar_id":"","url":"https://api.github.com/users/gocolly","html_url":"https://github.com/gocolly","followers_url":"https://api.github.com/users/gocolly/followers","following_url":"https://api.github.com/users/gocolly/following{/other_user}","gists_url":"https://api.github.com/users/gocolly/gists{/gist_id}","starred_url":"https://api.github.com/users/gocolly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gocolly/subscriptions","organizations_url":"https://api.github.com/users/gocolly/orgs","repos_url":"https://api.github.com/users/gocolly/repos","events_url":"https://api.github.com/users/gocolly/events{/privacy}","received_events_url":"https://api.github.com/users/gocolly/received_events","type":"Organization","site_admin":false},"repo":{"id":105279544,"node_id":"MDEwOlJlcG9zaXRvcnkxMDUyNzk1NDQ=","name":"colly","full_name":"gocolly/colly","private":false,"owner":{"login":"gocolly","id":33584194,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMzNTg0MTk0","avatar_url":"https://avatars3.githubusercontent.com/u/33584194?v=4","gravatar_id":"","url":"https://api.github.com/users/gocolly","html_url":"https://github.com/gocolly","followers_url":"https://api.github.com/users/gocolly/followers","following_url":"https://api.github.com/users/gocolly/following{/other_user}","gists_url":"https://api.github.com/users/gocolly/gists{/gist_id}","starred_url":"https://api.github.com/users/gocolly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gocolly/subscriptions","organizations_url":"https://api.github.com/users/gocolly/orgs","repos_url":"https://api.github.com/users/gocolly/repos","events_url":"https://api.github.com/users/gocolly/events{/privacy}","received_events_url":"https://api.github.com/users/gocolly/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/gocolly/colly","description":"Elegant Scraper and Crawler Framework for Golang","fork":false,"url":"https://api.github.com/repos/gocolly/colly","forks_url":"https://api.github.com/repos/gocolly/colly/forks","keys_url":"https://api.github.com/repos/gocolly/colly/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gocolly/colly/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gocolly/colly/teams","hooks_url":"https://api.github.com/repos/gocolly/colly/hooks","issue_events_url":"https://api.github.com/repos/gocolly/colly/issues/events{/number}","events_url":"https://api.github.com/repos/gocolly/colly/events","assignees_url":"https://api.github.com/repos/gocolly/colly/assignees{/user}","branches_url":"https://api.github.com/repos/gocolly/colly/branches{/branch}","tags_url":"https://api.github.com/repos/gocolly/colly/tags","blobs_url":"https://api.github.com/repos/gocolly/colly/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gocolly/colly/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gocolly/colly/git/refs{/sha}","trees_url":"https://api.github.com/repos/gocolly/colly/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gocolly/colly/statuses/{sha}","languages_url":"https://api.github.com/repos/gocolly/colly/languages","stargazers_url":"https://api.github.com/repos/gocolly/colly/stargazers","contributors_url":"https://api.github.com/repos/gocolly/colly/contributors","subscribers_url":"https://api.github.com/repos/gocolly/colly/subscribers","subscription_url":"https://api.github.com/repos/gocolly/colly/subscription","commits_url":"https://api.github.com/repos/gocolly/colly/commits{/sha}","git_commits_url":"https://api.github.com/repos/gocolly/colly/git/commits{/sha}","comments_url":"https://api.github.com/repos/gocolly/colly/comments{/number}","issue_comment_url":"https://api.github.com/repos/gocolly/colly/issues/comments{/number}","contents_url":"https://api.github.com/repos/gocolly/colly/contents/{+path}","compare_url":"https://api.github.com/repos/gocolly/colly/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gocolly/colly/merges","archive_url":"https://api.github.com/repos/gocolly/colly/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gocolly/colly/downloads","issues_url":"https://api.github.com/repos/gocolly/colly/issues{/number}","pulls_url":"https://api.github.com/repos/gocolly/colly/pulls{/number}","milestones_url":"https://api.github.com/repos/gocolly/colly/milestones{/number}","notifications_url":"https://api.github.com/repos/gocolly/colly/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gocolly/colly/labels{/name}","releases_url":"https://api.github.com/repos/gocolly/colly/releases{/id}","deployments_url":"https://api.github.com/repos/gocolly/colly/deployments","created_at":"2017-09-29T14:08:49Z","updated_at":"2019-03-13T06:37:16Z","pushed_at":"2019-03-12T14:21:10Z","git_url":"git://github.com/gocolly/colly.git","ssh_url":"git@github.com:gocolly/colly.git","clone_url":"https://github.com/gocolly/colly.git","svn_url":"https://github.com/gocolly/colly","homepage":"http://go-colly.org/","size":8268,"stargazers_count":7065,"watchers_count":7065,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":531,"mirror_url":null,"archived":false,"open_issues_count":37,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":531,"open_issues":37,"watchers":7065,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gocolly/colly/pulls/307"},"html":{"href":"https://github.com/gocolly/colly/pull/307"},"issue":{"href":"https://api.github.com/repos/gocolly/colly/issues/307"},"comments":{"href":"https://api.github.com/repos/gocolly/colly/issues/307/comments"},"review_comments":{"href":"https://api.github.com/repos/gocolly/colly/pulls/307/comments"},"review_comment":{"href":"https://api.github.com/repos/gocolly/colly/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gocolly/colly/pulls/307/commits"},"statuses":{"href":"https://api.github.com/repos/gocolly/colly/statuses/27516924608b62d02eb47fa3275dc48247b2e9c8"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":39,"deletions":2,"changed_files":2}}
other: {"actor":{"display_login":"nange"}}