httptest::set_requester(
function(response){
httptest::gsub_request(response, "https\\://fantasysports.yahooapis.com/fantasy/v2/", "api/")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.