{"action":"created","issue":{"url":"https://api.github.com/repos/yatish27/linkedin-scraper/issues/80","repository_url":"https://api.github.com/repos/yatish27/linkedin-scraper","labels_url":"https://api.github.com/repos/yatish27/linkedin-scraper/issues/80/labels{/name}","comments_url":"https://api.github.com/repos/yatish27/linkedin-scraper/issues/80/comments","events_url":"https://api.github.com/repos/yatish27/linkedin-scraper/issues/80/events","html_url":"https://github.com/yatish27/linkedin-scraper/issues/80","id":149033135,"number":80,"title":"Scraper cannot scrape names somtimes","user":{"login":"johnwu93","id":10444402,"avatar_url":"https://avatars.githubusercontent.com/u/10444402?v=3","gravatar_id":"","url":"https://api.github.com/users/johnwu93","html_url":"https://github.com/johnwu93","followers_url":"https://api.github.com/users/johnwu93/followers","following_url":"https://api.github.com/users/johnwu93/following{/other_user}","gists_url":"https://api.github.com/users/johnwu93/gists{/gist_id}","starred_url":"https://api.github.com/users/johnwu93/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnwu93/subscriptions","organizations_url":"https://api.github.com/users/johnwu93/orgs","repos_url":"https://api.github.com/users/johnwu93/repos","events_url":"https://api.github.com/users/johnwu93/events{/privacy}","received_events_url":"https://api.github.com/users/johnwu93/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-18T03:51:02Z","updated_at":"2016-05-07T23:08:00Z","closed_at":null,"body":"Sometimes when I scrape my own profile with url=\"https://www.linkedin.com/in/johnwu93\", I am able to get my name by doing Linkedin::Profile.get_profile(url).name\r\n\r\nHowever, sometimes, this will not work and Linkedin::Profile.get_profile(url) will actually return nil. I looked at the issues and it seems that the console will output a connection error and then the function will return nil. However, for my case, the console does not putout anything. Is there a way to fix this?"},"comment":{"url":"https://api.github.com/repos/yatish27/linkedin-scraper/issues/comments/217674238","html_url":"https://github.com/yatish27/linkedin-scraper/issues/80#issuecomment-217674238","issue_url":"https://api.github.com/repos/yatish27/linkedin-scraper/issues/80","id":217674238,"user":{"login":"haerde","id":5034850,"avatar_url":"https://avatars.githubusercontent.com/u/5034850?v=3","gravatar_id":"","url":"https://api.github.com/users/haerde","html_url":"https://github.com/haerde","followers_url":"https://api.github.com/users/haerde/followers","following_url":"https://api.github.com/users/haerde/following{/other_user}","gists_url":"https://api.github.com/users/haerde/gists{/gist_id}","starred_url":"https://api.github.com/users/haerde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haerde/subscriptions","organizations_url":"https://api.github.com/users/haerde/orgs","repos_url":"https://api.github.com/users/haerde/repos","events_url":"https://api.github.com/users/haerde/events{/privacy}","received_events_url":"https://api.github.com/users/haerde/received_events","type":"User","site_admin":false},"created_at":"2016-05-07T23:08:00Z","updated_at":"2016-05-07T23:08:00Z","body":"LinkedIn sometimes blocks connections. You should use proxy or tor."}}