javascript – Is there a way to remove quotation marks (Node.js Web Application)
Code:
async function watchAnime(episode_id) {
res = await axios.get(`https://www1.gogoanime.cm/${episode_id}`)
const body = await res.data;
$ = cheerio.load(body)
src=$('div.play-video > iframe').attr('src')
iframe_result = src
return await (iframe_result)
}
Output :
"//gogoplay1.com/streaming.php?id=MTU1MzEy&title=B%3A+The+Beginning+Succession+%28Dub%29+Episode+6"
Image : i.stack.imgur.com/yeM0C.png
So its there a way to remove the quotation marks from the output URL??
Read more here: Source link