Skip to content

App no longer working #10

@Grelo4ka

Description

@Grelo4ka

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....

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions