{"action":"opened","number":167,"pull_request":{"url":"https://api.github.com/repos/lepinkainen/pyfibot/pulls/167","id":33735610,"html_url":"https://github.com/lepinkainen/pyfibot/pull/167","diff_url":"https://github.com/lepinkainen/pyfibot/pull/167.diff","patch_url":"https://github.com/lepinkainen/pyfibot/pull/167.patch","issue_url":"https://api.github.com/repos/lepinkainen/pyfibot/issues/167","number":167,"state":"open","locked":false,"title":"Remove unnecessary version check, make BS use lxml always if present","user":{"login":"aapa","id":8679167,"avatar_url":"https://avatars.githubusercontent.com/u/8679167?v=3","gravatar_id":"","url":"https://api.github.com/users/aapa","html_url":"https://github.com/aapa","followers_url":"https://api.github.com/users/aapa/followers","following_url":"https://api.github.com/users/aapa/following{/other_user}","gists_url":"https://api.github.com/users/aapa/gists{/gist_id}","starred_url":"https://api.github.com/users/aapa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aapa/subscriptions","organizations_url":"https://api.github.com/users/aapa/orgs","repos_url":"https://api.github.com/users/aapa/repos","events_url":"https://api.github.com/users/aapa/events{/privacy}","received_events_url":"https://api.github.com/users/aapa/received_events","type":"User","site_admin":false},"body":"Version check is unnecessary since BS always uses the best parser available and lxml is installed by default for older Python versions. Anyway the bot should use lxml always when it's installed, since it is a lot faster.\r\n\r\nFrom [Beautiful Soup's documentation](http://www.crummy.com/software/BeautifulSoup/bs4/doc/#specifying-the-parser-to-use):\r\n\r\n> If you don’t specify anything, you’ll get the best HTML parser that’s installed. Beautiful Soup ranks lxml’s parser as being the best, then html5lib’s, then Python’s built-in parser.","created_at":"2015-04-21T07:35:53Z","updated_at":"2015-04-21T07:35:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/lepinkainen/pyfibot/pulls/167/commits","review_comments_url":"https://api.github.com/repos/lepinkainen/pyfibot/pulls/167/comments","review_comment_url":"https://api.github.com/repos/lepinkainen/pyfibot/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lepinkainen/pyfibot/issues/167/comments","statuses_url":"https://api.github.com/repos/lepinkainen/pyfibot/statuses/e2491e670ef994eca5b5dcff65367d37d349b7f5","head":{"label":"aapa:requests-pyopenssl","ref":"requests-pyopenssl","sha":"e2491e670ef994eca5b5dcff65367d37d349b7f5","user":{"login":"aapa","id":8679167,"avatar_url":"https://avatars.githubusercontent.com/u/8679167?v=3","gravatar_id":"","url":"https://api.github.com/users/aapa","html_url":"https://github.com/aapa","followers_url":"https://api.github.com/users/aapa/followers","following_url":"https://api.github.com/users/aapa/following{/other_user}","gists_url":"https://api.github.com/users/aapa/gists{/gist_id}","starred_url":"https://api.github.com/users/aapa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aapa/subscriptions","organizations_url":"https://api.github.com/users/aapa/orgs","repos_url":"https://api.github.com/users/aapa/repos","events_url":"https://api.github.com/users/aapa/events{/privacy}","received_events_url":"https://api.github.com/users/aapa/received_events","type":"User","site_admin":false},"repo":{"id":24003791,"name":"pyfibot","full_name":"aapa/pyfibot","owner":{"login":"aapa","id":8679167,"avatar_url":"https://avatars.githubusercontent.com/u/8679167?v=3","gravatar_id":"","url":"https://api.github.com/users/aapa","html_url":"https://github.com/aapa","followers_url":"https://api.github.com/users/aapa/followers","following_url":"https://api.github.com/users/aapa/following{/other_user}","gists_url":"https://api.github.com/users/aapa/gists{/gist_id}","starred_url":"https://api.github.com/users/aapa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aapa/subscriptions","organizations_url":"https://api.github.com/users/aapa/orgs","repos_url":"https://api.github.com/users/aapa/repos","events_url":"https://api.github.com/users/aapa/events{/privacy}","received_events_url":"https://api.github.com/users/aapa/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aapa/pyfibot","description":"Pyfibot the Python IRC bot","fork":true,"url":"https://api.github.com/repos/aapa/pyfibot","forks_url":"https://api.github.com/repos/aapa/pyfibot/forks","keys_url":"https://api.github.com/repos/aapa/pyfibot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aapa/pyfibot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aapa/pyfibot/teams","hooks_url":"https://api.github.com/repos/aapa/pyfibot/hooks","issue_events_url":"https://api.github.com/repos/aapa/pyfibot/issues/events{/number}","events_url":"https://api.github.com/repos/aapa/pyfibot/events","assignees_url":"https://api.github.com/repos/aapa/pyfibot/assignees{/user}","branches_url":"https://api.github.com/repos/aapa/pyfibot/branches{/branch}","tags_url":"https://api.github.com/repos/aapa/pyfibot/tags","blobs_url":"https://api.github.com/repos/aapa/pyfibot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aapa/pyfibot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aapa/pyfibot/git/refs{/sha}","trees_url":"https://api.github.com/repos/aapa/pyfibot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aapa/pyfibot/statuses/{sha}","languages_url":"https://api.github.com/repos/aapa/pyfibot/languages","stargazers_url":"https://api.github.com/repos/aapa/pyfibot/stargazers","contributors_url":"https://api.github.com/repos/aapa/pyfibot/contributors","subscribers_url":"https://api.github.com/repos/aapa/pyfibot/subscribers","subscription_url":"https://api.github.com/repos/aapa/pyfibot/subscription","commits_url":"https://api.github.com/repos/aapa/pyfibot/commits{/sha}","git_commits_url":"https://api.github.com/repos/aapa/pyfibot/git/commits{/sha}","comments_url":"https://api.github.com/repos/aapa/pyfibot/comments{/number}","issue_comment_url":"https://api.github.com/repos/aapa/pyfibot/issues/comments{/number}","contents_url":"https://api.github.com/repos/aapa/pyfibot/contents/{+path}","compare_url":"https://api.github.com/repos/aapa/pyfibot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aapa/pyfibot/merges","archive_url":"https://api.github.com/repos/aapa/pyfibot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aapa/pyfibot/downloads","issues_url":"https://api.github.com/repos/aapa/pyfibot/issues{/number}","pulls_url":"https://api.github.com/repos/aapa/pyfibot/pulls{/number}","milestones_url":"https://api.github.com/repos/aapa/pyfibot/milestones{/number}","notifications_url":"https://api.github.com/repos/aapa/pyfibot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aapa/pyfibot/labels{/name}","releases_url":"https://api.github.com/repos/aapa/pyfibot/releases{/id}","created_at":"2014-09-13T19:35:21Z","updated_at":"2015-04-21T07:13:46Z","pushed_at":"2015-04-21T07:33:34Z","git_url":"git://github.com/aapa/pyfibot.git","ssh_url":"git@github.com:aapa/pyfibot.git","clone_url":"https://github.com/aapa/pyfibot.git","svn_url":"https://github.com/aapa/pyfibot","homepage":null,"size":1803,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"lepinkainen:master","ref":"master","sha":"6944c36e82919bba972a3a764bd62f8963f8fbd8","user":{"login":"lepinkainen","id":58150,"avatar_url":"https://avatars.githubusercontent.com/u/58150?v=3","gravatar_id":"","url":"https://api.github.com/users/lepinkainen","html_url":"https://github.com/lepinkainen","followers_url":"https://api.github.com/users/lepinkainen/followers","following_url":"https://api.github.com/users/lepinkainen/following{/other_user}","gists_url":"https://api.github.com/users/lepinkainen/gists{/gist_id}","starred_url":"https://api.github.com/users/lepinkainen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lepinkainen/subscriptions","organizations_url":"https://api.github.com/users/lepinkainen/orgs","repos_url":"https://api.github.com/users/lepinkainen/repos","events_url":"https://api.github.com/users/lepinkainen/events{/privacy}","received_events_url":"https://api.github.com/users/lepinkainen/received_events","type":"User","site_admin":false},"repo":{"id":8093673,"name":"pyfibot","full_name":"lepinkainen/pyfibot","owner":{"login":"lepinkainen","id":58150,"avatar_url":"https://avatars.githubusercontent.com/u/58150?v=3","gravatar_id":"","url":"https://api.github.com/users/lepinkainen","html_url":"https://github.com/lepinkainen","followers_url":"https://api.github.com/users/lepinkainen/followers","following_url":"https://api.github.com/users/lepinkainen/following{/other_user}","gists_url":"https://api.github.com/users/lepinkainen/gists{/gist_id}","starred_url":"https://api.github.com/users/lepinkainen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lepinkainen/subscriptions","organizations_url":"https://api.github.com/users/lepinkainen/orgs","repos_url":"https://api.github.com/users/lepinkainen/repos","events_url":"https://api.github.com/users/lepinkainen/events{/privacy}","received_events_url":"https://api.github.com/users/lepinkainen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lepinkainen/pyfibot","description":"Pyfibot the Python IRC bot","fork":false,"url":"https://api.github.com/repos/lepinkainen/pyfibot","forks_url":"https://api.github.com/repos/lepinkainen/pyfibot/forks","keys_url":"https://api.github.com/repos/lepinkainen/pyfibot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lepinkainen/pyfibot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lepinkainen/pyfibot/teams","hooks_url":"https://api.github.com/repos/lepinkainen/pyfibot/hooks","issue_events_url":"https://api.github.com/repos/lepinkainen/pyfibot/issues/events{/number}","events_url":"https://api.github.com/repos/lepinkainen/pyfibot/events","assignees_url":"https://api.github.com/repos/lepinkainen/pyfibot/assignees{/user}","branches_url":"https://api.github.com/repos/lepinkainen/pyfibot/branches{/branch}","tags_url":"https://api.github.com/repos/lepinkainen/pyfibot/tags","blobs_url":"https://api.github.com/repos/lepinkainen/pyfibot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lepinkainen/pyfibot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lepinkainen/pyfibot/git/refs{/sha}","trees_url":"https://api.github.com/repos/lepinkainen/pyfibot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lepinkainen/pyfibot/statuses/{sha}","languages_url":"https://api.github.com/repos/lepinkainen/pyfibot/languages","stargazers_url":"https://api.github.com/repos/lepinkainen/pyfibot/stargazers","contributors_url":"https://api.github.com/repos/lepinkainen/pyfibot/contributors","subscribers_url":"https://api.github.com/repos/lepinkainen/pyfibot/subscribers","subscription_url":"https://api.github.com/repos/lepinkainen/pyfibot/subscription","commits_url":"https://api.github.com/repos/lepinkainen/pyfibot/commits{/sha}","git_commits_url":"https://api.github.com/repos/lepinkainen/pyfibot/git/commits{/sha}","comments_url":"https://api.github.com/repos/lepinkainen/pyfibot/comments{/number}","issue_comment_url":"https://api.github.com/repos/lepinkainen/pyfibot/issues/comments{/number}","contents_url":"https://api.github.com/repos/lepinkainen/pyfibot/contents/{+path}","compare_url":"https://api.github.com/repos/lepinkainen/pyfibot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lepinkainen/pyfibot/merges","archive_url":"https://api.github.com/repos/lepinkainen/pyfibot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lepinkainen/pyfibot/downloads","issues_url":"https://api.github.com/repos/lepinkainen/pyfibot/issues{/number}","pulls_url":"https://api.github.com/repos/lepinkainen/pyfibot/pulls{/number}","milestones_url":"https://api.github.com/repos/lepinkainen/pyfibot/milestones{/number}","notifications_url":"https://api.github.com/repos/lepinkainen/pyfibot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lepinkainen/pyfibot/labels{/name}","releases_url":"https://api.github.com/repos/lepinkainen/pyfibot/releases{/id}","created_at":"2013-02-08T13:09:08Z","updated_at":"2015-04-19T20:51:04Z","pushed_at":"2015-04-19T20:51:03Z","git_url":"git://github.com/lepinkainen/pyfibot.git","ssh_url":"git@github.com:lepinkainen/pyfibot.git","clone_url":"https://github.com/lepinkainen/pyfibot.git","svn_url":"https://github.com/lepinkainen/pyfibot","homepage":null,"size":3192,"stargazers_count":35,"watchers_count":35,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":26,"mirror_url":null,"open_issues_count":20,"forks":26,"open_issues":20,"watchers":35,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/lepinkainen/pyfibot/pulls/167"},"html":{"href":"https://github.com/lepinkainen/pyfibot/pull/167"},"issue":{"href":"https://api.github.com/repos/lepinkainen/pyfibot/issues/167"},"comments":{"href":"https://api.github.com/repos/lepinkainen/pyfibot/issues/167/comments"},"review_comments":{"href":"https://api.github.com/repos/lepinkainen/pyfibot/pulls/167/comments"},"review_comment":{"href":"https://api.github.com/repos/lepinkainen/pyfibot/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lepinkainen/pyfibot/pulls/167/commits"},"statuses":{"href":"https://api.github.com/repos/lepinkainen/pyfibot/statuses/e2491e670ef994eca5b5dcff65367d37d349b7f5"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":7,"deletions":9,"changed_files":2}}