From 7b52d4cde6fa82881c60eb3027f7d3143d7f67e5 Mon Sep 17 00:00:00 2001 From: Larry Chiem Date: Tue, 15 Jul 2025 14:21:14 -0700 Subject: [PATCH] this is a temporary fix --- linkedineasyapply.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/linkedineasyapply.py b/linkedineasyapply.py index 1990324e..ca23bb26 100644 --- a/linkedineasyapply.py +++ b/linkedineasyapply.py @@ -410,10 +410,10 @@ def apply_jobs(self, location): try: ## patch to incorporate new 'verification' crap by LinkedIn # job_title = job_tile.find_element(By.CLASS_NAME, 'job-card-list__title').text # original code - job_title_element = job_tile.find_element(By.CLASS_NAME, 'job-card-list__title--link') + job_title_element = job_tile.find_element(By.CLASS_NAME, 'job-card-job-posting-card-wrapper__card-link') job_title = job_title_element.find_element(By.TAG_NAME, 'strong').text - link = job_tile.find_element(By.CLASS_NAME, 'job-card-list__title--link').get_attribute('href').split('?')[0] + link = job_tile.find_element(By.CLASS_NAME, 'job-card-job-posting-card-wrapper__card-link').get_attribute('href').split('?')[0] except: pass try: @@ -457,7 +457,7 @@ def apply_jobs(self, location): while retries < max_retries: try: # TODO: This is throwing an exception when running out of jobs on a page - job_el = job_tile.find_element(By.CLASS_NAME, 'job-card-list__title--link') + job_el = job_tile.find_element(By.CLASS_NAME, 'job-card-job-posting-card-wrapper__card-link') job_el.click() break except StaleElementReferenceException: