parent
81664f692a
commit
1bbd067aea
|
@ -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 '',
|
||||
|
|
|
@ -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"),
|
||||
|
|
Loading…
Reference in New Issue