Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App no longer working #10

Open
Grelo4ka opened this issue Jun 17, 2022 · 0 comments
Open

App no longer working #10

Grelo4ka opened this issue Jun 17, 2022 · 0 comments

Comments

@Grelo4ka
Copy link

Grelo4ka commented Jun 17, 2022

It looks like Google has changed the interface and the app is not working. I get the following message when I try to execute the command python3 search.py --from "YUL" --to "CDG" --start "2022-09-10" --end "2022-09-20" --stops 2 --passengers 2 --cheapest:

selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"xpath","selector":"div/div[1]/div[2]/div[1]/div[1]/div[6]/div[1]"}
  (Session info: headless chrome=102.0.5005.115)

I've checked the URL that the app queries: it's https://www.google.ca/flights#flt=YUL.CDG.2022-09-10*CDG.YUL.2022-09-20;s:2*2;px:2;t:f
Sadly, it does not appear to be correct....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant