spinlud / py-linkedin-jobs-scraper

MIT License
307 stars 84 forks source link

element on linkedin website changed name resulting in scraper failing with no jobs found #38

Closed igncampa closed 1 year ago

igncampa commented 1 year ago
        # Wait container
        try:
            WebDriverWait(driver, 5).until(ec.presence_of_element_located((By.CSS_SELECTOR, Selectors.container)))
        except BaseException as e:
            warn(tag, 'No jobs found, skip')
            return

tracked down the error to the above lines in authenticated_strategy.py. looks like linkedin changed the elements classname.

igncampa commented 1 year ago

I see you fixed the issue in your latest commit. Also I didn't mean to include a7c47f0.