Extracting all the tickers traded on an exchange.

I am looking to get a script that gives me all the tickers being traded on stock exchanges in US and Canada. I want it to repeat it for each of the years 2006-2021.

Answers