I have a list of strings with companies websites.
This is an example: ['www.apple.com/about', 'go-sharp.ai/services', 'http.titos.com.br']
I need to replace them with homepage.
The result must be: ['www.apple.com','go-sharp.ai','http.titos.com.br']
Could you suggest the best way to do it, please (may be some API).
Thank you for your time!