Skip to content

Running example.py #28

Open
Open
@brianlane

Description

@brianlane

I'm trying to run your example.py but I'm receiving this error:

https://www.google.com/travel/flights?tfs=GhoSCjIwMjUtMDUtMjFqBRIDUEhYcgUSA0xBWBoaEgoyMDI1LTA2LTAxagUSA0xBWHIFEgNQSFhCAQFIAZgBAQ==
Traceback (most recent call last):
  File "/Users/brianlane/Public/flightsApp/flights/example.py", line 87, in <module>
    main()
  File "/Users/brianlane/Public/flightsApp/flights/example.py", line 70, in main
    result = get_flights(filter,
TypeError: get_flights() got an unexpected keyword argument 'inject_eu_cookies'

Here are my args:
python3 example.py --origin PHX --destination LAX --depart_date 2025-05-21 --return_date 2025-06-01

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions