Closed kevinchugh closed 8 years ago
Looks like this is because there are two h5's, one for the description, one for the college logo, the presence of college logo is tripping up this selector and causing an empty description.
I keep getting a permission error to commit the fix, so here's the fix:
change line 94 in lib/linkedin-scraper/profile.rb from desc = item.at('h5') to desc = item.search('h5').last
This will skip over the first h5 if present
You can send a PR
On Tue, Jun 9, 2015 at 12:23 PM, Kevin Chugh notifications@github.com wrote:
This always appears as empty string.
Reply to this email directly or view it on GitHub: https://github.com/yatish27/linkedin-scraper/issues/47
This always appears as empty string.