Update linkedIn_job_manager.py
This commit is contained in:
parent
2495990395
commit
e5bcebfb8f
@ -7,7 +7,7 @@ from pathlib import Path
|
|||||||
from selenium.common.exceptions import NoSuchElementException
|
from selenium.common.exceptions import NoSuchElementException
|
||||||
from selenium.webdriver.common.by import By
|
from selenium.webdriver.common.by import By
|
||||||
import src.utils as utils
|
import src.utils as utils
|
||||||
from job import Job
|
from src.job import Job
|
||||||
from src.linkedIn_easy_applier import LinkedInEasyApplier
|
from src.linkedIn_easy_applier import LinkedInEasyApplier
|
||||||
import json
|
import json
|
||||||
|
|
||||||
@ -217,4 +217,4 @@ class LinkedInJobManager:
|
|||||||
title_blacklisted = any(word in job_title_words for word in self.title_blacklist)
|
title_blacklisted = any(word in job_title_words for word in self.title_blacklist)
|
||||||
company_blacklisted = company.strip().lower() in (word.strip().lower() for word in self.company_blacklist)
|
company_blacklisted = company.strip().lower() in (word.strip().lower() for word in self.company_blacklist)
|
||||||
link_seen = link in self.seen_jobs
|
link_seen = link in self.seen_jobs
|
||||||
return title_blacklisted or company_blacklisted or link_seen
|
return title_blacklisted or company_blacklisted or link_seen
|
||||||
|
Loading…
Reference in New Issue
Block a user