Html – React: CORS Error when fetching Youtube page
I need to get the HTML markup of a YouTube video page. Here is the code: async function get_subtitles(video_id: string): Promise<string> { if (video_id.includes('https://') || video_id.includes('http://')) throw new EvalError("You provided an invalid video id. Make sure you are using the…