Nguyen Quang Truong commited on
Commit
6d62104
·
1 Parent(s): 98d3ed7
scrape_data_indeed/__pycache__/utils.cpython-310.pyc CHANGED
Binary files a/scrape_data_indeed/__pycache__/utils.cpython-310.pyc and b/scrape_data_indeed/__pycache__/utils.cpython-310.pyc differ
 
scrape_data_indeed/tempCodeRunnerFile.py ADDED
@@ -0,0 +1 @@
 
 
1
+ https://vn.indeed.com/jobs
scrape_data_indeed/utils.py CHANGED
@@ -52,7 +52,7 @@ def search(driver, job, location):
52
  search_box_location.send_keys(location)
53
 
54
  search_box_location.send_keys(Keys.RETURN)
55
- driver.implicitly_wait(5)
56
 
57
 
58
 
@@ -97,8 +97,7 @@ def info_job(driver):
97
  pass
98
 
99
  for element in info_jobs:
100
-
101
- element.click()
102
  try:
103
  today = datetime.today()
104
  date_post= element.find_element(By.XPATH, './/span[@data-testid="myJobsStateDate"]').text
 
52
  search_box_location.send_keys(location)
53
 
54
  search_box_location.send_keys(Keys.RETURN)
55
+ driver.implicitly_wait(8)
56
 
57
 
58
 
 
97
  pass
98
 
99
  for element in info_jobs:
100
+ element.click()
 
101
  try:
102
  today = datetime.today()
103
  date_post= element.find_element(By.XPATH, './/span[@data-testid="myJobsStateDate"]').text