hello, this is my first time writing to anything on GitHub, your code really helped me out, this is why I encourage you to, instead of using the old data from Wikipedia use the official IATA data.
from what I know you can use puppeteer to feed the data from this official web.