From 1bbd067aea4b59f6e417a56ed4794538409704e1 Mon Sep 17 00:00:00 2001 From: prahul11 Date: Wed, 25 Oct 2023 14:00:34 +0530 Subject: [PATCH] k --- naukri/jobdata_gulf_r.py | 2 +- naukri/jobdata_india.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/naukri/jobdata_gulf_r.py b/naukri/jobdata_gulf_r.py index 2a9f88b..77a57d1 100644 --- a/naukri/jobdata_gulf_r.py +++ b/naukri/jobdata_gulf_r.py @@ -108,7 +108,7 @@ class NaukriGulfJobDetailScraper: source_value2 = json_response.get('contact', {'website': ''}).get('website', '') json_data = { "Url" : jd_url, - "Job Key" : job_id, + "Job Key" : "g_" + str(job_id), # "Source Link": json_response.get('other', {'tag': ''}).get('tag','') + \ # json_response.get('contact', {'website': ''}).get('website',''), "Source Link": source_value1 if source_value1 else source_value2 if source_value2 else '', diff --git a/naukri/jobdata_india.py b/naukri/jobdata_india.py index 27b7af9..0ec8b0d 100644 --- a/naukri/jobdata_india.py +++ b/naukri/jobdata_india.py @@ -63,7 +63,7 @@ class NaukriJobDetailScraper: json_data = { "Url": url, - "Job Key": str(url.split('/')[-1]), + "Job Key": "i_"+ str(url.split('/')[-1]), "Source Link": job_details.get("applyRedirectUrl"), "Job Description": job_details.get("description"), "Role Category": job_details.get("roleCategory"),