diff --git a/pyproject.toml b/pyproject.toml index 12a694d..08272d6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "python-jobspy" -version = "1.1.27" +version = "1.1.28" description = "Job scraper for LinkedIn, Indeed, Glassdoor & ZipRecruiter" authors = ["Zachary Hampton ", "Cullen Watson "] homepage = "https://github.com/Bunsly/JobSpy" diff --git a/src/jobspy/scrapers/linkedin/__init__.py b/src/jobspy/scrapers/linkedin/__init__.py index 5fcc696..67d2898 100644 --- a/src/jobspy/scrapers/linkedin/__init__.py +++ b/src/jobspy/scrapers/linkedin/__init__.py @@ -278,5 +278,12 @@ class LinkedInScraper(Scraper): state=state, country=Country.from_string(self.country), ) + elif len(parts) == 3: + city, state, country = parts + location = Location( + city=city, + state=state, + country=Country.from_string(country), + ) return location