Skip to content

Unexpected date query behaviour #21

Open
@TijlJanssens

Description

@TijlJanssens

Hello and thank you for sharing your code!

I am trying to perform following query:

example.py --origin BRU --destination SGN --depart_date 2025-06-23 --return_date 2025-07-19 --max_stops 2 --inject_eu_cookies

But this one fails. (link that is returned is OK)

When I try

example.py --origin BRU --destination SGN --depart_date 2025-6-23 --return_date 2025-7-19 --max_stops 2 --inject_eu_cookies
(so removing the 0 in front of the month in depart_date and return_date)
weirdly enough the code passes but it gives results for 2025-03-28 to 2024-04-03

EDIT: When I change the destination to HAN, the first query does suddenly work.

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