jonathanjordan21 commited on
Commit
cfabcfe
·
verified ·
1 Parent(s): 4b75366

Update extract.py

Browse files
Files changed (1) hide show
  1. extract.py +1 -1
extract.py CHANGED
@@ -121,7 +121,7 @@ def scrape_vehicle(driver):
121
  return data_kendaraan, total_tagihan, rincians_pkb, rincians_swd
122
 
123
 
124
- def get_vehicle_info(plate_number: str):
125
  # Configure headless Chrome
126
  options = webdriver.ChromeOptions()
127
  options.add_argument("--headless")
 
121
  return data_kendaraan, total_tagihan, rincians_pkb, rincians_swd
122
 
123
 
124
+ def get_vehicle_info(driver, plate_number: str):
125
  # Configure headless Chrome
126
  options = webdriver.ChromeOptions()
127
  options.add_argument("--headless")