mirror of https://github.com/Bunsly/JobSpy
include location with 3 parts
parent
81f70ff8a5
commit
f6e0a7f2f6
|
@ -278,5 +278,12 @@ class LinkedInScraper(Scraper):
|
||||||
state=state,
|
state=state,
|
||||||
country=Country.from_string(self.country),
|
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
|
return location
|
||||||
|
|
Loading…
Reference in New Issue