Skip to content

What's New

JC edited this page Jul 14, 2024 · 2 revisions

v1 – What's New

🍕 Check the status board →

Hey there! I've been busy over the past few weeks. But here's the update!

  • Preflights – Google uses server-side rendering. To prevent cold starts, we'll need to pull an initial request to warm Google up 🔥
    • Fixes: "data not loaded in request time"
  • Cookies – New cookies API to bypass EU consent screens.
  • dangerously_allow_looping_last_item – In some rare cases, looping into the last item would cause an unexpected exit with no error message. To disable this, use this option.
  • Language & Currency – You can now set the display language and currency.
  • Prices – Prices are now available.
# ...in a nutshell:
get_flights(
    filter,
    dangerously_allow_looping_last_item=True,
    cookies=Cookies.new().to_dict(),
    currency="USD",
    language="en"
)

...and we're still working on:

  • Multi-leg flight info for every leg
  • Bags (up to 1?)
Clone this wiki locally