{"action":"created","comment":{"url":"https://api.github.com/repos/muryo13/USNParser/pulls/comments/97267821","pull_request_review_id":17870849,"id":97267821,"diff_hunk":"@@ -48,14 +57,57 @@ def get_hieghest_priority(priorities):\n     #soup = get_soup(usn_sample_html)\n \n     # 各項目の取得\n+\n+    # 通知日\n+    h2 = soup.find('h2')\n+    print('Date:')\n+    print(h2.find_next_sibling('p').text)\n+\n+    #対象Ubuntu版数\n+    h3 = soup.find('h3')    \n+    ul = h3.find_next_sibling('ul')\n+    lis = ul.find_all('li')\n+    print('Ubuntu version:')\n+    for li in lis:\n+        print(li.text)\n+\n     for h3 in soup.find_all('h3'):\n         # Details\n         title = h3.text\n         if title == 'Details':\n             print('Details:')\n-            print(h3.find_next_sibling('p').text)\n+#            print(h3.find_next_sibling('p').text)\n             # next_siblingだと改行(\\n)がヒットしてしまうので次の<p>を探す\n \n+            p = h3\n+            while  True:","path":"usnparser.py","position":52,"original_position":53,"commit_id":"b4dbd0c000b6c0b0f997ee8270ff1a495f759942","original_commit_id":"b4dbd0c000b6c0b0f997ee8270ff1a495f759942","user":{"login":"jun53ichi","id":25213593,"avatar_url":"https://avatars.githubusercontent.com/u/25213593?v=3","gravatar_id":"","url":"https://api.github.com/users/jun53ichi","html_url":"https://github.com/jun53ichi","followers_url":"https://api.github.com/users/jun53ichi/followers","following_url":"https://api.github.com/users/jun53ichi/following{/other_user}","gists_url":"https://api.github.com/users/jun53ichi/gists{/gist_id}","starred_url":"https://api.github.com/users/jun53ichi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jun53ichi/subscriptions","organizations_url":"https://api.github.com/users/jun53ichi/orgs","repos_url":"https://api.github.com/users/jun53ichi/repos","events_url":"https://api.github.com/users/jun53ichi/events{/privacy}","received_events_url":"https://api.github.com/users/jun53ichi/received_events","type":"User","site_admin":false},"body":"ループ内のp = p.find_next_sibling('p')にて見つからなかった場合はbreakするよう変更します","created_at":"2017-01-23T08:12:05Z","updated_at":"2017-01-23T08:12:05Z","html_url":"https://github.com/muryo13/USNParser/pull/1#discussion_r97267821","pull_request_url":"https://api.github.com/repos/muryo13/USNParser/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/muryo13/USNParser/pulls/comments/97267821"},"html":{"href":"https://github.com/muryo13/USNParser/pull/1#discussion_r97267821"},"pull_request":{"href":"https://api.github.com/repos/muryo13/USNParser/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/muryo13/USNParser/pulls/1","id":102664905,"html_url":"https://github.com/muryo13/USNParser/pull/1","diff_url":"https://github.com/muryo13/USNParser/pull/1.diff","patch_url":"https://github.com/muryo13/USNParser/pull/1.patch","issue_url":"https://api.github.com/repos/muryo13/USNParser/issues/1","number":1,"state":"closed","locked":false,"title":"csv対応","user":{"login":"jun53ichi","id":25213593,"avatar_url":"https://avatars.githubusercontent.com/u/25213593?v=3","gravatar_id":"","url":"https://api.github.com/users/jun53ichi","html_url":"https://github.com/jun53ichi","followers_url":"https://api.github.com/users/jun53ichi/followers","following_url":"https://api.github.com/users/jun53ichi/following{/other_user}","gists_url":"https://api.github.com/users/jun53ichi/gists{/gist_id}","starred_url":"https://api.github.com/users/jun53ichi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jun53ichi/subscriptions","organizations_url":"https://api.github.com/users/jun53ichi/orgs","repos_url":"https://api.github.com/users/jun53ichi/repos","events_url":"https://api.github.com/users/jun53ichi/events{/privacy}","received_events_url":"https://api.github.com/users/jun53ichi/received_events","type":"User","site_admin":false},"body":"未対応項目\r\n・日付の表示形式の修正\r\n・複数のUSN取得\r\n・該非判定","created_at":"2017-01-23T06:38:43Z","updated_at":"2017-01-23T08:12:05Z","closed_at":"2017-01-23T07:02:49Z","merged_at":"2017-01-23T07:02:49Z","merge_commit_sha":"148c4386453585b89d02e15ab4f6cb7f5ee6c9c1","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/muryo13/USNParser/pulls/1/commits","review_comments_url":"https://api.github.com/repos/muryo13/USNParser/pulls/1/comments","review_comment_url":"https://api.github.com/repos/muryo13/USNParser/pulls/comments{/number}","comments_url":"https://api.github.com/repos/muryo13/USNParser/issues/1/comments","statuses_url":"https://api.github.com/repos/muryo13/USNParser/statuses/b4dbd0c000b6c0b0f997ee8270ff1a495f759942","head":{"label":"jun53ichi:develop","ref":"develop","sha":"b4dbd0c000b6c0b0f997ee8270ff1a495f759942","user":{"login":"jun53ichi","id":25213593,"avatar_url":"https://avatars.githubusercontent.com/u/25213593?v=3","gravatar_id":"","url":"https://api.github.com/users/jun53ichi","html_url":"https://github.com/jun53ichi","followers_url":"https://api.github.com/users/jun53ichi/followers","following_url":"https://api.github.com/users/jun53ichi/following{/other_user}","gists_url":"https://api.github.com/users/jun53ichi/gists{/gist_id}","starred_url":"https://api.github.com/users/jun53ichi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jun53ichi/subscriptions","organizations_url":"https://api.github.com/users/jun53ichi/orgs","repos_url":"https://api.github.com/users/jun53ichi/repos","events_url":"https://api.github.com/users/jun53ichi/events{/privacy}","received_events_url":"https://api.github.com/users/jun53ichi/received_events","type":"User","site_admin":false},"repo":{"id":79771867,"name":"USNParser","full_name":"jun53ichi/USNParser","owner":{"login":"jun53ichi","id":25213593,"avatar_url":"https://avatars.githubusercontent.com/u/25213593?v=3","gravatar_id":"","url":"https://api.github.com/users/jun53ichi","html_url":"https://github.com/jun53ichi","followers_url":"https://api.github.com/users/jun53ichi/followers","following_url":"https://api.github.com/users/jun53ichi/following{/other_user}","gists_url":"https://api.github.com/users/jun53ichi/gists{/gist_id}","starred_url":"https://api.github.com/users/jun53ichi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jun53ichi/subscriptions","organizations_url":"https://api.github.com/users/jun53ichi/orgs","repos_url":"https://api.github.com/users/jun53ichi/repos","events_url":"https://api.github.com/users/jun53ichi/events{/privacy}","received_events_url":"https://api.github.com/users/jun53ichi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jun53ichi/USNParser","description":null,"fork":true,"url":"https://api.github.com/repos/jun53ichi/USNParser","forks_url":"https://api.github.com/repos/jun53ichi/USNParser/forks","keys_url":"https://api.github.com/repos/jun53ichi/USNParser/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jun53ichi/USNParser/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jun53ichi/USNParser/teams","hooks_url":"https://api.github.com/repos/jun53ichi/USNParser/hooks","issue_events_url":"https://api.github.com/repos/jun53ichi/USNParser/issues/events{/number}","events_url":"https://api.github.com/repos/jun53ichi/USNParser/events","assignees_url":"https://api.github.com/repos/jun53ichi/USNParser/assignees{/user}","branches_url":"https://api.github.com/repos/jun53ichi/USNParser/branches{/branch}","tags_url":"https://api.github.com/repos/jun53ichi/USNParser/tags","blobs_url":"https://api.github.com/repos/jun53ichi/USNParser/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jun53ichi/USNParser/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jun53ichi/USNParser/git/refs{/sha}","trees_url":"https://api.github.com/repos/jun53ichi/USNParser/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jun53ichi/USNParser/statuses/{sha}","languages_url":"https://api.github.com/repos/jun53ichi/USNParser/languages","stargazers_url":"https://api.github.com/repos/jun53ichi/USNParser/stargazers","contributors_url":"https://api.github.com/repos/jun53ichi/USNParser/contributors","subscribers_url":"https://api.github.com/repos/jun53ichi/USNParser/subscribers","subscription_url":"https://api.github.com/repos/jun53ichi/USNParser/subscription","commits_url":"https://api.github.com/repos/jun53ichi/USNParser/commits{/sha}","git_commits_url":"https://api.github.com/repos/jun53ichi/USNParser/git/commits{/sha}","comments_url":"https://api.github.com/repos/jun53ichi/USNParser/comments{/number}","issue_comment_url":"https://api.github.com/repos/jun53ichi/USNParser/issues/comments{/number}","contents_url":"https://api.github.com/repos/jun53ichi/USNParser/contents/{+path}","compare_url":"https://api.github.com/repos/jun53ichi/USNParser/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jun53ichi/USNParser/merges","archive_url":"https://api.github.com/repos/jun53ichi/USNParser/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jun53ichi/USNParser/downloads","issues_url":"https://api.github.com/repos/jun53ichi/USNParser/issues{/number}","pulls_url":"https://api.github.com/repos/jun53ichi/USNParser/pulls{/number}","milestones_url":"https://api.github.com/repos/jun53ichi/USNParser/milestones{/number}","notifications_url":"https://api.github.com/repos/jun53ichi/USNParser/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jun53ichi/USNParser/labels{/name}","releases_url":"https://api.github.com/repos/jun53ichi/USNParser/releases{/id}","deployments_url":"https://api.github.com/repos/jun53ichi/USNParser/deployments","created_at":"2017-01-23T05:07:26Z","updated_at":"2017-01-23T05:07:28Z","pushed_at":"2017-01-23T06:36:48Z","git_url":"git://github.com/jun53ichi/USNParser.git","ssh_url":"git@github.com:jun53ichi/USNParser.git","clone_url":"https://github.com/jun53ichi/USNParser.git","svn_url":"https://github.com/jun53ichi/USNParser","homepage":null,"size":8,"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":"muryo13:master","ref":"master","sha":"9d94fd676960835436cc7c2345e9f46b3aef042b","user":{"login":"muryo13","id":5645278,"avatar_url":"https://avatars.githubusercontent.com/u/5645278?v=3","gravatar_id":"","url":"https://api.github.com/users/muryo13","html_url":"https://github.com/muryo13","followers_url":"https://api.github.com/users/muryo13/followers","following_url":"https://api.github.com/users/muryo13/following{/other_user}","gists_url":"https://api.github.com/users/muryo13/gists{/gist_id}","starred_url":"https://api.github.com/users/muryo13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/muryo13/subscriptions","organizations_url":"https://api.github.com/users/muryo13/orgs","repos_url":"https://api.github.com/users/muryo13/repos","events_url":"https://api.github.com/users/muryo13/events{/privacy}","received_events_url":"https://api.github.com/users/muryo13/received_events","type":"User","site_admin":false},"repo":{"id":79069283,"name":"USNParser","full_name":"muryo13/USNParser","owner":{"login":"muryo13","id":5645278,"avatar_url":"https://avatars.githubusercontent.com/u/5645278?v=3","gravatar_id":"","url":"https://api.github.com/users/muryo13","html_url":"https://github.com/muryo13","followers_url":"https://api.github.com/users/muryo13/followers","following_url":"https://api.github.com/users/muryo13/following{/other_user}","gists_url":"https://api.github.com/users/muryo13/gists{/gist_id}","starred_url":"https://api.github.com/users/muryo13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/muryo13/subscriptions","organizations_url":"https://api.github.com/users/muryo13/orgs","repos_url":"https://api.github.com/users/muryo13/repos","events_url":"https://api.github.com/users/muryo13/events{/privacy}","received_events_url":"https://api.github.com/users/muryo13/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/muryo13/USNParser","description":null,"fork":false,"url":"https://api.github.com/repos/muryo13/USNParser","forks_url":"https://api.github.com/repos/muryo13/USNParser/forks","keys_url":"https://api.github.com/repos/muryo13/USNParser/keys{/key_id}","collaborators_url":"https://api.github.com/repos/muryo13/USNParser/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/muryo13/USNParser/teams","hooks_url":"https://api.github.com/repos/muryo13/USNParser/hooks","issue_events_url":"https://api.github.com/repos/muryo13/USNParser/issues/events{/number}","events_url":"https://api.github.com/repos/muryo13/USNParser/events","assignees_url":"https://api.github.com/repos/muryo13/USNParser/assignees{/user}","branches_url":"https://api.github.com/repos/muryo13/USNParser/branches{/branch}","tags_url":"https://api.github.com/repos/muryo13/USNParser/tags","blobs_url":"https://api.github.com/repos/muryo13/USNParser/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/muryo13/USNParser/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/muryo13/USNParser/git/refs{/sha}","trees_url":"https://api.github.com/repos/muryo13/USNParser/git/trees{/sha}","statuses_url":"https://api.github.com/repos/muryo13/USNParser/statuses/{sha}","languages_url":"https://api.github.com/repos/muryo13/USNParser/languages","stargazers_url":"https://api.github.com/repos/muryo13/USNParser/stargazers","contributors_url":"https://api.github.com/repos/muryo13/USNParser/contributors","subscribers_url":"https://api.github.com/repos/muryo13/USNParser/subscribers","subscription_url":"https://api.github.com/repos/muryo13/USNParser/subscription","commits_url":"https://api.github.com/repos/muryo13/USNParser/commits{/sha}","git_commits_url":"https://api.github.com/repos/muryo13/USNParser/git/commits{/sha}","comments_url":"https://api.github.com/repos/muryo13/USNParser/comments{/number}","issue_comment_url":"https://api.github.com/repos/muryo13/USNParser/issues/comments{/number}","contents_url":"https://api.github.com/repos/muryo13/USNParser/contents/{+path}","compare_url":"https://api.github.com/repos/muryo13/USNParser/compare/{base}...{head}","merges_url":"https://api.github.com/repos/muryo13/USNParser/merges","archive_url":"https://api.github.com/repos/muryo13/USNParser/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/muryo13/USNParser/downloads","issues_url":"https://api.github.com/repos/muryo13/USNParser/issues{/number}","pulls_url":"https://api.github.com/repos/muryo13/USNParser/pulls{/number}","milestones_url":"https://api.github.com/repos/muryo13/USNParser/milestones{/number}","notifications_url":"https://api.github.com/repos/muryo13/USNParser/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/muryo13/USNParser/labels{/name}","releases_url":"https://api.github.com/repos/muryo13/USNParser/releases{/id}","deployments_url":"https://api.github.com/repos/muryo13/USNParser/deployments","created_at":"2017-01-16T00:35:09Z","updated_at":"2017-01-16T01:20:30Z","pushed_at":"2017-01-23T07:02:49Z","git_url":"git://github.com/muryo13/USNParser.git","ssh_url":"git@github.com:muryo13/USNParser.git","clone_url":"https://github.com/muryo13/USNParser.git","svn_url":"https://github.com/muryo13/USNParser","homepage":null,"size":9,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/muryo13/USNParser/pulls/1"},"html":{"href":"https://github.com/muryo13/USNParser/pull/1"},"issue":{"href":"https://api.github.com/repos/muryo13/USNParser/issues/1"},"comments":{"href":"https://api.github.com/repos/muryo13/USNParser/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/muryo13/USNParser/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/muryo13/USNParser/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/muryo13/USNParser/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/muryo13/USNParser/statuses/b4dbd0c000b6c0b0f997ee8270ff1a495f759942"}}}}
{"actor":{"display_login":"jun53ichi"}}