QR 3704 then LA 5782 at Barcelona
Bari → Barcelona → Santiago de Compostela
Timetable, Barcelona time
16:50QR 3704 from Bari at the gate
16:00LA 5782 to Santiago de Compostela leaves the gate
23 h 10 apart on the timetable, overnight
LA 5782 leaves 23 h 10 after QR 3704 arrives on the timetable: more than half a day, so not a connection we count.