yatish27 / linkedin-scraper

Scrapes the public profile of the linkedin page
MIT License
554 stars 221 forks source link

profile.rb:258:in `block in get_company_details': undefined method `[]' for nil:NilClass (NoMethodError) #86

Closed bricemaurin closed 8 years ago

bricemaurin commented 8 years ago

I get this error when trying to get linkedin data

/usr/local/var/rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/linkedin-scraper-2.1.0/lib/linkedin-scraper/profile.rb:258:in `block in get_company_details': undefined method `[]' for nil:NilClass (NoMethodError)
yatish27 commented 8 years ago

looking into it.

yatish27 commented 8 years ago

@bricemaurin Fixed check 2.1.1 and master

bricemaurin commented 8 years ago

Thanks ;)