Skip to content

Commit

Permalink
FEAT: Add Glassdoor logo data if available (#167)
Browse files Browse the repository at this point in the history
  • Loading branch information
lluissalord authored Jul 16, 2024
1 parent d000a81 commit 0988230
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/jobspy/scrapers/glassdoor/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ def _process_job(self, job_data):
except:
description = None
company_url = f"{self.base_url}Overview/W-EI_IE{company_id}.htm"
company_logo = job_data["jobview"].get("overview", {}).get("squareLogoUrl", None)
return JobPost(
id=str(job_id),
title=title,
Expand All @@ -201,6 +202,7 @@ def _process_job(self, job_data):
is_remote=is_remote,
description=description,
emails=extract_emails_from_text(description) if description else None,
logo_photo_url=company_logo,
)

def _fetch_job_description(self, job_id):
Expand Down

0 comments on commit 0988230

Please sign in to comment.