diff --git a/src/linkedIn_easy_applier.py b/src/linkedIn_easy_applier.py index 6a4548c..8c95d8c 100644 --- a/src/linkedIn_easy_applier.py +++ b/src/linkedIn_easy_applier.py @@ -117,13 +117,12 @@ class LinkedInEasyApplier: recruiter_link = recruiter_element.get_attribute('href') return recruiter_link except Exception as e: - print(f"Errore durante l'estrazione del link del recruiter: {e}") return "" def _scroll_page(self) -> None: scrollable_element = self.driver.find_element(By.TAG_NAME, 'html') - #utils.scroll_slow(self.driver, scrollable_element, step=300, reverse=False) - #utils.scroll_slow(self.driver, scrollable_element, step=300, reverse=True) + utils.scroll_slow(self.driver, scrollable_element, step=300, reverse=False) + utils.scroll_slow(self.driver, scrollable_element, step=300, reverse=True) def _fill_application_form(self, job): while True: @@ -395,4 +394,4 @@ class LinkedInEasyApplier: sanitized_text = re.sub(r'[\x00-\x1F\x7F]', '', sanitized_text) sanitized_text = sanitized_text.replace('\n', ' ').replace('\r', '') sanitized_text = sanitized_text.rstrip(',') - return sanitized_text \ No newline at end of file + return sanitized_text