{"action":"created","comment":{"url":"https://api.github.com/repos/andir/ipv6.watch/pulls/comments/85584179","pull_request_review_id":6294150,"id":85584179,"diff_hunk":"@@ -91,10 +101,44 @@ def generate_message(media, target, conf, result):\n         raise RuntimeError('Invalid media {} for {}'.format(media, target))\n \n \n+def count_tweets_in_twitter_url(url):","path":"generate.py","position":53,"original_position":53,"commit_id":"3afabd0487348c91c648bf3f7c19b1e1ce13383d","original_commit_id":"3afabd0487348c91c648bf3f7c19b1e1ce13383d","user":{"login":"andir","id":638836,"avatar_url":"https://avatars.githubusercontent.com/u/638836?v=3","gravatar_id":"","url":"https://api.github.com/users/andir","html_url":"https://github.com/andir","followers_url":"https://api.github.com/users/andir/followers","following_url":"https://api.github.com/users/andir/following{/other_user}","gists_url":"https://api.github.com/users/andir/gists{/gist_id}","starred_url":"https://api.github.com/users/andir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andir/subscriptions","organizations_url":"https://api.github.com/users/andir/orgs","repos_url":"https://api.github.com/users/andir/repos","events_url":"https://api.github.com/users/andir/events{/privacy}","received_events_url":"https://api.github.com/users/andir/received_events","type":"User","site_admin":false},"body":"All this browser faking and text processing would not be needed if we'd use the API... I'm still very much in favor of it. I'm generating the page every minute (or it should be every minute). 60 queries per hour are reasonable and should be well within the API rate limits.","created_at":"2016-10-28T18:22:53Z","updated_at":"2016-10-28T18:22:53Z","html_url":"https://github.com/andir/ipv6.watch/pull/21#discussion_r85584179","pull_request_url":"https://api.github.com/repos/andir/ipv6.watch/pulls/21","_links":{"self":{"href":"https://api.github.com/repos/andir/ipv6.watch/pulls/comments/85584179"},"html":{"href":"https://github.com/andir/ipv6.watch/pull/21#discussion_r85584179"},"pull_request":{"href":"https://api.github.com/repos/andir/ipv6.watch/pulls/21"}}},"pull_request":{"url":"https://api.github.com/repos/andir/ipv6.watch/pulls/21","id":91283494,"html_url":"https://github.com/andir/ipv6.watch/pull/21","diff_url":"https://github.com/andir/ipv6.watch/pull/21.diff","patch_url":"https://github.com/andir/ipv6.watch/pull/21.patch","issue_url":"https://api.github.com/repos/andir/ipv6.watch/issues/21","number":21,"state":"open","locked":false,"title":"Added GetTweets ","user":{"login":"schollz","id":6550035,"avatar_url":"https://avatars.githubusercontent.com/u/6550035?v=3","gravatar_id":"","url":"https://api.github.com/users/schollz","html_url":"https://github.com/schollz","followers_url":"https://api.github.com/users/schollz/followers","following_url":"https://api.github.com/users/schollz/following{/other_user}","gists_url":"https://api.github.com/users/schollz/gists{/gist_id}","starred_url":"https://api.github.com/users/schollz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schollz/subscriptions","organizations_url":"https://api.github.com/users/schollz/orgs","repos_url":"https://api.github.com/users/schollz/repos","events_url":"https://api.github.com/users/schollz/events{/privacy}","received_events_url":"https://api.github.com/users/schollz/received_events","type":"User","site_admin":false},"body":"This gives you the functionality requested in #14. I only had to import one extra package - `requests`!\r\n\r\nI haven't integrated into your template, so that is up to you!\r\n\r\n","created_at":"2016-10-27T21:23:51Z","updated_at":"2016-10-28T18:30:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9ec9338c575b0bca02f19cc70424af2f8dafc0bc","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/andir/ipv6.watch/pulls/21/commits","review_comments_url":"https://api.github.com/repos/andir/ipv6.watch/pulls/21/comments","review_comment_url":"https://api.github.com/repos/andir/ipv6.watch/pulls/comments{/number}","comments_url":"https://api.github.com/repos/andir/ipv6.watch/issues/21/comments","statuses_url":"https://api.github.com/repos/andir/ipv6.watch/statuses/3afabd0487348c91c648bf3f7c19b1e1ce13383d","head":{"label":"schollz:master","ref":"master","sha":"3afabd0487348c91c648bf3f7c19b1e1ce13383d","user":{"login":"schollz","id":6550035,"avatar_url":"https://avatars.githubusercontent.com/u/6550035?v=3","gravatar_id":"","url":"https://api.github.com/users/schollz","html_url":"https://github.com/schollz","followers_url":"https://api.github.com/users/schollz/followers","following_url":"https://api.github.com/users/schollz/following{/other_user}","gists_url":"https://api.github.com/users/schollz/gists{/gist_id}","starred_url":"https://api.github.com/users/schollz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schollz/subscriptions","organizations_url":"https://api.github.com/users/schollz/orgs","repos_url":"https://api.github.com/users/schollz/repos","events_url":"https://api.github.com/users/schollz/events{/privacy}","received_events_url":"https://api.github.com/users/schollz/received_events","type":"User","site_admin":false},"repo":{"id":72149291,"name":"ipv6.watch","full_name":"schollz/ipv6.watch","owner":{"login":"schollz","id":6550035,"avatar_url":"https://avatars.githubusercontent.com/u/6550035?v=3","gravatar_id":"","url":"https://api.github.com/users/schollz","html_url":"https://github.com/schollz","followers_url":"https://api.github.com/users/schollz/followers","following_url":"https://api.github.com/users/schollz/following{/other_user}","gists_url":"https://api.github.com/users/schollz/gists{/gist_id}","starred_url":"https://api.github.com/users/schollz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schollz/subscriptions","organizations_url":"https://api.github.com/users/schollz/orgs","repos_url":"https://api.github.com/users/schollz/repos","events_url":"https://api.github.com/users/schollz/events{/privacy}","received_events_url":"https://api.github.com/users/schollz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/schollz/ipv6.watch","description":null,"fork":true,"url":"https://api.github.com/repos/schollz/ipv6.watch","forks_url":"https://api.github.com/repos/schollz/ipv6.watch/forks","keys_url":"https://api.github.com/repos/schollz/ipv6.watch/keys{/key_id}","collaborators_url":"https://api.github.com/repos/schollz/ipv6.watch/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/schollz/ipv6.watch/teams","hooks_url":"https://api.github.com/repos/schollz/ipv6.watch/hooks","issue_events_url":"https://api.github.com/repos/schollz/ipv6.watch/issues/events{/number}","events_url":"https://api.github.com/repos/schollz/ipv6.watch/events","assignees_url":"https://api.github.com/repos/schollz/ipv6.watch/assignees{/user}","branches_url":"https://api.github.com/repos/schollz/ipv6.watch/branches{/branch}","tags_url":"https://api.github.com/repos/schollz/ipv6.watch/tags","blobs_url":"https://api.github.com/repos/schollz/ipv6.watch/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/schollz/ipv6.watch/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/schollz/ipv6.watch/git/refs{/sha}","trees_url":"https://api.github.com/repos/schollz/ipv6.watch/git/trees{/sha}","statuses_url":"https://api.github.com/repos/schollz/ipv6.watch/statuses/{sha}","languages_url":"https://api.github.com/repos/schollz/ipv6.watch/languages","stargazers_url":"https://api.github.com/repos/schollz/ipv6.watch/stargazers","contributors_url":"https://api.github.com/repos/schollz/ipv6.watch/contributors","subscribers_url":"https://api.github.com/repos/schollz/ipv6.watch/subscribers","subscription_url":"https://api.github.com/repos/schollz/ipv6.watch/subscription","commits_url":"https://api.github.com/repos/schollz/ipv6.watch/commits{/sha}","git_commits_url":"https://api.github.com/repos/schollz/ipv6.watch/git/commits{/sha}","comments_url":"https://api.github.com/repos/schollz/ipv6.watch/comments{/number}","issue_comment_url":"https://api.github.com/repos/schollz/ipv6.watch/issues/comments{/number}","contents_url":"https://api.github.com/repos/schollz/ipv6.watch/contents/{+path}","compare_url":"https://api.github.com/repos/schollz/ipv6.watch/compare/{base}...{head}","merges_url":"https://api.github.com/repos/schollz/ipv6.watch/merges","archive_url":"https://api.github.com/repos/schollz/ipv6.watch/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/schollz/ipv6.watch/downloads","issues_url":"https://api.github.com/repos/schollz/ipv6.watch/issues{/number}","pulls_url":"https://api.github.com/repos/schollz/ipv6.watch/pulls{/number}","milestones_url":"https://api.github.com/repos/schollz/ipv6.watch/milestones{/number}","notifications_url":"https://api.github.com/repos/schollz/ipv6.watch/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/schollz/ipv6.watch/labels{/name}","releases_url":"https://api.github.com/repos/schollz/ipv6.watch/releases{/id}","deployments_url":"https://api.github.com/repos/schollz/ipv6.watch/deployments","created_at":"2016-10-27T21:21:23Z","updated_at":"2016-10-27T21:21:24Z","pushed_at":"2016-10-28T12:35:47Z","git_url":"git://github.com/schollz/ipv6.watch.git","ssh_url":"git@github.com:schollz/ipv6.watch.git","clone_url":"https://github.com/schollz/ipv6.watch.git","svn_url":"https://github.com/schollz/ipv6.watch","homepage":"https://ipv6.watch","size":126,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"andir:master","ref":"master","sha":"60e51131051ea26261fba53a1a6b8e661a4df064","user":{"login":"andir","id":638836,"avatar_url":"https://avatars.githubusercontent.com/u/638836?v=3","gravatar_id":"","url":"https://api.github.com/users/andir","html_url":"https://github.com/andir","followers_url":"https://api.github.com/users/andir/followers","following_url":"https://api.github.com/users/andir/following{/other_user}","gists_url":"https://api.github.com/users/andir/gists{/gist_id}","starred_url":"https://api.github.com/users/andir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andir/subscriptions","organizations_url":"https://api.github.com/users/andir/orgs","repos_url":"https://api.github.com/users/andir/repos","events_url":"https://api.github.com/users/andir/events{/privacy}","received_events_url":"https://api.github.com/users/andir/received_events","type":"User","site_admin":false},"repo":{"id":48591385,"name":"ipv6.watch","full_name":"andir/ipv6.watch","owner":{"login":"andir","id":638836,"avatar_url":"https://avatars.githubusercontent.com/u/638836?v=3","gravatar_id":"","url":"https://api.github.com/users/andir","html_url":"https://github.com/andir","followers_url":"https://api.github.com/users/andir/followers","following_url":"https://api.github.com/users/andir/following{/other_user}","gists_url":"https://api.github.com/users/andir/gists{/gist_id}","starred_url":"https://api.github.com/users/andir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andir/subscriptions","organizations_url":"https://api.github.com/users/andir/orgs","repos_url":"https://api.github.com/users/andir/repos","events_url":"https://api.github.com/users/andir/events{/privacy}","received_events_url":"https://api.github.com/users/andir/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/andir/ipv6.watch","description":null,"fork":false,"url":"https://api.github.com/repos/andir/ipv6.watch","forks_url":"https://api.github.com/repos/andir/ipv6.watch/forks","keys_url":"https://api.github.com/repos/andir/ipv6.watch/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andir/ipv6.watch/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andir/ipv6.watch/teams","hooks_url":"https://api.github.com/repos/andir/ipv6.watch/hooks","issue_events_url":"https://api.github.com/repos/andir/ipv6.watch/issues/events{/number}","events_url":"https://api.github.com/repos/andir/ipv6.watch/events","assignees_url":"https://api.github.com/repos/andir/ipv6.watch/assignees{/user}","branches_url":"https://api.github.com/repos/andir/ipv6.watch/branches{/branch}","tags_url":"https://api.github.com/repos/andir/ipv6.watch/tags","blobs_url":"https://api.github.com/repos/andir/ipv6.watch/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andir/ipv6.watch/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andir/ipv6.watch/git/refs{/sha}","trees_url":"https://api.github.com/repos/andir/ipv6.watch/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andir/ipv6.watch/statuses/{sha}","languages_url":"https://api.github.com/repos/andir/ipv6.watch/languages","stargazers_url":"https://api.github.com/repos/andir/ipv6.watch/stargazers","contributors_url":"https://api.github.com/repos/andir/ipv6.watch/contributors","subscribers_url":"https://api.github.com/repos/andir/ipv6.watch/subscribers","subscription_url":"https://api.github.com/repos/andir/ipv6.watch/subscription","commits_url":"https://api.github.com/repos/andir/ipv6.watch/commits{/sha}","git_commits_url":"https://api.github.com/repos/andir/ipv6.watch/git/commits{/sha}","comments_url":"https://api.github.com/repos/andir/ipv6.watch/comments{/number}","issue_comment_url":"https://api.github.com/repos/andir/ipv6.watch/issues/comments{/number}","contents_url":"https://api.github.com/repos/andir/ipv6.watch/contents/{+path}","compare_url":"https://api.github.com/repos/andir/ipv6.watch/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andir/ipv6.watch/merges","archive_url":"https://api.github.com/repos/andir/ipv6.watch/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andir/ipv6.watch/downloads","issues_url":"https://api.github.com/repos/andir/ipv6.watch/issues{/number}","pulls_url":"https://api.github.com/repos/andir/ipv6.watch/pulls{/number}","milestones_url":"https://api.github.com/repos/andir/ipv6.watch/milestones{/number}","notifications_url":"https://api.github.com/repos/andir/ipv6.watch/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andir/ipv6.watch/labels{/name}","releases_url":"https://api.github.com/repos/andir/ipv6.watch/releases{/id}","deployments_url":"https://api.github.com/repos/andir/ipv6.watch/deployments","created_at":"2015-12-25T21:07:39Z","updated_at":"2016-10-27T21:26:40Z","pushed_at":"2016-10-28T12:35:48Z","git_url":"git://github.com/andir/ipv6.watch.git","ssh_url":"git@github.com:andir/ipv6.watch.git","clone_url":"https://github.com/andir/ipv6.watch.git","svn_url":"https://github.com/andir/ipv6.watch","homepage":"https://ipv6.watch","size":136,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":4,"forks":8,"open_issues":4,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/andir/ipv6.watch/pulls/21"},"html":{"href":"https://github.com/andir/ipv6.watch/pull/21"},"issue":{"href":"https://api.github.com/repos/andir/ipv6.watch/issues/21"},"comments":{"href":"https://api.github.com/repos/andir/ipv6.watch/issues/21/comments"},"review_comments":{"href":"https://api.github.com/repos/andir/ipv6.watch/pulls/21/comments"},"review_comment":{"href":"https://api.github.com/repos/andir/ipv6.watch/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/andir/ipv6.watch/pulls/21/commits"},"statuses":{"href":"https://api.github.com/repos/andir/ipv6.watch/statuses/3afabd0487348c91c648bf3f7c19b1e1ce13383d"}}}}
{"actor":{"display_login":"andir"}}