diff --git a/index.js b/index.js index 7598a34..f0709dd 100644 --- a/index.js +++ b/index.js @@ -39,8 +39,9 @@ async function scrapeLastFMWebsiteForVideo(trackData) { } catch (err) { return null; } if (attr == null) return; - + try { const youtubeVideo = await GetVideoDetails(attr); + } catch (err) { return null; } return { ...youtubeVideo,