{"action":"created","issue":{"url":"https://api.github.com/repos/hickford/MechanicalSoup/issues/15","labels_url":"https://api.github.com/repos/hickford/MechanicalSoup/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/hickford/MechanicalSoup/issues/15/comments","events_url":"https://api.github.com/repos/hickford/MechanicalSoup/issues/15/events","html_url":"https://github.com/hickford/MechanicalSoup/issues/15","id":89844285,"number":15,"title":"allow customization of BeautifulSoup instance","user":{"login":"simon-weber","id":950506,"avatar_url":"https://avatars.githubusercontent.com/u/950506?v=3","gravatar_id":"","url":"https://api.github.com/users/simon-weber","html_url":"https://github.com/simon-weber","followers_url":"https://api.github.com/users/simon-weber/followers","following_url":"https://api.github.com/users/simon-weber/following{/other_user}","gists_url":"https://api.github.com/users/simon-weber/gists{/gist_id}","starred_url":"https://api.github.com/users/simon-weber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simon-weber/subscriptions","organizations_url":"https://api.github.com/users/simon-weber/orgs","repos_url":"https://api.github.com/users/simon-weber/repos","events_url":"https://api.github.com/users/simon-weber/events{/privacy}","received_events_url":"https://api.github.com/users/simon-weber/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-21T01:19:50Z","updated_at":"2015-06-29T21:07:56Z","closed_at":"2015-06-29T20:41:08Z","body":"BeautifulSoup is initialized inside add_soup, so there's no way for clients to, for example, specify a different parser.\r\n\r\nSome ways this could be done:\r\n* accept a dict of kwargs to provide to the constructor. It looks like their init doesn't take *args, so this should cover everything.\r\n* accept a factory to delegate instance construction to client code"},"comment":{"url":"https://api.github.com/repos/hickford/MechanicalSoup/issues/comments/116846744","html_url":"https://github.com/hickford/MechanicalSoup/issues/15#issuecomment-116846744","issue_url":"https://api.github.com/repos/hickford/MechanicalSoup/issues/15","id":116846744,"user":{"login":"simon-weber","id":950506,"avatar_url":"https://avatars.githubusercontent.com/u/950506?v=3","gravatar_id":"","url":"https://api.github.com/users/simon-weber","html_url":"https://github.com/simon-weber","followers_url":"https://api.github.com/users/simon-weber/followers","following_url":"https://api.github.com/users/simon-weber/following{/other_user}","gists_url":"https://api.github.com/users/simon-weber/gists{/gist_id}","starred_url":"https://api.github.com/users/simon-weber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simon-weber/subscriptions","organizations_url":"https://api.github.com/users/simon-weber/orgs","repos_url":"https://api.github.com/users/simon-weber/repos","events_url":"https://api.github.com/users/simon-weber/events{/privacy}","received_events_url":"https://api.github.com/users/simon-weber/received_events","type":"User","site_admin":false},"created_at":"2015-06-29T21:07:56Z","updated_at":"2015-06-29T21:07:56Z","body":"Thanks! I like the choice to provide arbitrary config.\r\n\r\nI left a quick note on that commit."}}