I am working on my first investment algorithm, and I am using the following list of stock symbols and company names: https://public.acho.io/embed/9bffe75f11a5a99349359c98c74b9b0ba41cf563b351ffbb7ecc19614706f827861e5171a35b6f8296aa1d43a7558cfb978ae74ac969094d1c991bf7d8c8ca9f (the original of which is available here: https://unibit.ai/api/docs/V2.0/stock_coverage).
The problem that I am encountering is that a large part of the symbols that are listed in this file do not exist on Yahoo Finance. This leads to a lot of unnecessary processing, because the yfinance API runs into a lot of errors, which are handled recursively.
My question: is there any quick way in which I can convert the name of a company into the Yahoo stock symbol? e.g. Royal Dutch Shell plc --> RDSA.AS
Thanks in advance!