The booking bot supports randomization through dot (.) notation in various parameters. While the interface via CLI or .env remains the same, dot values provide dynamic randomization capabilities.
-d). = Any random date in the futurex,. = Date x for outbound, random return date.,y = Random outbound date, date y for returnExamples:
# Any random future date (one-way)
-d .
# Specific outbound (2024-12-25), random return
-d 2024-12-25,.
# Random outbound, specific return (2024-12-31)
-d .,2024-12-31
-p). = One random passenger type.,., = Three random passenger typesa,a,. = Two adults and one random passenger type2. = Two random passengers of the same typeExamples:
# One random passenger
-p .
# Three random passengers
-p .,.,.
# Two adults + random third passenger
-p a,a,.
# Two random passengers of same type
-p 2.
# Mix of specific and random
-p a,c,.,. # adult, child, two random
-t). = Random destination from London (default origin)xxx,. = Origin xxx with random destination .,xxx = Random origin with destination xxxxx = Any station in country with 2-letter country code (e.g., fr, be, nl)Examples:
# Random destination from London
-t .
# Paris origin, random destination
-t par,.
# Random origin, Brussels destination
-t .,bru
# Any French station (random origin-destination within France)
-t fr
# London to any Belgian station
-t lon,be
# Any Dutch station to Paris
-t nl,par
-c). = Random travel class (STD, PLUS, PREMIER)The same dot notation works in .env files:
DATES=.
PASSENGERS=a,a,.
CONFIG_OD=.
CLASS=.
2.) apply the count to the randomized selection