{"action":"opened","number":12,"pull_request":{"url":"https://api.github.com/repos/emijrp/internet-archive/pulls/12","id":264588011,"node_id":"MDExOlB1bGxSZXF1ZXN0MjY0NTg4MDEx","html_url":"https://github.com/emijrp/internet-archive/pull/12","diff_url":"https://github.com/emijrp/internet-archive/pull/12.diff","patch_url":"https://github.com/emijrp/internet-archive/pull/12.patch","issue_url":"https://api.github.com/repos/emijrp/internet-archive/issues/12","number":12,"state":"open","locked":false,"title":"Sort ix.io trick URLs by filename and fix a bug in that code","user":{"login":"JustAnotherArchivist","id":29556373,"node_id":"MDQ6VXNlcjI5NTU2Mzcz","avatar_url":"https://avatars3.githubusercontent.com/u/29556373?v=4","gravatar_id":"","url":"https://api.github.com/users/JustAnotherArchivist","html_url":"https://github.com/JustAnotherArchivist","followers_url":"https://api.github.com/users/JustAnotherArchivist/followers","following_url":"https://api.github.com/users/JustAnotherArchivist/following{/other_user}","gists_url":"https://api.github.com/users/JustAnotherArchivist/gists{/gist_id}","starred_url":"https://api.github.com/users/JustAnotherArchivist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JustAnotherArchivist/subscriptions","organizations_url":"https://api.github.com/users/JustAnotherArchivist/orgs","repos_url":"https://api.github.com/users/JustAnotherArchivist/repos","events_url":"https://api.github.com/users/JustAnotherArchivist/events{/privacy}","received_events_url":"https://api.github.com/users/JustAnotherArchivist/received_events","type":"User","site_admin":false},"body":"I forgot to add the `== 2` test when writing that code originally for whatever reason. That meant it tested that there was at least one slash in the URL instead of exactly two (after the domain and after the ID).","created_at":"2019-03-26T16:03:18Z","updated_at":"2019-03-26T16:03:18Z","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/emijrp/internet-archive/pulls/12/commits","review_comments_url":"https://api.github.com/repos/emijrp/internet-archive/pulls/12/comments","review_comment_url":"https://api.github.com/repos/emijrp/internet-archive/pulls/comments{/number}","comments_url":"https://api.github.com/repos/emijrp/internet-archive/issues/12/comments","statuses_url":"https://api.github.com/repos/emijrp/internet-archive/statuses/7038ba457b6da32f164477400ef5145b363b2fa7","head":{"label":"JustAnotherArchivist:master","ref":"master","sha":"7038ba457b6da32f164477400ef5145b363b2fa7","user":{"login":"JustAnotherArchivist","id":29556373,"node_id":"MDQ6VXNlcjI5NTU2Mzcz","avatar_url":"https://avatars3.githubusercontent.com/u/29556373?v=4","gravatar_id":"","url":"https://api.github.com/users/JustAnotherArchivist","html_url":"https://github.com/JustAnotherArchivist","followers_url":"https://api.github.com/users/JustAnotherArchivist/followers","following_url":"https://api.github.com/users/JustAnotherArchivist/following{/other_user}","gists_url":"https://api.github.com/users/JustAnotherArchivist/gists{/gist_id}","starred_url":"https://api.github.com/users/JustAnotherArchivist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JustAnotherArchivist/subscriptions","organizations_url":"https://api.github.com/users/JustAnotherArchivist/orgs","repos_url":"https://api.github.com/users/JustAnotherArchivist/repos","events_url":"https://api.github.com/users/JustAnotherArchivist/events{/privacy}","received_events_url":"https://api.github.com/users/JustAnotherArchivist/received_events","type":"User","site_admin":false},"repo":{"id":174216842,"node_id":"MDEwOlJlcG9zaXRvcnkxNzQyMTY4NDI=","name":"emijrp-internet-archive","full_name":"JustAnotherArchivist/emijrp-internet-archive","private":false,"owner":{"login":"JustAnotherArchivist","id":29556373,"node_id":"MDQ6VXNlcjI5NTU2Mzcz","avatar_url":"https://avatars3.githubusercontent.com/u/29556373?v=4","gravatar_id":"","url":"https://api.github.com/users/JustAnotherArchivist","html_url":"https://github.com/JustAnotherArchivist","followers_url":"https://api.github.com/users/JustAnotherArchivist/followers","following_url":"https://api.github.com/users/JustAnotherArchivist/following{/other_user}","gists_url":"https://api.github.com/users/JustAnotherArchivist/gists{/gist_id}","starred_url":"https://api.github.com/users/JustAnotherArchivist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JustAnotherArchivist/subscriptions","organizations_url":"https://api.github.com/users/JustAnotherArchivist/orgs","repos_url":"https://api.github.com/users/JustAnotherArchivist/repos","events_url":"https://api.github.com/users/JustAnotherArchivist/events{/privacy}","received_events_url":"https://api.github.com/users/JustAnotherArchivist/received_events","type":"User","site_admin":false},"html_url":"https://github.com/JustAnotherArchivist/emijrp-internet-archive","description":"Scripts for Internet Archive","fork":true,"url":"https://api.github.com/repos/JustAnotherArchivist/emijrp-internet-archive","forks_url":"https://api.github.com/repos/JustAnotherArchivist/emijrp-internet-archive/forks","keys_url":"https://api.github.com/repos/JustAnotherArchivist/emijrp-internet-archive/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JustAnotherArchivist/emijrp-internet-archive/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JustAnotherArchivist/emijrp-internet-archive/teams","hooks_url":"https://api.github.com/repos/JustAnotherArchivist/emijrp-internet-archive/hooks","issue_events_url":"https://api.github.com/repos/JustAnotherArchivist/emijrp-internet-archive/issues/events{/number}","events_url":"https://api.github.com/repos/JustAnotherArchivist/emijrp-internet-archive/events","assignees_url":"https://api.github.com/repos/JustAnotherArchivist/emijrp-internet-archive/assignees{/user}","branches_url":"https://api.github.com/repos/JustAnotherArchivist/emijrp-internet-archive/branches{/branch}","tags_url":"https://api.github.com/repos/JustAnotherArchivist/emijrp-internet-archive/tags","blobs_url":"https://api.github.com/repos/JustAnotherArchivist/emijrp-internet-archive/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JustAnotherArchivist/emijrp-internet-archive/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JustAnotherArchivist/emijrp-internet-archive/git/refs{/sha}","trees_url":"https://api.github.com/repos/JustAnotherArchivist/emijrp-internet-archive/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JustAnotherArchivist/emijrp-internet-archive/statuses/{sha}","languages_url":"https://api.github.com/repos/JustAnotherArchivist/emijrp-internet-archive/languages","stargazers_url":"https://api.github.com/repos/JustAnotherArchivist/emijrp-internet-archive/stargazers","contributors_url":"https://api.github.com/repos/JustAnotherArchivist/emijrp-internet-archive/contributors","subscribers_url":"https://api.github.com/repos/JustAnotherArchivist/emijrp-internet-archive/subscribers","subscription_url":"https://api.github.com/repos/JustAnotherArchivist/emijrp-internet-archive/subscription","commits_url":"https://api.github.com/repos/JustAnotherArchivist/emijrp-internet-archive/commits{/sha}","git_commits_url":"https://api.github.com/repos/JustAnotherArchivist/emijrp-internet-archive/git/commits{/sha}","comments_url":"https://api.github.com/repos/JustAnotherArchivist/emijrp-internet-archive/comments{/number}","issue_comment_url":"https://api.github.com/repos/JustAnotherArchivist/emijrp-internet-archive/issues/comments{/number}","contents_url":"https://api.github.com/repos/JustAnotherArchivist/emijrp-internet-archive/contents/{+path}","compare_url":"https://api.github.com/repos/JustAnotherArchivist/emijrp-internet-archive/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JustAnotherArchivist/emijrp-internet-archive/merges","archive_url":"https://api.github.com/repos/JustAnotherArchivist/emijrp-internet-archive/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JustAnotherArchivist/emijrp-internet-archive/downloads","issues_url":"https://api.github.com/repos/JustAnotherArchivist/emijrp-internet-archive/issues{/number}","pulls_url":"https://api.github.com/repos/JustAnotherArchivist/emijrp-internet-archive/pulls{/number}","milestones_url":"https://api.github.com/repos/JustAnotherArchivist/emijrp-internet-archive/milestones{/number}","notifications_url":"https://api.github.com/repos/JustAnotherArchivist/emijrp-internet-archive/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JustAnotherArchivist/emijrp-internet-archive/labels{/name}","releases_url":"https://api.github.com/repos/JustAnotherArchivist/emijrp-internet-archive/releases{/id}","deployments_url":"https://api.github.com/repos/JustAnotherArchivist/emijrp-internet-archive/deployments","created_at":"2019-03-06T20:34:42Z","updated_at":"2019-03-26T15:57:50Z","pushed_at":"2019-03-26T15:57:48Z","git_url":"git://github.com/JustAnotherArchivist/emijrp-internet-archive.git","ssh_url":"git@github.com:JustAnotherArchivist/emijrp-internet-archive.git","clone_url":"https://github.com/JustAnotherArchivist/emijrp-internet-archive.git","svn_url":"https://github.com/JustAnotherArchivist/emijrp-internet-archive","homepage":null,"size":142,"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":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"emijrp:master","ref":"master","sha":"b78b81e3e1456b0d1780eeab509f2b749a3e7cc5","user":{"login":"emijrp","id":422046,"node_id":"MDQ6VXNlcjQyMjA0Ng==","avatar_url":"https://avatars0.githubusercontent.com/u/422046?v=4","gravatar_id":"","url":"https://api.github.com/users/emijrp","html_url":"https://github.com/emijrp","followers_url":"https://api.github.com/users/emijrp/followers","following_url":"https://api.github.com/users/emijrp/following{/other_user}","gists_url":"https://api.github.com/users/emijrp/gists{/gist_id}","starred_url":"https://api.github.com/users/emijrp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emijrp/subscriptions","organizations_url":"https://api.github.com/users/emijrp/orgs","repos_url":"https://api.github.com/users/emijrp/repos","events_url":"https://api.github.com/users/emijrp/events{/privacy}","received_events_url":"https://api.github.com/users/emijrp/received_events","type":"User","site_admin":false},"repo":{"id":51090634,"node_id":"MDEwOlJlcG9zaXRvcnk1MTA5MDYzNA==","name":"internet-archive","full_name":"emijrp/internet-archive","private":false,"owner":{"login":"emijrp","id":422046,"node_id":"MDQ6VXNlcjQyMjA0Ng==","avatar_url":"https://avatars0.githubusercontent.com/u/422046?v=4","gravatar_id":"","url":"https://api.github.com/users/emijrp","html_url":"https://github.com/emijrp","followers_url":"https://api.github.com/users/emijrp/followers","following_url":"https://api.github.com/users/emijrp/following{/other_user}","gists_url":"https://api.github.com/users/emijrp/gists{/gist_id}","starred_url":"https://api.github.com/users/emijrp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emijrp/subscriptions","organizations_url":"https://api.github.com/users/emijrp/orgs","repos_url":"https://api.github.com/users/emijrp/repos","events_url":"https://api.github.com/users/emijrp/events{/privacy}","received_events_url":"https://api.github.com/users/emijrp/received_events","type":"User","site_admin":false},"html_url":"https://github.com/emijrp/internet-archive","description":"Scripts for Internet Archive","fork":false,"url":"https://api.github.com/repos/emijrp/internet-archive","forks_url":"https://api.github.com/repos/emijrp/internet-archive/forks","keys_url":"https://api.github.com/repos/emijrp/internet-archive/keys{/key_id}","collaborators_url":"https://api.github.com/repos/emijrp/internet-archive/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/emijrp/internet-archive/teams","hooks_url":"https://api.github.com/repos/emijrp/internet-archive/hooks","issue_events_url":"https://api.github.com/repos/emijrp/internet-archive/issues/events{/number}","events_url":"https://api.github.com/repos/emijrp/internet-archive/events","assignees_url":"https://api.github.com/repos/emijrp/internet-archive/assignees{/user}","branches_url":"https://api.github.com/repos/emijrp/internet-archive/branches{/branch}","tags_url":"https://api.github.com/repos/emijrp/internet-archive/tags","blobs_url":"https://api.github.com/repos/emijrp/internet-archive/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/emijrp/internet-archive/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/emijrp/internet-archive/git/refs{/sha}","trees_url":"https://api.github.com/repos/emijrp/internet-archive/git/trees{/sha}","statuses_url":"https://api.github.com/repos/emijrp/internet-archive/statuses/{sha}","languages_url":"https://api.github.com/repos/emijrp/internet-archive/languages","stargazers_url":"https://api.github.com/repos/emijrp/internet-archive/stargazers","contributors_url":"https://api.github.com/repos/emijrp/internet-archive/contributors","subscribers_url":"https://api.github.com/repos/emijrp/internet-archive/subscribers","subscription_url":"https://api.github.com/repos/emijrp/internet-archive/subscription","commits_url":"https://api.github.com/repos/emijrp/internet-archive/commits{/sha}","git_commits_url":"https://api.github.com/repos/emijrp/internet-archive/git/commits{/sha}","comments_url":"https://api.github.com/repos/emijrp/internet-archive/comments{/number}","issue_comment_url":"https://api.github.com/repos/emijrp/internet-archive/issues/comments{/number}","contents_url":"https://api.github.com/repos/emijrp/internet-archive/contents/{+path}","compare_url":"https://api.github.com/repos/emijrp/internet-archive/compare/{base}...{head}","merges_url":"https://api.github.com/repos/emijrp/internet-archive/merges","archive_url":"https://api.github.com/repos/emijrp/internet-archive/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/emijrp/internet-archive/downloads","issues_url":"https://api.github.com/repos/emijrp/internet-archive/issues{/number}","pulls_url":"https://api.github.com/repos/emijrp/internet-archive/pulls{/number}","milestones_url":"https://api.github.com/repos/emijrp/internet-archive/milestones{/number}","notifications_url":"https://api.github.com/repos/emijrp/internet-archive/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/emijrp/internet-archive/labels{/name}","releases_url":"https://api.github.com/repos/emijrp/internet-archive/releases{/id}","deployments_url":"https://api.github.com/repos/emijrp/internet-archive/deployments","created_at":"2016-02-04T16:56:24Z","updated_at":"2019-03-23T07:24:46Z","pushed_at":"2019-03-23T07:24:44Z","git_url":"git://github.com/emijrp/internet-archive.git","ssh_url":"git@github.com:emijrp/internet-archive.git","clone_url":"https://github.com/emijrp/internet-archive.git","svn_url":"https://github.com/emijrp/internet-archive","homepage":null,"size":142,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":1,"open_issues":2,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/emijrp/internet-archive/pulls/12"},"html":{"href":"https://github.com/emijrp/internet-archive/pull/12"},"issue":{"href":"https://api.github.com/repos/emijrp/internet-archive/issues/12"},"comments":{"href":"https://api.github.com/repos/emijrp/internet-archive/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/emijrp/internet-archive/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/emijrp/internet-archive/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/emijrp/internet-archive/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/emijrp/internet-archive/statuses/7038ba457b6da32f164477400ef5145b363b2fa7"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":2,"additions":11,"deletions":4,"changed_files":2}}
{"actor":{"display_login":"JustAnotherArchivist"}}