Update jst_ph_search.py
parent
44a53d2cd0
commit
d1d606894b
|
@ -1,7 +1,7 @@
|
||||||
import requests
|
import requests
|
||||||
from math import ceil
|
from math import ceil
|
||||||
from csv import DictWriter
|
from csv import DictWriter
|
||||||
|
from time import sleep
|
||||||
column = ["jobid", "Company", "Country Code", "Location", "Salary", "Title"]
|
column = ["jobid", "Company", "Country Code", "Location", "Salary", "Title"]
|
||||||
|
|
||||||
|
|
||||||
|
@ -47,6 +47,7 @@ def ph_search(searchfilename):
|
||||||
}
|
}
|
||||||
|
|
||||||
while current_page<= total_pages :
|
while current_page<= total_pages :
|
||||||
|
sleep(2)
|
||||||
print(f'{current_page} of {total_pages}')
|
print(f'{current_page} of {total_pages}')
|
||||||
query_params = {
|
query_params = {
|
||||||
"siteKey": "PH-Main",
|
"siteKey": "PH-Main",
|
||||||
|
|
Loading…
Reference in New Issue