Closed AntoineAwaida closed 1 year ago
Hello, thank you for bringing up this issue!
This is not something that I've encountered yet, so I'll have to do some research on the consent issue and get back to you. The first thing I would check is whether ChromeDriver is updated to the most recent version (this changes about every month or so).
A couple of questions:
Hey there, thanks for your answer !
Actually I've found what was going wrong with the URL, in the case of your package and in case of any Google Flight-related package as well.
I'm located in France, Europe, so the date format is DD-MM-YYYY by default here, instead of YYYY-MM-DD. Interestingly, Google Flights' website in Europe expects a DD-MM-YYYY date format in the query fields of the URL.
A quick fix was to change the language settings of my PC to US English to make this package. Obviously there's maybe other solutions as well.
Hope this will help future European users !
I'm glad you were able to figure the issue out! I hadn't considered the idea of Google Flights modifying its date format according to Europe/US, I'll look into adding a feature to make this easier!
Thanks a lot @AntoineAwaida ! Did you find a fix for the consent issue? (Edit: Other than just programatically accepting it every time)
Hi! This does not work for me. I changed my laptop and Chrome language setting to US English and the laptop date format to YYYY-mm-dd, but it still asks me for consent for every inquiry.
Hi,
I've been trying to use your very useful package according to the sort tutorial, but I encounter two issues :
Chrome is constantly asking for consent first
Even when I agree, then it successfully redirects to the google flight link, but this link just brings me on the google flight homepage. Note that even in the regular Chrome, it does as well. However, on other browsers (Vivaldi/Safari), the link works successfully and brings me to the actual flights list for the request.
I'm also on MacOS, if this can make any difference.