{"action":"opened","number":6,"pull_request":{"url":"https://api.github.com/repos/jwlin/ptt-web-crawler/pulls/6","id":81779254,"html_url":"https://github.com/jwlin/ptt-web-crawler/pull/6","diff_url":"https://github.com/jwlin/ptt-web-crawler/pull/6.diff","patch_url":"https://github.com/jwlin/ptt-web-crawler/pull/6.patch","issue_url":"https://api.github.com/repos/jwlin/ptt-web-crawler/issues/6","number":6,"state":"open","locked":false,"title":"check None for re.search","user":{"login":"gogochi","id":13790354,"avatar_url":"https://avatars.githubusercontent.com/u/13790354?v=3","gravatar_id":"","url":"https://api.github.com/users/gogochi","html_url":"https://github.com/gogochi","followers_url":"https://api.github.com/users/gogochi/followers","following_url":"https://api.github.com/users/gogochi/following{/other_user}","gists_url":"https://api.github.com/users/gogochi/gists{/gist_id}","starred_url":"https://api.github.com/users/gogochi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gogochi/subscriptions","organizations_url":"https://api.github.com/users/gogochi/orgs","repos_url":"https://api.github.com/users/gogochi/repos","events_url":"https://api.github.com/users/gogochi/events{/privacy}","received_events_url":"https://api.github.com/users/gogochi/received_events","type":"User","site_admin":false},"body":"Some boards only have one page.\r\nfor example, https://www.ptt.cc/bbs/b994060work/index.html\r\nre.search().group(1) will crash the code.","created_at":"2016-08-18T08:54:58Z","updated_at":"2016-08-18T08:54:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/jwlin/ptt-web-crawler/pulls/6/commits","review_comments_url":"https://api.github.com/repos/jwlin/ptt-web-crawler/pulls/6/comments","review_comment_url":"https://api.github.com/repos/jwlin/ptt-web-crawler/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jwlin/ptt-web-crawler/issues/6/comments","statuses_url":"https://api.github.com/repos/jwlin/ptt-web-crawler/statuses/6259fc0537d9ecf334a6f1a1d73e271c00b6edde","head":{"label":"gogochi:master","ref":"master","sha":"6259fc0537d9ecf334a6f1a1d73e271c00b6edde","user":{"login":"gogochi","id":13790354,"avatar_url":"https://avatars.githubusercontent.com/u/13790354?v=3","gravatar_id":"","url":"https://api.github.com/users/gogochi","html_url":"https://github.com/gogochi","followers_url":"https://api.github.com/users/gogochi/followers","following_url":"https://api.github.com/users/gogochi/following{/other_user}","gists_url":"https://api.github.com/users/gogochi/gists{/gist_id}","starred_url":"https://api.github.com/users/gogochi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gogochi/subscriptions","organizations_url":"https://api.github.com/users/gogochi/orgs","repos_url":"https://api.github.com/users/gogochi/repos","events_url":"https://api.github.com/users/gogochi/events{/privacy}","received_events_url":"https://api.github.com/users/gogochi/received_events","type":"User","site_admin":false},"repo":{"id":65978279,"name":"ptt-web-crawler","full_name":"gogochi/ptt-web-crawler","owner":{"login":"gogochi","id":13790354,"avatar_url":"https://avatars.githubusercontent.com/u/13790354?v=3","gravatar_id":"","url":"https://api.github.com/users/gogochi","html_url":"https://github.com/gogochi","followers_url":"https://api.github.com/users/gogochi/followers","following_url":"https://api.github.com/users/gogochi/following{/other_user}","gists_url":"https://api.github.com/users/gogochi/gists{/gist_id}","starred_url":"https://api.github.com/users/gogochi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gogochi/subscriptions","organizations_url":"https://api.github.com/users/gogochi/orgs","repos_url":"https://api.github.com/users/gogochi/repos","events_url":"https://api.github.com/users/gogochi/events{/privacy}","received_events_url":"https://api.github.com/users/gogochi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gogochi/ptt-web-crawler","description":"PTT 網路版爬蟲","fork":true,"url":"https://api.github.com/repos/gogochi/ptt-web-crawler","forks_url":"https://api.github.com/repos/gogochi/ptt-web-crawler/forks","keys_url":"https://api.github.com/repos/gogochi/ptt-web-crawler/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gogochi/ptt-web-crawler/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gogochi/ptt-web-crawler/teams","hooks_url":"https://api.github.com/repos/gogochi/ptt-web-crawler/hooks","issue_events_url":"https://api.github.com/repos/gogochi/ptt-web-crawler/issues/events{/number}","events_url":"https://api.github.com/repos/gogochi/ptt-web-crawler/events","assignees_url":"https://api.github.com/repos/gogochi/ptt-web-crawler/assignees{/user}","branches_url":"https://api.github.com/repos/gogochi/ptt-web-crawler/branches{/branch}","tags_url":"https://api.github.com/repos/gogochi/ptt-web-crawler/tags","blobs_url":"https://api.github.com/repos/gogochi/ptt-web-crawler/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gogochi/ptt-web-crawler/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gogochi/ptt-web-crawler/git/refs{/sha}","trees_url":"https://api.github.com/repos/gogochi/ptt-web-crawler/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gogochi/ptt-web-crawler/statuses/{sha}","languages_url":"https://api.github.com/repos/gogochi/ptt-web-crawler/languages","stargazers_url":"https://api.github.com/repos/gogochi/ptt-web-crawler/stargazers","contributors_url":"https://api.github.com/repos/gogochi/ptt-web-crawler/contributors","subscribers_url":"https://api.github.com/repos/gogochi/ptt-web-crawler/subscribers","subscription_url":"https://api.github.com/repos/gogochi/ptt-web-crawler/subscription","commits_url":"https://api.github.com/repos/gogochi/ptt-web-crawler/commits{/sha}","git_commits_url":"https://api.github.com/repos/gogochi/ptt-web-crawler/git/commits{/sha}","comments_url":"https://api.github.com/repos/gogochi/ptt-web-crawler/comments{/number}","issue_comment_url":"https://api.github.com/repos/gogochi/ptt-web-crawler/issues/comments{/number}","contents_url":"https://api.github.com/repos/gogochi/ptt-web-crawler/contents/{+path}","compare_url":"https://api.github.com/repos/gogochi/ptt-web-crawler/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gogochi/ptt-web-crawler/merges","archive_url":"https://api.github.com/repos/gogochi/ptt-web-crawler/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gogochi/ptt-web-crawler/downloads","issues_url":"https://api.github.com/repos/gogochi/ptt-web-crawler/issues{/number}","pulls_url":"https://api.github.com/repos/gogochi/ptt-web-crawler/pulls{/number}","milestones_url":"https://api.github.com/repos/gogochi/ptt-web-crawler/milestones{/number}","notifications_url":"https://api.github.com/repos/gogochi/ptt-web-crawler/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gogochi/ptt-web-crawler/labels{/name}","releases_url":"https://api.github.com/repos/gogochi/ptt-web-crawler/releases{/id}","deployments_url":"https://api.github.com/repos/gogochi/ptt-web-crawler/deployments","created_at":"2016-08-18T08:11:03Z","updated_at":"2016-08-18T08:11:04Z","pushed_at":"2016-08-18T08:52:43Z","git_url":"git://github.com/gogochi/ptt-web-crawler.git","ssh_url":"git@github.com:gogochi/ptt-web-crawler.git","clone_url":"https://github.com/gogochi/ptt-web-crawler.git","svn_url":"https://github.com/gogochi/ptt-web-crawler","homepage":"","size":57,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"jwlin:master","ref":"master","sha":"52602d68af7823cd8ccc87227ebe746ea779d6fe","user":{"login":"jwlin","id":5249835,"avatar_url":"https://avatars.githubusercontent.com/u/5249835?v=3","gravatar_id":"","url":"https://api.github.com/users/jwlin","html_url":"https://github.com/jwlin","followers_url":"https://api.github.com/users/jwlin/followers","following_url":"https://api.github.com/users/jwlin/following{/other_user}","gists_url":"https://api.github.com/users/jwlin/gists{/gist_id}","starred_url":"https://api.github.com/users/jwlin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwlin/subscriptions","organizations_url":"https://api.github.com/users/jwlin/orgs","repos_url":"https://api.github.com/users/jwlin/repos","events_url":"https://api.github.com/users/jwlin/events{/privacy}","received_events_url":"https://api.github.com/users/jwlin/received_events","type":"User","site_admin":false},"repo":{"id":30899151,"name":"ptt-web-crawler","full_name":"jwlin/ptt-web-crawler","owner":{"login":"jwlin","id":5249835,"avatar_url":"https://avatars.githubusercontent.com/u/5249835?v=3","gravatar_id":"","url":"https://api.github.com/users/jwlin","html_url":"https://github.com/jwlin","followers_url":"https://api.github.com/users/jwlin/followers","following_url":"https://api.github.com/users/jwlin/following{/other_user}","gists_url":"https://api.github.com/users/jwlin/gists{/gist_id}","starred_url":"https://api.github.com/users/jwlin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwlin/subscriptions","organizations_url":"https://api.github.com/users/jwlin/orgs","repos_url":"https://api.github.com/users/jwlin/repos","events_url":"https://api.github.com/users/jwlin/events{/privacy}","received_events_url":"https://api.github.com/users/jwlin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jwlin/ptt-web-crawler","description":"PTT 網路版爬蟲","fork":false,"url":"https://api.github.com/repos/jwlin/ptt-web-crawler","forks_url":"https://api.github.com/repos/jwlin/ptt-web-crawler/forks","keys_url":"https://api.github.com/repos/jwlin/ptt-web-crawler/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jwlin/ptt-web-crawler/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jwlin/ptt-web-crawler/teams","hooks_url":"https://api.github.com/repos/jwlin/ptt-web-crawler/hooks","issue_events_url":"https://api.github.com/repos/jwlin/ptt-web-crawler/issues/events{/number}","events_url":"https://api.github.com/repos/jwlin/ptt-web-crawler/events","assignees_url":"https://api.github.com/repos/jwlin/ptt-web-crawler/assignees{/user}","branches_url":"https://api.github.com/repos/jwlin/ptt-web-crawler/branches{/branch}","tags_url":"https://api.github.com/repos/jwlin/ptt-web-crawler/tags","blobs_url":"https://api.github.com/repos/jwlin/ptt-web-crawler/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jwlin/ptt-web-crawler/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jwlin/ptt-web-crawler/git/refs{/sha}","trees_url":"https://api.github.com/repos/jwlin/ptt-web-crawler/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jwlin/ptt-web-crawler/statuses/{sha}","languages_url":"https://api.github.com/repos/jwlin/ptt-web-crawler/languages","stargazers_url":"https://api.github.com/repos/jwlin/ptt-web-crawler/stargazers","contributors_url":"https://api.github.com/repos/jwlin/ptt-web-crawler/contributors","subscribers_url":"https://api.github.com/repos/jwlin/ptt-web-crawler/subscribers","subscription_url":"https://api.github.com/repos/jwlin/ptt-web-crawler/subscription","commits_url":"https://api.github.com/repos/jwlin/ptt-web-crawler/commits{/sha}","git_commits_url":"https://api.github.com/repos/jwlin/ptt-web-crawler/git/commits{/sha}","comments_url":"https://api.github.com/repos/jwlin/ptt-web-crawler/comments{/number}","issue_comment_url":"https://api.github.com/repos/jwlin/ptt-web-crawler/issues/comments{/number}","contents_url":"https://api.github.com/repos/jwlin/ptt-web-crawler/contents/{+path}","compare_url":"https://api.github.com/repos/jwlin/ptt-web-crawler/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jwlin/ptt-web-crawler/merges","archive_url":"https://api.github.com/repos/jwlin/ptt-web-crawler/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jwlin/ptt-web-crawler/downloads","issues_url":"https://api.github.com/repos/jwlin/ptt-web-crawler/issues{/number}","pulls_url":"https://api.github.com/repos/jwlin/ptt-web-crawler/pulls{/number}","milestones_url":"https://api.github.com/repos/jwlin/ptt-web-crawler/milestones{/number}","notifications_url":"https://api.github.com/repos/jwlin/ptt-web-crawler/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jwlin/ptt-web-crawler/labels{/name}","releases_url":"https://api.github.com/repos/jwlin/ptt-web-crawler/releases{/id}","deployments_url":"https://api.github.com/repos/jwlin/ptt-web-crawler/deployments","created_at":"2015-02-17T02:24:52Z","updated_at":"2016-08-15T03:45:18Z","pushed_at":"2016-08-18T08:54:58Z","git_url":"git://github.com/jwlin/ptt-web-crawler.git","ssh_url":"git@github.com:jwlin/ptt-web-crawler.git","clone_url":"https://github.com/jwlin/ptt-web-crawler.git","svn_url":"https://github.com/jwlin/ptt-web-crawler","homepage":"","size":57,"stargazers_count":27,"watchers_count":27,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":21,"mirror_url":null,"open_issues_count":1,"forks":21,"open_issues":1,"watchers":27,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jwlin/ptt-web-crawler/pulls/6"},"html":{"href":"https://github.com/jwlin/ptt-web-crawler/pull/6"},"issue":{"href":"https://api.github.com/repos/jwlin/ptt-web-crawler/issues/6"},"comments":{"href":"https://api.github.com/repos/jwlin/ptt-web-crawler/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/jwlin/ptt-web-crawler/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/jwlin/ptt-web-crawler/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jwlin/ptt-web-crawler/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/jwlin/ptt-web-crawler/statuses/6259fc0537d9ecf334a6f1a1d73e271c00b6edde"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":4,"deletions":2,"changed_files":1}}
{"actor":{"display_login":"gogochi"}}