linkedtales / scrapedin

LinkedIn Scraper (currently working 2020)
Apache License 2.0
597 stars 174 forks source link

Show more button click overlaps with header #161

Closed Ashesh3 closed 1 year ago

Ashesh3 commented 3 years ago

In some rare cases, when the planets align just the right way, Clicking the SHOW_MORE_ABOUT button will actually redirect the page to LinkedIn jobs page.

image

In this case, this selector

{
    id: 'SHOW_MORE_ABOUT',
    selector: '#line-clamp-show-more-button'
  }

Makes the browser click the following element image

Which when is in puppeteer view, overlaps with the Jobs link on the header.

image

This redirects the whole page to https://www.linkedin.com/jobs/ which makes the whole scraping process fail since it can't find any selectors in the jobs page.