From d1d606894b880fd8251b1ebd1bdc1aa8b9f84781 Mon Sep 17 00:00:00 2001 From: prahul11 Date: Wed, 1 Nov 2023 12:33:44 +0530 Subject: [PATCH] Update jst_ph_search.py --- jobstreet/jst_ph_search.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jobstreet/jst_ph_search.py b/jobstreet/jst_ph_search.py index 6a4ecb1..c0ef43a 100644 --- a/jobstreet/jst_ph_search.py +++ b/jobstreet/jst_ph_search.py @@ -1,7 +1,7 @@ import requests from math import ceil from csv import DictWriter - +from time import sleep column = ["jobid", "Company", "Country Code", "Location", "Salary", "Title"] @@ -47,6 +47,7 @@ def ph_search(searchfilename): } while current_page<= total_pages : + sleep(2) print(f'{current_page} of {total_pages}') query_params = { "siteKey": "PH-Main",