chore: id added for JobPost schema (#152)

This commit is contained in:
fasih hussain
2024-05-20 21:45:52 +05:00
committed by GitHub
parent 1ffdb1756f
commit 08d63a87a2
6 changed files with 16 additions and 0 deletions

View File

@@ -190,6 +190,7 @@ class GlassdoorScraper(Scraper):
description = None
company_url = f"{self.base_url}Overview/W-EI_IE{company_id}.htm"
return JobPost(
id=str(job_id),
title=title,
company_url=company_url if company_id else None,
company_name=company_name,