Update linkedIn_easy_applier.py
This commit is contained in:
parent
7b7214b238
commit
c51aeca99a
@ -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
|
||||
return sanitized_text
|
||||
|
Loading…
Reference in New Issue
Block a user