Skip to content

Commit af42b60

Browse files
Merge pull request #676 from lalalaurentiu/main
Add SSL verification disablement for KPMG and Segula scraper requests
2 parents 1cf5b68 + 91e2b63 commit af42b60

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

sites/kpmg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
scraper = Scraper()
1717
scraper.set_headers(headers)
1818

19-
jobs = scraper.post(apiUrl, json.dumps(data)).json().get("Results") or []
19+
jobs = scraper.post(apiUrl, json.dumps(data), verify=False).json().get("Results") or []
2020

2121
company = {"company": "KPMG"}
2222
finalJobs = list()

sites/segula.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
scraper = Scraper()
2222
scraper.set_headers(headers)
23-
response = scraper.post(url, data=payload)
23+
response = scraper.post(url, data=payload, verify=False)
2424

2525
for job in response.json()["data"]["jobs"]:
2626
city = translate_city(remove_diacritics(job["city"]))

0 commit comments

Comments
 (0)