{"action":"created","issue":{"url":"https://api.github.com/repos/cheeriojs/cheerio/issues/620","labels_url":"https://api.github.com/repos/cheeriojs/cheerio/issues/620/labels{/name}","comments_url":"https://api.github.com/repos/cheeriojs/cheerio/issues/620/comments","events_url":"https://api.github.com/repos/cheeriojs/cheerio/issues/620/events","html_url":"https://github.com/cheeriojs/cheerio/pull/620","id":53230421,"number":620,"title":"load from url","user":{"login":"LinusU","id":189580,"avatar_url":"https://avatars.githubusercontent.com/u/189580?v=3","gravatar_id":"","url":"https://api.github.com/users/LinusU","html_url":"https://github.com/LinusU","followers_url":"https://api.github.com/users/LinusU/followers","following_url":"https://api.github.com/users/LinusU/following{/other_user}","gists_url":"https://api.github.com/users/LinusU/gists{/gist_id}","starred_url":"https://api.github.com/users/LinusU/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LinusU/subscriptions","organizations_url":"https://api.github.com/users/LinusU/orgs","repos_url":"https://api.github.com/users/LinusU/repos","events_url":"https://api.github.com/users/LinusU/events{/privacy}","received_events_url":"https://api.github.com/users/LinusU/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-01T22:30:24Z","updated_at":"2015-01-01T22:31:34Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/cheeriojs/cheerio/pulls/620","html_url":"https://github.com/cheeriojs/cheerio/pull/620","diff_url":"https://github.com/cheeriojs/cheerio/pull/620.diff","patch_url":"https://github.com/cheeriojs/cheerio/pull/620.patch"},"body":"*Depends on #619, pull it first.*\r\n\r\nAdds support for `.load(url, cb)` which streams an html document from the web into the parser. The callback receives `(err, $)`.\r\n\r\nSample program:\r\n```js\r\nvar cheerio = require('./');\r\n\r\ncheerio.load('http://example.com/', function (err, $) {\r\n  if (err) { throw err; }\r\n\r\n  console.log($('h1').text());\r\n});\r\n```"},"comment":{"url":"https://api.github.com/repos/cheeriojs/cheerio/issues/comments/68500647","html_url":"https://github.com/cheeriojs/cheerio/pull/620#issuecomment-68500647","issue_url":"https://api.github.com/repos/cheeriojs/cheerio/issues/620","id":68500647,"user":{"login":"coveralls","id":2354108,"avatar_url":"https://avatars.githubusercontent.com/u/2354108?v=3","gravatar_id":"","url":"https://api.github.com/users/coveralls","html_url":"https://github.com/coveralls","followers_url":"https://api.github.com/users/coveralls/followers","following_url":"https://api.github.com/users/coveralls/following{/other_user}","gists_url":"https://api.github.com/users/coveralls/gists{/gist_id}","starred_url":"https://api.github.com/users/coveralls/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coveralls/subscriptions","organizations_url":"https://api.github.com/users/coveralls/orgs","repos_url":"https://api.github.com/users/coveralls/repos","events_url":"https://api.github.com/users/coveralls/events{/privacy}","received_events_url":"https://api.github.com/users/coveralls/received_events","type":"User","site_admin":false},"created_at":"2015-01-01T22:31:34Z","updated_at":"2015-01-01T22:31:34Z","body":"\n[![Coverage Status](https://coveralls.io/builds/1681268/badge)](https://coveralls.io/builds/1681268)\n\nCoverage decreased (-0.45%) when pulling **6f7da8f1815cebd2307273d56258bb1ccaa77376 on LinusU:patch-2** into **87dd8cf9923c39bd5a78dce5b333cad05ca30de5 on cheeriojs:master**.\n"}}