{"action":"created","issue":{"url":"https://api.github.com/repos/hadley/rvest/issues/134","repository_url":"https://api.github.com/repos/hadley/rvest","labels_url":"https://api.github.com/repos/hadley/rvest/issues/134/labels{/name}","comments_url":"https://api.github.com/repos/hadley/rvest/issues/134/comments","events_url":"https://api.github.com/repos/hadley/rvest/issues/134/events","html_url":"https://github.com/hadley/rvest/issues/134","id":127757874,"number":134,"title":"[Question] use rvest with json pages?","user":{"login":"happyshows","id":3208181,"avatar_url":"https://avatars.githubusercontent.com/u/3208181?v=3","gravatar_id":"","url":"https://api.github.com/users/happyshows","html_url":"https://github.com/happyshows","followers_url":"https://api.github.com/users/happyshows/followers","following_url":"https://api.github.com/users/happyshows/following{/other_user}","gists_url":"https://api.github.com/users/happyshows/gists{/gist_id}","starred_url":"https://api.github.com/users/happyshows/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/happyshows/subscriptions","organizations_url":"https://api.github.com/users/happyshows/orgs","repos_url":"https://api.github.com/users/happyshows/repos","events_url":"https://api.github.com/users/happyshows/events{/privacy}","received_events_url":"https://api.github.com/users/happyshows/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-20T18:53:23Z","updated_at":"2016-06-15T21:50:13Z","closed_at":"2016-06-15T21:50:13Z","body":"Hi,\r\n\r\nI'm trying to scrap some data on a stash server on our intranet. However, the html_node() function doesn't work as the page does not seem to be in html. Not an issue in chrome though.\r\nError: Current page doesn't appear to be html.\r\n\r\nThen I ran httr::headers(html_session(url)) and got the following info:\r\n$server\r\n[1] \"Apache-Coyote/1.1\"\r\n\r\n$`x-arequestid`\r\n[1] \"@19C0U7Dx763x8310199x0\"\r\n\r\n$`x-asen`\r\n[1] \"SEN-3695001\"\r\n\r\n$`cache-control`\r\n[1] \"no-cache, no-transform\"\r\n\r\n$vary\r\n[1] \"X-AUSERNAME,Accept-Encoding\"\r\n\r\n$`content-encoding`\r\n[1] \"gzip\"\r\n\r\n$`transfer-encoding`\r\n[1] \"chunked\"\r\n\r\n$`x-content-type-options`\r\n[1] \"nosniff\"\r\n\r\n$`content-type`\r\n[1] \"application/json;charset=UTF-8\"\r\n\r\n$date\r\n[1] \"Wed, 20 Jan 2016 18:43:50 GMT\"\r\n\r\nattr(,\"class\")\r\n[1] \"insensitive\" \"list\"\r\n\r\nI know jsonlite+GET function might get me the content, but I need to use rvest for the authentication portion.\r\n\r\nPlease advise\r\n\r\nthanks. "},"comment":{"url":"https://api.github.com/repos/hadley/rvest/issues/comments/226330799","html_url":"https://github.com/hadley/rvest/issues/134#issuecomment-226330799","issue_url":"https://api.github.com/repos/hadley/rvest/issues/134","id":226330799,"user":{"login":"hadley","id":4196,"avatar_url":"https://avatars.githubusercontent.com/u/4196?v=3","gravatar_id":"","url":"https://api.github.com/users/hadley","html_url":"https://github.com/hadley","followers_url":"https://api.github.com/users/hadley/followers","following_url":"https://api.github.com/users/hadley/following{/other_user}","gists_url":"https://api.github.com/users/hadley/gists{/gist_id}","starred_url":"https://api.github.com/users/hadley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hadley/subscriptions","organizations_url":"https://api.github.com/users/hadley/orgs","repos_url":"https://api.github.com/users/hadley/repos","events_url":"https://api.github.com/users/hadley/events{/privacy}","received_events_url":"https://api.github.com/users/hadley/received_events","type":"User","site_admin":false},"created_at":"2016-06-15T21:50:13Z","updated_at":"2016-06-15T21:50:13Z","body":"Basically duplicate of #96 - rvest currently lacks a method that allows you to extract arbitrary content"}}
{"actor":{"display_login":"hadley"}}