prahul11 2023-10-25 14:00:34 +05:30
parent 81664f692a
commit 1bbd067aea
2 changed files with 2 additions and 2 deletions

View File

@ -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 '',

View File

@ -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"),