mirror of
https://github.com/Bunsly/JobSpy.git
synced 2026-03-04 19:44:30 -08:00
FEAT: Add Glassdoor logo data if available (#167)
This commit is contained in:
committed by
GitHub
parent
d000a81eb3
commit
0988230a24
@@ -189,6 +189,7 @@ class GlassdoorScraper(Scraper):
|
||||
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,
|
||||
@@ -201,6 +202,7 @@ class GlassdoorScraper(Scraper):
|
||||
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):
|
||||
|
||||
Reference in New Issue
Block a user