How to import options data from yahoo finance with G.sheets?

i have a google sheet, and imported optionsdata with a script. In the past i did it via the Yahoo API like this: UrlFetchApp.fetch(“” + ticker)

But in 2023? Yahoo closed the usage of their API. How can i import options data to my sheet?
Thank you for any feedback

Google sheets still works for me to import stock prices. I don’t know about options.

For Stock prices, Googlefinance works fine. But Google delivers no Options Data.

I gave up on downloading option prices from Yahoo! I now use the CBOE

The Captain