This code grabs all the cancelled flight information from https://www.britishairways.com/rtad/travel/public/en_gb

Get a list of cancelled flights

$(‘tr.cancelled’).each(function() {
console.log($(this).children(‘td[headers=flight-header]’).text(), “-“, $(this).children(‘td[headers=from-header]’).text(), “-“, $(this).children(‘td[headers=to-header]’).text(), “- DEP:”, $(this).children(‘td[headers=dep-time-header]’).text().replace(“26 Feb”, ” 26 Feb”))
});