remove postal code (#17)

* fix: remove postal code
This commit is contained in:
Cullen Watson
2023-08-26 22:09:04 -05:00
committed by GitHub
parent d72d14db02
commit 33f6768ec8
6 changed files with 13 additions and 21 deletions

View File

@@ -167,9 +167,6 @@ class LinkedInScraper(Scraper):
:param metadata_card
:return: location
"""
location = Location(
country="US",
)
if metadata_card is not None:
location_tag = metadata_card.find(
"span", class_="job-search-card__location"
@@ -179,7 +176,6 @@ class LinkedInScraper(Scraper):
if len(parts) == 2:
city, state = parts
location = Location(
country="US",
city=city,
state=state,
)