flight-analysis
flight-analysis copied to clipboard
Automatic opening of Chrome browser
Hello,
I tried the code, it works. But in the process involves the opening of a Chrome browser and the necessity to click on a button to accept cookies (so, a manual operation). Another issue is the absence of data in the "Price ($)" and "CO2 Emission (kg)" columns.
Regards, Kevin
I add this before scrapping to solve te probem
driver.get("https://www.google.com/")
driver.add_cookie({"name": "CONSENT", "value": "YES+", "domain": ".google.com", "path": "/"})
but still can't get any scrap