{"action":"created","comment":{"url":"https://api.github.com/repos/fent/node-ytdl-core/pulls/comments/98686292","pull_request_review_id":19334373,"id":98686292,"diff_hunk":"@@ -291,6 +306,63 @@ exports.getVideoDescription = function(html) {\n \n \n /**\n+ * Get video Owner from html.\n+ *\n+ * @param {String} body\n+ * @return {Object}\n+ */\n+var authorRegexp = /<a href=\"\\/channel\\/([\\w-]+)\"[^>]+>(.+?(?=<\\/a>))/\n+var aliasRegExp = /<a href=\"\\/user\\/([^\"]+)/","path":"lib/util.js","position":32,"original_position":32,"commit_id":"292799932d73eab94e66413996830e51aa9a3536","original_commit_id":"292799932d73eab94e66413996830e51aa9a3536","user":{"login":"fent","id":933490,"avatar_url":"https://avatars.githubusercontent.com/u/933490?v=3","gravatar_id":"","url":"https://api.github.com/users/fent","html_url":"https://github.com/fent","followers_url":"https://api.github.com/users/fent/followers","following_url":"https://api.github.com/users/fent/following{/other_user}","gists_url":"https://api.github.com/users/fent/gists{/gist_id}","starred_url":"https://api.github.com/users/fent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fent/subscriptions","organizations_url":"https://api.github.com/users/fent/orgs","repos_url":"https://api.github.com/users/fent/repos","events_url":"https://api.github.com/users/fent/events{/privacy}","received_events_url":"https://api.github.com/users/fent/received_events","type":"User","site_admin":false},"body":"End with semicolon","created_at":"2017-01-31T15:04:44Z","updated_at":"2017-01-31T15:10:06Z","html_url":"https://github.com/fent/node-ytdl-core/pull/101#discussion_r98686292","pull_request_url":"https://api.github.com/repos/fent/node-ytdl-core/pulls/101","_links":{"self":{"href":"https://api.github.com/repos/fent/node-ytdl-core/pulls/comments/98686292"},"html":{"href":"https://github.com/fent/node-ytdl-core/pull/101#discussion_r98686292"},"pull_request":{"href":"https://api.github.com/repos/fent/node-ytdl-core/pulls/101"}}},"pull_request":{"url":"https://api.github.com/repos/fent/node-ytdl-core/pulls/101","id":103384096,"html_url":"https://github.com/fent/node-ytdl-core/pull/101","diff_url":"https://github.com/fent/node-ytdl-core/pull/101.diff","patch_url":"https://github.com/fent/node-ytdl-core/pull/101.patch","issue_url":"https://api.github.com/repos/fent/node-ytdl-core/issues/101","number":101,"state":"open","locked":false,"title":"Added support for date-published, owner and related-videos","user":{"login":"TimeForANinja","id":17046330,"avatar_url":"https://avatars.githubusercontent.com/u/17046330?v=3","gravatar_id":"","url":"https://api.github.com/users/TimeForANinja","html_url":"https://github.com/TimeForANinja","followers_url":"https://api.github.com/users/TimeForANinja/followers","following_url":"https://api.github.com/users/TimeForANinja/following{/other_user}","gists_url":"https://api.github.com/users/TimeForANinja/gists{/gist_id}","starred_url":"https://api.github.com/users/TimeForANinja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TimeForANinja/subscriptions","organizations_url":"https://api.github.com/users/TimeForANinja/orgs","repos_url":"https://api.github.com/users/TimeForANinja/repos","events_url":"https://api.github.com/users/TimeForANinja/events{/privacy}","received_events_url":"https://api.github.com/users/TimeForANinja/received_events","type":"User","site_admin":false},"body":"credits for related videos go to [paixaop](https://github.com/paixaop)","created_at":"2017-01-26T20:35:30Z","updated_at":"2017-01-31T15:10:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"71e20cc224099d9517c84ccea8fc199397991493","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/fent/node-ytdl-core/pulls/101/commits","review_comments_url":"https://api.github.com/repos/fent/node-ytdl-core/pulls/101/comments","review_comment_url":"https://api.github.com/repos/fent/node-ytdl-core/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fent/node-ytdl-core/issues/101/comments","statuses_url":"https://api.github.com/repos/fent/node-ytdl-core/statuses/292799932d73eab94e66413996830e51aa9a3536","head":{"label":"TimeForANinja:master","ref":"master","sha":"292799932d73eab94e66413996830e51aa9a3536","user":{"login":"TimeForANinja","id":17046330,"avatar_url":"https://avatars.githubusercontent.com/u/17046330?v=3","gravatar_id":"","url":"https://api.github.com/users/TimeForANinja","html_url":"https://github.com/TimeForANinja","followers_url":"https://api.github.com/users/TimeForANinja/followers","following_url":"https://api.github.com/users/TimeForANinja/following{/other_user}","gists_url":"https://api.github.com/users/TimeForANinja/gists{/gist_id}","starred_url":"https://api.github.com/users/TimeForANinja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TimeForANinja/subscriptions","organizations_url":"https://api.github.com/users/TimeForANinja/orgs","repos_url":"https://api.github.com/users/TimeForANinja/repos","events_url":"https://api.github.com/users/TimeForANinja/events{/privacy}","received_events_url":"https://api.github.com/users/TimeForANinja/received_events","type":"User","site_admin":false},"repo":{"id":80148938,"name":"node-ytdl-core","full_name":"TimeForANinja/node-ytdl-core","owner":{"login":"TimeForANinja","id":17046330,"avatar_url":"https://avatars.githubusercontent.com/u/17046330?v=3","gravatar_id":"","url":"https://api.github.com/users/TimeForANinja","html_url":"https://github.com/TimeForANinja","followers_url":"https://api.github.com/users/TimeForANinja/followers","following_url":"https://api.github.com/users/TimeForANinja/following{/other_user}","gists_url":"https://api.github.com/users/TimeForANinja/gists{/gist_id}","starred_url":"https://api.github.com/users/TimeForANinja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TimeForANinja/subscriptions","organizations_url":"https://api.github.com/users/TimeForANinja/orgs","repos_url":"https://api.github.com/users/TimeForANinja/repos","events_url":"https://api.github.com/users/TimeForANinja/events{/privacy}","received_events_url":"https://api.github.com/users/TimeForANinja/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/TimeForANinja/node-ytdl-core","description":"Youtube downloader in javascript.","fork":true,"url":"https://api.github.com/repos/TimeForANinja/node-ytdl-core","forks_url":"https://api.github.com/repos/TimeForANinja/node-ytdl-core/forks","keys_url":"https://api.github.com/repos/TimeForANinja/node-ytdl-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TimeForANinja/node-ytdl-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TimeForANinja/node-ytdl-core/teams","hooks_url":"https://api.github.com/repos/TimeForANinja/node-ytdl-core/hooks","issue_events_url":"https://api.github.com/repos/TimeForANinja/node-ytdl-core/issues/events{/number}","events_url":"https://api.github.com/repos/TimeForANinja/node-ytdl-core/events","assignees_url":"https://api.github.com/repos/TimeForANinja/node-ytdl-core/assignees{/user}","branches_url":"https://api.github.com/repos/TimeForANinja/node-ytdl-core/branches{/branch}","tags_url":"https://api.github.com/repos/TimeForANinja/node-ytdl-core/tags","blobs_url":"https://api.github.com/repos/TimeForANinja/node-ytdl-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TimeForANinja/node-ytdl-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TimeForANinja/node-ytdl-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/TimeForANinja/node-ytdl-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TimeForANinja/node-ytdl-core/statuses/{sha}","languages_url":"https://api.github.com/repos/TimeForANinja/node-ytdl-core/languages","stargazers_url":"https://api.github.com/repos/TimeForANinja/node-ytdl-core/stargazers","contributors_url":"https://api.github.com/repos/TimeForANinja/node-ytdl-core/contributors","subscribers_url":"https://api.github.com/repos/TimeForANinja/node-ytdl-core/subscribers","subscription_url":"https://api.github.com/repos/TimeForANinja/node-ytdl-core/subscription","commits_url":"https://api.github.com/repos/TimeForANinja/node-ytdl-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/TimeForANinja/node-ytdl-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/TimeForANinja/node-ytdl-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/TimeForANinja/node-ytdl-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/TimeForANinja/node-ytdl-core/contents/{+path}","compare_url":"https://api.github.com/repos/TimeForANinja/node-ytdl-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TimeForANinja/node-ytdl-core/merges","archive_url":"https://api.github.com/repos/TimeForANinja/node-ytdl-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TimeForANinja/node-ytdl-core/downloads","issues_url":"https://api.github.com/repos/TimeForANinja/node-ytdl-core/issues{/number}","pulls_url":"https://api.github.com/repos/TimeForANinja/node-ytdl-core/pulls{/number}","milestones_url":"https://api.github.com/repos/TimeForANinja/node-ytdl-core/milestones{/number}","notifications_url":"https://api.github.com/repos/TimeForANinja/node-ytdl-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TimeForANinja/node-ytdl-core/labels{/name}","releases_url":"https://api.github.com/repos/TimeForANinja/node-ytdl-core/releases{/id}","deployments_url":"https://api.github.com/repos/TimeForANinja/node-ytdl-core/deployments","created_at":"2017-01-26T19:47:39Z","updated_at":"2017-01-26T19:47:41Z","pushed_at":"2017-01-31T10:50:04Z","git_url":"git://github.com/TimeForANinja/node-ytdl-core.git","ssh_url":"git@github.com:TimeForANinja/node-ytdl-core.git","clone_url":"https://github.com/TimeForANinja/node-ytdl-core.git","svn_url":"https://github.com/TimeForANinja/node-ytdl-core","homepage":"","size":5824,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"fent:master","ref":"master","sha":"4993d359ad74080d5a44450188e2812f01976156","user":{"login":"fent","id":933490,"avatar_url":"https://avatars.githubusercontent.com/u/933490?v=3","gravatar_id":"","url":"https://api.github.com/users/fent","html_url":"https://github.com/fent","followers_url":"https://api.github.com/users/fent/followers","following_url":"https://api.github.com/users/fent/following{/other_user}","gists_url":"https://api.github.com/users/fent/gists{/gist_id}","starred_url":"https://api.github.com/users/fent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fent/subscriptions","organizations_url":"https://api.github.com/users/fent/orgs","repos_url":"https://api.github.com/users/fent/repos","events_url":"https://api.github.com/users/fent/events{/privacy}","received_events_url":"https://api.github.com/users/fent/received_events","type":"User","site_admin":false},"repo":{"id":21333232,"name":"node-ytdl-core","full_name":"fent/node-ytdl-core","owner":{"login":"fent","id":933490,"avatar_url":"https://avatars.githubusercontent.com/u/933490?v=3","gravatar_id":"","url":"https://api.github.com/users/fent","html_url":"https://github.com/fent","followers_url":"https://api.github.com/users/fent/followers","following_url":"https://api.github.com/users/fent/following{/other_user}","gists_url":"https://api.github.com/users/fent/gists{/gist_id}","starred_url":"https://api.github.com/users/fent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fent/subscriptions","organizations_url":"https://api.github.com/users/fent/orgs","repos_url":"https://api.github.com/users/fent/repos","events_url":"https://api.github.com/users/fent/events{/privacy}","received_events_url":"https://api.github.com/users/fent/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/fent/node-ytdl-core","description":"Youtube downloader in javascript.","fork":false,"url":"https://api.github.com/repos/fent/node-ytdl-core","forks_url":"https://api.github.com/repos/fent/node-ytdl-core/forks","keys_url":"https://api.github.com/repos/fent/node-ytdl-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fent/node-ytdl-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fent/node-ytdl-core/teams","hooks_url":"https://api.github.com/repos/fent/node-ytdl-core/hooks","issue_events_url":"https://api.github.com/repos/fent/node-ytdl-core/issues/events{/number}","events_url":"https://api.github.com/repos/fent/node-ytdl-core/events","assignees_url":"https://api.github.com/repos/fent/node-ytdl-core/assignees{/user}","branches_url":"https://api.github.com/repos/fent/node-ytdl-core/branches{/branch}","tags_url":"https://api.github.com/repos/fent/node-ytdl-core/tags","blobs_url":"https://api.github.com/repos/fent/node-ytdl-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fent/node-ytdl-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fent/node-ytdl-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/fent/node-ytdl-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fent/node-ytdl-core/statuses/{sha}","languages_url":"https://api.github.com/repos/fent/node-ytdl-core/languages","stargazers_url":"https://api.github.com/repos/fent/node-ytdl-core/stargazers","contributors_url":"https://api.github.com/repos/fent/node-ytdl-core/contributors","subscribers_url":"https://api.github.com/repos/fent/node-ytdl-core/subscribers","subscription_url":"https://api.github.com/repos/fent/node-ytdl-core/subscription","commits_url":"https://api.github.com/repos/fent/node-ytdl-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/fent/node-ytdl-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/fent/node-ytdl-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/fent/node-ytdl-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/fent/node-ytdl-core/contents/{+path}","compare_url":"https://api.github.com/repos/fent/node-ytdl-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fent/node-ytdl-core/merges","archive_url":"https://api.github.com/repos/fent/node-ytdl-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fent/node-ytdl-core/downloads","issues_url":"https://api.github.com/repos/fent/node-ytdl-core/issues{/number}","pulls_url":"https://api.github.com/repos/fent/node-ytdl-core/pulls{/number}","milestones_url":"https://api.github.com/repos/fent/node-ytdl-core/milestones{/number}","notifications_url":"https://api.github.com/repos/fent/node-ytdl-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fent/node-ytdl-core/labels{/name}","releases_url":"https://api.github.com/repos/fent/node-ytdl-core/releases{/id}","deployments_url":"https://api.github.com/repos/fent/node-ytdl-core/deployments","created_at":"2014-06-29T22:06:35Z","updated_at":"2017-01-31T03:40:54Z","pushed_at":"2017-01-31T14:11:20Z","git_url":"git://github.com/fent/node-ytdl-core.git","ssh_url":"git@github.com:fent/node-ytdl-core.git","clone_url":"https://github.com/fent/node-ytdl-core.git","svn_url":"https://github.com/fent/node-ytdl-core","homepage":"","size":6225,"stargazers_count":318,"watchers_count":318,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":61,"mirror_url":null,"open_issues_count":13,"forks":61,"open_issues":13,"watchers":318,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/fent/node-ytdl-core/pulls/101"},"html":{"href":"https://github.com/fent/node-ytdl-core/pull/101"},"issue":{"href":"https://api.github.com/repos/fent/node-ytdl-core/issues/101"},"comments":{"href":"https://api.github.com/repos/fent/node-ytdl-core/issues/101/comments"},"review_comments":{"href":"https://api.github.com/repos/fent/node-ytdl-core/pulls/101/comments"},"review_comment":{"href":"https://api.github.com/repos/fent/node-ytdl-core/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fent/node-ytdl-core/pulls/101/commits"},"statuses":{"href":"https://api.github.com/repos/fent/node-ytdl-core/statuses/292799932d73eab94e66413996830e51aa9a3536"}}}}
{"actor":{"display_login":"fent"}}