headrun / SWIFT

2 stars 0 forks source link

United (MileagePlus) - Crawler being returned flight number with Space #42

Open malla794 opened 4 years ago

malla794 commented 4 years ago

Flight number should not return with space (" ") Example: For the below request, on website flight displayed as LH 755 and LH 906. Crawler are returning the same flight numbers. But crawler should remove space return flight number as LH755 and LH906

Search request -

{
    "airlines": [
        "UA"
    ],
    "arrivals": [
        "LHR"
    ],
    "cabins": [
        "ECONOMY"
    ],
    "departure_date": {
        "flexibility": 0,
        "when": "2020-09-15"
    },
    "departures": [
        "BLR"
    ],
    "max_stops": 1,
    "passengers": 1,
    "currencies": [
        "USD"
    ]
}
malla794 commented 4 years ago

image

Preethi266 commented 4 years ago

@nigitha1995 The data is fine. Now the spaces are removed for the fight number. image