{"action":"closed","issue":{"url":"https://api.github.com/repos/yatish27/linkedin-scraper/issues/67","labels_url":"https://api.github.com/repos/yatish27/linkedin-scraper/issues/67/labels{/name}","comments_url":"https://api.github.com/repos/yatish27/linkedin-scraper/issues/67/comments","events_url":"https://api.github.com/repos/yatish27/linkedin-scraper/issues/67/events","html_url":"https://github.com/yatish27/linkedin-scraper/issues/67","id":124557608,"number":67,"title":"Return Status code from page","user":{"login":"deuxio","id":4593634,"avatar_url":"https://avatars.githubusercontent.com/u/4593634?v=3","gravatar_id":"","url":"https://api.github.com/users/deuxio","html_url":"https://github.com/deuxio","followers_url":"https://api.github.com/users/deuxio/followers","following_url":"https://api.github.com/users/deuxio/following{/other_user}","gists_url":"https://api.github.com/users/deuxio/gists{/gist_id}","starred_url":"https://api.github.com/users/deuxio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deuxio/subscriptions","organizations_url":"https://api.github.com/users/deuxio/orgs","repos_url":"https://api.github.com/users/deuxio/repos","events_url":"https://api.github.com/users/deuxio/events{/privacy}","received_events_url":"https://api.github.com/users/deuxio/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-01T19:07:14Z","updated_at":"2016-01-09T04:41:32Z","closed_at":"2016-01-09T04:41:32Z","body":"As scraping linkedin may fail for various reasons, you should probably return the page status. Something like this, but you may have a better idea.\r\n```ruby\r\n@status = http_client.head( url ).code.to_i\r\n```"}}