From 471b2875e5039ea3e555046abd54b266f4c40e47 Mon Sep 17 00:00:00 2001 From: prahul11 Date: Tue, 7 Nov 2023 14:41:57 +0530 Subject: [PATCH] k --- jobstreet/jst_malay_detail.py | 2 +- jobstreet/jst_sg_detail.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/jobstreet/jst_malay_detail.py b/jobstreet/jst_malay_detail.py index 2c23b5a..f4505c7 100644 --- a/jobstreet/jst_malay_detail.py +++ b/jobstreet/jst_malay_detail.py @@ -93,7 +93,7 @@ def jstMalayJobDetailScraper(search_file, jd_file): "Job Title" : result['data']['jobDetail'].get('header', {'jobTitle' : ""}).get('jobTitle'), "Formatted Location Full": ', '.join(xy.get('location','') for xy in result['data']['jobDetail'].get('location', [])), "Salary Detail" : result['data']['jobDetail'].get('header', {'salary', ''}).get('salary'), - "Job Key": result['data']['jobDetail'].get('id'), + "Job Key": "my_"+ result['data']['jobDetail'].get('id'), "Source Link" : result['data']['jobDetail'].get('applyUrl',{'url':''}).get('url'), "Role Category":"", "Job Industry": job_industry, diff --git a/jobstreet/jst_sg_detail.py b/jobstreet/jst_sg_detail.py index 63ae7bd..59a1eec 100644 --- a/jobstreet/jst_sg_detail.py +++ b/jobstreet/jst_sg_detail.py @@ -93,7 +93,7 @@ def jstMalayJobDetailScraper(search_file, jd_file): "Job Title" : result['data']['jobDetail'].get('header', {'jobTitle' : ""}).get('jobTitle'), "Formatted Location Full": ', '.join(xy.get('location','') for xy in result['data']['jobDetail'].get('location', [])), "Salary Detail" : result['data']['jobDetail'].get('header', {'salary', ''}).get('salary'), - "Job Key": result['data']['jobDetail'].get('id'), + "Job Key": "sg_" + result['data']['jobDetail'].get('id'), "Source Link" : result['data']['jobDetail'].get('applyUrl',{'url':''}).get('url'), "Role Category":"", "Job Industry": job_industry,