1👍
I figured it out I had to convert entries to a string like so
oldstring = str(entries)
removed = '<script type="text/javascript">jwplayer("video-setup").setup('
newstring = oldstring.replace(removed, "")
return newstring
it works. I guess what’s returned isn’t a string.
Source:stackexchange.com