{"action":"opened","number":269,"pull_request":{"url":"https://api.github.com/repos/nficano/pytube/pulls/269","id":187106313,"html_url":"https://github.com/nficano/pytube/pull/269","diff_url":"https://github.com/nficano/pytube/pull/269.diff","patch_url":"https://github.com/nficano/pytube/pull/269.patch","issue_url":"https://api.github.com/repos/nficano/pytube/issues/269","number":269,"state":"open","locked":false,"title":"add ability to format the filename with keywords","user":{"login":"fja05680","id":8893726,"avatar_url":"https://avatars3.githubusercontent.com/u/8893726?v=4","gravatar_id":"","url":"https://api.github.com/users/fja05680","html_url":"https://github.com/fja05680","followers_url":"https://api.github.com/users/fja05680/followers","following_url":"https://api.github.com/users/fja05680/following{/other_user}","gists_url":"https://api.github.com/users/fja05680/gists{/gist_id}","starred_url":"https://api.github.com/users/fja05680/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fja05680/subscriptions","organizations_url":"https://api.github.com/users/fja05680/orgs","repos_url":"https://api.github.com/users/fja05680/repos","events_url":"https://api.github.com/users/fja05680/events{/privacy}","received_events_url":"https://api.github.com/users/fja05680/received_events","type":"User","site_admin":false},"body":"for example:\r\nYouTube('http://youtube.com/watch?v=9bZkp7q19f0').streams.first().download(filename='{author}-{title}')\r\nresults in the filename:\r\nofficialpsy-PSY - GANGNAM STYLE(강남스타일) MV.mp4\r\n\r\nYouTube('http://youtube.com/watch?v=9bZkp7q19f0').streams.first().download(filename='({author}) {title}')\r\nresults in the filename:\r\n(officialpsy) PSY - GANGNAM STYLE(강남스타일) MV.mp4\r\n\r\nYouTube('http://youtube.com/watch?v=9bZkp7q19f0').streams.first().download(filename='0001_{title}')\r\nresults in the filename:\r\n0001_PSY - GANGNAM STYLE(강남스타일) MV.mp4\r\n\r\nYouTube('http://youtube.com/watch?v=9bZkp7q19f0').streams.first().download()\r\nresults in the filename:\r\nPSY - GANGNAM STYLE(강남스타일) MV.mp4\r\n\r\nFlexible naming format specified by user.  Keywords are optional.  New keywords can be easily added.\r\n","created_at":"2018-05-10T05:45:57Z","updated_at":"2018-05-10T05:45:57Z","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/nficano/pytube/pulls/269/commits","review_comments_url":"https://api.github.com/repos/nficano/pytube/pulls/269/comments","review_comment_url":"https://api.github.com/repos/nficano/pytube/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nficano/pytube/issues/269/comments","statuses_url":"https://api.github.com/repos/nficano/pytube/statuses/af36baefa7d2b42e4eff8e6f529ab687454248aa","head":{"label":"fja05680:filename-format-with-keywords","ref":"filename-format-with-keywords","sha":"af36baefa7d2b42e4eff8e6f529ab687454248aa","user":{"login":"fja05680","id":8893726,"avatar_url":"https://avatars3.githubusercontent.com/u/8893726?v=4","gravatar_id":"","url":"https://api.github.com/users/fja05680","html_url":"https://github.com/fja05680","followers_url":"https://api.github.com/users/fja05680/followers","following_url":"https://api.github.com/users/fja05680/following{/other_user}","gists_url":"https://api.github.com/users/fja05680/gists{/gist_id}","starred_url":"https://api.github.com/users/fja05680/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fja05680/subscriptions","organizations_url":"https://api.github.com/users/fja05680/orgs","repos_url":"https://api.github.com/users/fja05680/repos","events_url":"https://api.github.com/users/fja05680/events{/privacy}","received_events_url":"https://api.github.com/users/fja05680/received_events","type":"User","site_admin":false},"repo":{"id":132767180,"name":"pytube","full_name":"fja05680/pytube","owner":{"login":"fja05680","id":8893726,"avatar_url":"https://avatars3.githubusercontent.com/u/8893726?v=4","gravatar_id":"","url":"https://api.github.com/users/fja05680","html_url":"https://github.com/fja05680","followers_url":"https://api.github.com/users/fja05680/followers","following_url":"https://api.github.com/users/fja05680/following{/other_user}","gists_url":"https://api.github.com/users/fja05680/gists{/gist_id}","starred_url":"https://api.github.com/users/fja05680/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fja05680/subscriptions","organizations_url":"https://api.github.com/users/fja05680/orgs","repos_url":"https://api.github.com/users/fja05680/repos","events_url":"https://api.github.com/users/fja05680/events{/privacy}","received_events_url":"https://api.github.com/users/fja05680/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/fja05680/pytube","description":"A lightweight, dependency-free Python library (and command-line utility) for downloading YouTube Videos.","fork":true,"url":"https://api.github.com/repos/fja05680/pytube","forks_url":"https://api.github.com/repos/fja05680/pytube/forks","keys_url":"https://api.github.com/repos/fja05680/pytube/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fja05680/pytube/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fja05680/pytube/teams","hooks_url":"https://api.github.com/repos/fja05680/pytube/hooks","issue_events_url":"https://api.github.com/repos/fja05680/pytube/issues/events{/number}","events_url":"https://api.github.com/repos/fja05680/pytube/events","assignees_url":"https://api.github.com/repos/fja05680/pytube/assignees{/user}","branches_url":"https://api.github.com/repos/fja05680/pytube/branches{/branch}","tags_url":"https://api.github.com/repos/fja05680/pytube/tags","blobs_url":"https://api.github.com/repos/fja05680/pytube/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fja05680/pytube/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fja05680/pytube/git/refs{/sha}","trees_url":"https://api.github.com/repos/fja05680/pytube/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fja05680/pytube/statuses/{sha}","languages_url":"https://api.github.com/repos/fja05680/pytube/languages","stargazers_url":"https://api.github.com/repos/fja05680/pytube/stargazers","contributors_url":"https://api.github.com/repos/fja05680/pytube/contributors","subscribers_url":"https://api.github.com/repos/fja05680/pytube/subscribers","subscription_url":"https://api.github.com/repos/fja05680/pytube/subscription","commits_url":"https://api.github.com/repos/fja05680/pytube/commits{/sha}","git_commits_url":"https://api.github.com/repos/fja05680/pytube/git/commits{/sha}","comments_url":"https://api.github.com/repos/fja05680/pytube/comments{/number}","issue_comment_url":"https://api.github.com/repos/fja05680/pytube/issues/comments{/number}","contents_url":"https://api.github.com/repos/fja05680/pytube/contents/{+path}","compare_url":"https://api.github.com/repos/fja05680/pytube/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fja05680/pytube/merges","archive_url":"https://api.github.com/repos/fja05680/pytube/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fja05680/pytube/downloads","issues_url":"https://api.github.com/repos/fja05680/pytube/issues{/number}","pulls_url":"https://api.github.com/repos/fja05680/pytube/pulls{/number}","milestones_url":"https://api.github.com/repos/fja05680/pytube/milestones{/number}","notifications_url":"https://api.github.com/repos/fja05680/pytube/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fja05680/pytube/labels{/name}","releases_url":"https://api.github.com/repos/fja05680/pytube/releases{/id}","deployments_url":"https://api.github.com/repos/fja05680/pytube/deployments","created_at":"2018-05-09T14:15:34Z","updated_at":"2018-05-09T14:15:36Z","pushed_at":"2018-05-10T05:30:46Z","git_url":"git://github.com/fja05680/pytube.git","ssh_url":"git@github.com:fja05680/pytube.git","clone_url":"https://github.com/fja05680/pytube.git","svn_url":"https://github.com/fja05680/pytube","homepage":"https://python-pytube.readthedocs.io","size":2810,"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":"other","name":"Other","spdx_id":null,"url":null},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"nficano:master","ref":"master","sha":"fda25d0b2b7eceb5c238263ca914ed1059c7a400","user":{"login":"nficano","id":65145,"avatar_url":"https://avatars2.githubusercontent.com/u/65145?v=4","gravatar_id":"","url":"https://api.github.com/users/nficano","html_url":"https://github.com/nficano","followers_url":"https://api.github.com/users/nficano/followers","following_url":"https://api.github.com/users/nficano/following{/other_user}","gists_url":"https://api.github.com/users/nficano/gists{/gist_id}","starred_url":"https://api.github.com/users/nficano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nficano/subscriptions","organizations_url":"https://api.github.com/users/nficano/orgs","repos_url":"https://api.github.com/users/nficano/repos","events_url":"https://api.github.com/users/nficano/events{/privacy}","received_events_url":"https://api.github.com/users/nficano/received_events","type":"User","site_admin":false},"repo":{"id":3757435,"name":"pytube","full_name":"nficano/pytube","owner":{"login":"nficano","id":65145,"avatar_url":"https://avatars2.githubusercontent.com/u/65145?v=4","gravatar_id":"","url":"https://api.github.com/users/nficano","html_url":"https://github.com/nficano","followers_url":"https://api.github.com/users/nficano/followers","following_url":"https://api.github.com/users/nficano/following{/other_user}","gists_url":"https://api.github.com/users/nficano/gists{/gist_id}","starred_url":"https://api.github.com/users/nficano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nficano/subscriptions","organizations_url":"https://api.github.com/users/nficano/orgs","repos_url":"https://api.github.com/users/nficano/repos","events_url":"https://api.github.com/users/nficano/events{/privacy}","received_events_url":"https://api.github.com/users/nficano/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nficano/pytube","description":"A lightweight, dependency-free Python library (and command-line utility) for downloading YouTube Videos.","fork":false,"url":"https://api.github.com/repos/nficano/pytube","forks_url":"https://api.github.com/repos/nficano/pytube/forks","keys_url":"https://api.github.com/repos/nficano/pytube/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nficano/pytube/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nficano/pytube/teams","hooks_url":"https://api.github.com/repos/nficano/pytube/hooks","issue_events_url":"https://api.github.com/repos/nficano/pytube/issues/events{/number}","events_url":"https://api.github.com/repos/nficano/pytube/events","assignees_url":"https://api.github.com/repos/nficano/pytube/assignees{/user}","branches_url":"https://api.github.com/repos/nficano/pytube/branches{/branch}","tags_url":"https://api.github.com/repos/nficano/pytube/tags","blobs_url":"https://api.github.com/repos/nficano/pytube/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nficano/pytube/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nficano/pytube/git/refs{/sha}","trees_url":"https://api.github.com/repos/nficano/pytube/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nficano/pytube/statuses/{sha}","languages_url":"https://api.github.com/repos/nficano/pytube/languages","stargazers_url":"https://api.github.com/repos/nficano/pytube/stargazers","contributors_url":"https://api.github.com/repos/nficano/pytube/contributors","subscribers_url":"https://api.github.com/repos/nficano/pytube/subscribers","subscription_url":"https://api.github.com/repos/nficano/pytube/subscription","commits_url":"https://api.github.com/repos/nficano/pytube/commits{/sha}","git_commits_url":"https://api.github.com/repos/nficano/pytube/git/commits{/sha}","comments_url":"https://api.github.com/repos/nficano/pytube/comments{/number}","issue_comment_url":"https://api.github.com/repos/nficano/pytube/issues/comments{/number}","contents_url":"https://api.github.com/repos/nficano/pytube/contents/{+path}","compare_url":"https://api.github.com/repos/nficano/pytube/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nficano/pytube/merges","archive_url":"https://api.github.com/repos/nficano/pytube/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nficano/pytube/downloads","issues_url":"https://api.github.com/repos/nficano/pytube/issues{/number}","pulls_url":"https://api.github.com/repos/nficano/pytube/pulls{/number}","milestones_url":"https://api.github.com/repos/nficano/pytube/milestones{/number}","notifications_url":"https://api.github.com/repos/nficano/pytube/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nficano/pytube/labels{/name}","releases_url":"https://api.github.com/repos/nficano/pytube/releases{/id}","deployments_url":"https://api.github.com/repos/nficano/pytube/deployments","created_at":"2012-03-18T19:33:44Z","updated_at":"2018-05-09T20:36:33Z","pushed_at":"2018-05-07T17:59:44Z","git_url":"git://github.com/nficano/pytube.git","ssh_url":"git@github.com:nficano/pytube.git","clone_url":"https://github.com/nficano/pytube.git","svn_url":"https://github.com/nficano/pytube","homepage":"https://python-pytube.readthedocs.io","size":2810,"stargazers_count":1221,"watchers_count":1221,"language":"Python","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":364,"mirror_url":null,"archived":false,"open_issues_count":37,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":364,"open_issues":37,"watchers":1221,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nficano/pytube/pulls/269"},"html":{"href":"https://github.com/nficano/pytube/pull/269"},"issue":{"href":"https://api.github.com/repos/nficano/pytube/issues/269"},"comments":{"href":"https://api.github.com/repos/nficano/pytube/issues/269/comments"},"review_comments":{"href":"https://api.github.com/repos/nficano/pytube/pulls/269/comments"},"review_comment":{"href":"https://api.github.com/repos/nficano/pytube/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nficano/pytube/pulls/269/commits"},"statuses":{"href":"https://api.github.com/repos/nficano/pytube/statuses/af36baefa7d2b42e4eff8e6f529ab687454248aa"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":32,"deletions":0,"changed_files":2}}
{"actor":{"display_login":"fja05680"}}