{"action":"created","comment":{"url":"https://api.github.com/repos/UltrosBot/Ultros/pulls/comments/33629590","id":33629590,"diff_hunk":"@@ -0,0 +1,43 @@\n+import idna\n+from kitchen.text.converters import to_unicode\n+\n+__author__ = 'Gareth Coles'\n+\n+\n+class URL(object):\n+    plugin = None\n+\n+    protocol = None\n+    auth = None\n+    domain = None\n+    port = None\n+    path = None\n+\n+    @property\n+    def text(self):","path":"plugins/urls/url.py","position":17,"original_position":17,"commit_id":"27f8d959444a3935309aa5947a669db655c3853b","original_commit_id":"fb5a21a03ec5f81dbcdfd0662ec977197686362c","user":{"login":"gdude2002","id":204153,"avatar_url":"https://avatars.githubusercontent.com/u/204153?v=3","gravatar_id":"","url":"https://api.github.com/users/gdude2002","html_url":"https://github.com/gdude2002","followers_url":"https://api.github.com/users/gdude2002/followers","following_url":"https://api.github.com/users/gdude2002/following{/other_user}","gists_url":"https://api.github.com/users/gdude2002/gists{/gist_id}","starred_url":"https://api.github.com/users/gdude2002/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gdude2002/subscriptions","organizations_url":"https://api.github.com/users/gdude2002/orgs","repos_url":"https://api.github.com/users/gdude2002/repos","events_url":"https://api.github.com/users/gdude2002/events{/privacy}","received_events_url":"https://api.github.com/users/gdude2002/received_events","type":"User","site_admin":false},"body":"I don't like using them for that, feels too much like magic","created_at":"2015-06-30T22:07:32Z","updated_at":"2015-06-30T22:07:32Z","html_url":"https://github.com/UltrosBot/Ultros/pull/75#discussion_r33629590","pull_request_url":"https://api.github.com/repos/UltrosBot/Ultros/pulls/75","_links":{"self":{"href":"https://api.github.com/repos/UltrosBot/Ultros/pulls/comments/33629590"},"html":{"href":"https://github.com/UltrosBot/Ultros/pull/75#discussion_r33629590"},"pull_request":{"href":"https://api.github.com/repos/UltrosBot/Ultros/pulls/75"}}},"pull_request":{"url":"https://api.github.com/repos/UltrosBot/Ultros/pulls/75","id":38867036,"html_url":"https://github.com/UltrosBot/Ultros/pull/75","diff_url":"https://github.com/UltrosBot/Ultros/pull/75.diff","patch_url":"https://github.com/UltrosBot/Ultros/pull/75.patch","issue_url":"https://api.github.com/repos/UltrosBot/Ultros/issues/75","number":75,"state":"open","locked":false,"title":"New URLs plugin","user":{"login":"gdude2002","id":204153,"avatar_url":"https://avatars.githubusercontent.com/u/204153?v=3","gravatar_id":"","url":"https://api.github.com/users/gdude2002","html_url":"https://github.com/gdude2002","followers_url":"https://api.github.com/users/gdude2002/followers","following_url":"https://api.github.com/users/gdude2002/following{/other_user}","gists_url":"https://api.github.com/users/gdude2002/gists{/gist_id}","starred_url":"https://api.github.com/users/gdude2002/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gdude2002/subscriptions","organizations_url":"https://api.github.com/users/gdude2002/orgs","repos_url":"https://api.github.com/users/gdude2002/repos","events_url":"https://api.github.com/users/gdude2002/events{/privacy}","received_events_url":"https://api.github.com/users/gdude2002/received_events","type":"User","site_admin":false},"body":"Oh boy, this won't merge nicely will it.. That's going to be annoying.\r\n\r\nA much-improved URLs plugin with a proper handler and shortener system, asynchronous requests using `txrequests`, and full sessions/cookies support.\r\n\r\nI'll attempt to merge this myself at some point, but for now, I'm collecting opinions.","created_at":"2015-06-30T11:17:05Z","updated_at":"2015-06-30T22:07:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":{"login":"gdude2002","id":204153,"avatar_url":"https://avatars.githubusercontent.com/u/204153?v=3","gravatar_id":"","url":"https://api.github.com/users/gdude2002","html_url":"https://github.com/gdude2002","followers_url":"https://api.github.com/users/gdude2002/followers","following_url":"https://api.github.com/users/gdude2002/following{/other_user}","gists_url":"https://api.github.com/users/gdude2002/gists{/gist_id}","starred_url":"https://api.github.com/users/gdude2002/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gdude2002/subscriptions","organizations_url":"https://api.github.com/users/gdude2002/orgs","repos_url":"https://api.github.com/users/gdude2002/repos","events_url":"https://api.github.com/users/gdude2002/events{/privacy}","received_events_url":"https://api.github.com/users/gdude2002/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/UltrosBot/Ultros/milestones/2","html_url":"https://github.com/UltrosBot/Ultros/milestones/1.???","labels_url":"https://api.github.com/repos/UltrosBot/Ultros/milestones/2/labels","id":528841,"number":2,"title":"1.???","description":"Features and bugfixes.","creator":{"login":"gdude2002","id":204153,"avatar_url":"https://avatars.githubusercontent.com/u/204153?v=3","gravatar_id":"","url":"https://api.github.com/users/gdude2002","html_url":"https://github.com/gdude2002","followers_url":"https://api.github.com/users/gdude2002/followers","following_url":"https://api.github.com/users/gdude2002/following{/other_user}","gists_url":"https://api.github.com/users/gdude2002/gists{/gist_id}","starred_url":"https://api.github.com/users/gdude2002/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gdude2002/subscriptions","organizations_url":"https://api.github.com/users/gdude2002/orgs","repos_url":"https://api.github.com/users/gdude2002/repos","events_url":"https://api.github.com/users/gdude2002/events{/privacy}","received_events_url":"https://api.github.com/users/gdude2002/received_events","type":"User","site_admin":false},"open_issues":14,"closed_issues":22,"state":"open","created_at":"2014-01-07T12:48:06Z","updated_at":"2015-06-30T11:17:06Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/UltrosBot/Ultros/pulls/75/commits","review_comments_url":"https://api.github.com/repos/UltrosBot/Ultros/pulls/75/comments","review_comment_url":"https://api.github.com/repos/UltrosBot/Ultros/pulls/comments{/number}","comments_url":"https://api.github.com/repos/UltrosBot/Ultros/issues/75/comments","statuses_url":"https://api.github.com/repos/UltrosBot/Ultros/statuses/27f8d959444a3935309aa5947a669db655c3853b","head":{"label":"UltrosBot:URLs","ref":"URLs","sha":"27f8d959444a3935309aa5947a669db655c3853b","user":{"login":"UltrosBot","id":1309877,"avatar_url":"https://avatars.githubusercontent.com/u/1309877?v=3","gravatar_id":"","url":"https://api.github.com/users/UltrosBot","html_url":"https://github.com/UltrosBot","followers_url":"https://api.github.com/users/UltrosBot/followers","following_url":"https://api.github.com/users/UltrosBot/following{/other_user}","gists_url":"https://api.github.com/users/UltrosBot/gists{/gist_id}","starred_url":"https://api.github.com/users/UltrosBot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UltrosBot/subscriptions","organizations_url":"https://api.github.com/users/UltrosBot/orgs","repos_url":"https://api.github.com/users/UltrosBot/repos","events_url":"https://api.github.com/users/UltrosBot/events{/privacy}","received_events_url":"https://api.github.com/users/UltrosBot/received_events","type":"Organization","site_admin":false},"repo":{"id":11878868,"name":"Ultros","full_name":"UltrosBot/Ultros","owner":{"login":"UltrosBot","id":1309877,"avatar_url":"https://avatars.githubusercontent.com/u/1309877?v=3","gravatar_id":"","url":"https://api.github.com/users/UltrosBot","html_url":"https://github.com/UltrosBot","followers_url":"https://api.github.com/users/UltrosBot/followers","following_url":"https://api.github.com/users/UltrosBot/following{/other_user}","gists_url":"https://api.github.com/users/UltrosBot/gists{/gist_id}","starred_url":"https://api.github.com/users/UltrosBot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UltrosBot/subscriptions","organizations_url":"https://api.github.com/users/UltrosBot/orgs","repos_url":"https://api.github.com/users/UltrosBot/repos","events_url":"https://api.github.com/users/UltrosBot/events{/privacy}","received_events_url":"https://api.github.com/users/UltrosBot/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/UltrosBot/Ultros","description":"Connecting communities, one squid at a time! Ultros is a multi-protocol chat bot written in Python, designed with both the user and developer in mind","fork":false,"url":"https://api.github.com/repos/UltrosBot/Ultros","forks_url":"https://api.github.com/repos/UltrosBot/Ultros/forks","keys_url":"https://api.github.com/repos/UltrosBot/Ultros/keys{/key_id}","collaborators_url":"https://api.github.com/repos/UltrosBot/Ultros/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/UltrosBot/Ultros/teams","hooks_url":"https://api.github.com/repos/UltrosBot/Ultros/hooks","issue_events_url":"https://api.github.com/repos/UltrosBot/Ultros/issues/events{/number}","events_url":"https://api.github.com/repos/UltrosBot/Ultros/events","assignees_url":"https://api.github.com/repos/UltrosBot/Ultros/assignees{/user}","branches_url":"https://api.github.com/repos/UltrosBot/Ultros/branches{/branch}","tags_url":"https://api.github.com/repos/UltrosBot/Ultros/tags","blobs_url":"https://api.github.com/repos/UltrosBot/Ultros/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/UltrosBot/Ultros/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/UltrosBot/Ultros/git/refs{/sha}","trees_url":"https://api.github.com/repos/UltrosBot/Ultros/git/trees{/sha}","statuses_url":"https://api.github.com/repos/UltrosBot/Ultros/statuses/{sha}","languages_url":"https://api.github.com/repos/UltrosBot/Ultros/languages","stargazers_url":"https://api.github.com/repos/UltrosBot/Ultros/stargazers","contributors_url":"https://api.github.com/repos/UltrosBot/Ultros/contributors","subscribers_url":"https://api.github.com/repos/UltrosBot/Ultros/subscribers","subscription_url":"https://api.github.com/repos/UltrosBot/Ultros/subscription","commits_url":"https://api.github.com/repos/UltrosBot/Ultros/commits{/sha}","git_commits_url":"https://api.github.com/repos/UltrosBot/Ultros/git/commits{/sha}","comments_url":"https://api.github.com/repos/UltrosBot/Ultros/comments{/number}","issue_comment_url":"https://api.github.com/repos/UltrosBot/Ultros/issues/comments{/number}","contents_url":"https://api.github.com/repos/UltrosBot/Ultros/contents/{+path}","compare_url":"https://api.github.com/repos/UltrosBot/Ultros/compare/{base}...{head}","merges_url":"https://api.github.com/repos/UltrosBot/Ultros/merges","archive_url":"https://api.github.com/repos/UltrosBot/Ultros/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/UltrosBot/Ultros/downloads","issues_url":"https://api.github.com/repos/UltrosBot/Ultros/issues{/number}","pulls_url":"https://api.github.com/repos/UltrosBot/Ultros/pulls{/number}","milestones_url":"https://api.github.com/repos/UltrosBot/Ultros/milestones{/number}","notifications_url":"https://api.github.com/repos/UltrosBot/Ultros/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/UltrosBot/Ultros/labels{/name}","releases_url":"https://api.github.com/repos/UltrosBot/Ultros/releases{/id}","created_at":"2013-08-04T13:19:32Z","updated_at":"2015-04-14T17:42:08Z","pushed_at":"2015-06-30T21:18:50Z","git_url":"git://github.com/UltrosBot/Ultros.git","ssh_url":"git@github.com:UltrosBot/Ultros.git","clone_url":"https://github.com/UltrosBot/Ultros.git","svn_url":"https://github.com/UltrosBot/Ultros","homepage":"http://ultros.io","size":4113,"stargazers_count":17,"watchers_count":17,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":26,"forks":3,"open_issues":26,"watchers":17,"default_branch":"master"}},"base":{"label":"UltrosBot:master","ref":"master","sha":"cf062784e028a1f025ed997db54c4dde10ab484b","user":{"login":"UltrosBot","id":1309877,"avatar_url":"https://avatars.githubusercontent.com/u/1309877?v=3","gravatar_id":"","url":"https://api.github.com/users/UltrosBot","html_url":"https://github.com/UltrosBot","followers_url":"https://api.github.com/users/UltrosBot/followers","following_url":"https://api.github.com/users/UltrosBot/following{/other_user}","gists_url":"https://api.github.com/users/UltrosBot/gists{/gist_id}","starred_url":"https://api.github.com/users/UltrosBot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UltrosBot/subscriptions","organizations_url":"https://api.github.com/users/UltrosBot/orgs","repos_url":"https://api.github.com/users/UltrosBot/repos","events_url":"https://api.github.com/users/UltrosBot/events{/privacy}","received_events_url":"https://api.github.com/users/UltrosBot/received_events","type":"Organization","site_admin":false},"repo":{"id":11878868,"name":"Ultros","full_name":"UltrosBot/Ultros","owner":{"login":"UltrosBot","id":1309877,"avatar_url":"https://avatars.githubusercontent.com/u/1309877?v=3","gravatar_id":"","url":"https://api.github.com/users/UltrosBot","html_url":"https://github.com/UltrosBot","followers_url":"https://api.github.com/users/UltrosBot/followers","following_url":"https://api.github.com/users/UltrosBot/following{/other_user}","gists_url":"https://api.github.com/users/UltrosBot/gists{/gist_id}","starred_url":"https://api.github.com/users/UltrosBot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UltrosBot/subscriptions","organizations_url":"https://api.github.com/users/UltrosBot/orgs","repos_url":"https://api.github.com/users/UltrosBot/repos","events_url":"https://api.github.com/users/UltrosBot/events{/privacy}","received_events_url":"https://api.github.com/users/UltrosBot/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/UltrosBot/Ultros","description":"Connecting communities, one squid at a time! Ultros is a multi-protocol chat bot written in Python, designed with both the user and developer in mind","fork":false,"url":"https://api.github.com/repos/UltrosBot/Ultros","forks_url":"https://api.github.com/repos/UltrosBot/Ultros/forks","keys_url":"https://api.github.com/repos/UltrosBot/Ultros/keys{/key_id}","collaborators_url":"https://api.github.com/repos/UltrosBot/Ultros/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/UltrosBot/Ultros/teams","hooks_url":"https://api.github.com/repos/UltrosBot/Ultros/hooks","issue_events_url":"https://api.github.com/repos/UltrosBot/Ultros/issues/events{/number}","events_url":"https://api.github.com/repos/UltrosBot/Ultros/events","assignees_url":"https://api.github.com/repos/UltrosBot/Ultros/assignees{/user}","branches_url":"https://api.github.com/repos/UltrosBot/Ultros/branches{/branch}","tags_url":"https://api.github.com/repos/UltrosBot/Ultros/tags","blobs_url":"https://api.github.com/repos/UltrosBot/Ultros/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/UltrosBot/Ultros/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/UltrosBot/Ultros/git/refs{/sha}","trees_url":"https://api.github.com/repos/UltrosBot/Ultros/git/trees{/sha}","statuses_url":"https://api.github.com/repos/UltrosBot/Ultros/statuses/{sha}","languages_url":"https://api.github.com/repos/UltrosBot/Ultros/languages","stargazers_url":"https://api.github.com/repos/UltrosBot/Ultros/stargazers","contributors_url":"https://api.github.com/repos/UltrosBot/Ultros/contributors","subscribers_url":"https://api.github.com/repos/UltrosBot/Ultros/subscribers","subscription_url":"https://api.github.com/repos/UltrosBot/Ultros/subscription","commits_url":"https://api.github.com/repos/UltrosBot/Ultros/commits{/sha}","git_commits_url":"https://api.github.com/repos/UltrosBot/Ultros/git/commits{/sha}","comments_url":"https://api.github.com/repos/UltrosBot/Ultros/comments{/number}","issue_comment_url":"https://api.github.com/repos/UltrosBot/Ultros/issues/comments{/number}","contents_url":"https://api.github.com/repos/UltrosBot/Ultros/contents/{+path}","compare_url":"https://api.github.com/repos/UltrosBot/Ultros/compare/{base}...{head}","merges_url":"https://api.github.com/repos/UltrosBot/Ultros/merges","archive_url":"https://api.github.com/repos/UltrosBot/Ultros/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/UltrosBot/Ultros/downloads","issues_url":"https://api.github.com/repos/UltrosBot/Ultros/issues{/number}","pulls_url":"https://api.github.com/repos/UltrosBot/Ultros/pulls{/number}","milestones_url":"https://api.github.com/repos/UltrosBot/Ultros/milestones{/number}","notifications_url":"https://api.github.com/repos/UltrosBot/Ultros/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/UltrosBot/Ultros/labels{/name}","releases_url":"https://api.github.com/repos/UltrosBot/Ultros/releases{/id}","created_at":"2013-08-04T13:19:32Z","updated_at":"2015-04-14T17:42:08Z","pushed_at":"2015-06-30T21:18:50Z","git_url":"git://github.com/UltrosBot/Ultros.git","ssh_url":"git@github.com:UltrosBot/Ultros.git","clone_url":"https://github.com/UltrosBot/Ultros.git","svn_url":"https://github.com/UltrosBot/Ultros","homepage":"http://ultros.io","size":4113,"stargazers_count":17,"watchers_count":17,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":26,"forks":3,"open_issues":26,"watchers":17,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/UltrosBot/Ultros/pulls/75"},"html":{"href":"https://github.com/UltrosBot/Ultros/pull/75"},"issue":{"href":"https://api.github.com/repos/UltrosBot/Ultros/issues/75"},"comments":{"href":"https://api.github.com/repos/UltrosBot/Ultros/issues/75/comments"},"review_comments":{"href":"https://api.github.com/repos/UltrosBot/Ultros/pulls/75/comments"},"review_comment":{"href":"https://api.github.com/repos/UltrosBot/Ultros/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/UltrosBot/Ultros/pulls/75/commits"},"statuses":{"href":"https://api.github.com/repos/UltrosBot/Ultros/statuses/27f8d959444a3935309aa5947a669db655c3853b"}}}}