ew 2 ewlectric boogaloo
This commit is contained in:
parent
29e75a6905
commit
adafe5e44a
1 changed files with 3 additions and 2 deletions
5
index.js
5
index.js
|
@ -39,9 +39,10 @@ async function scrapeLastFMWebsiteForVideo(trackData) {
|
|||
} catch (err) { return null; }
|
||||
|
||||
if (attr == null) return;
|
||||
|
||||
|
||||
let youtubeVideo;
|
||||
try {
|
||||
const youtubeVideo = await GetVideoDetails(attr);
|
||||
youtubeVideo = await GetVideoDetails(attr);
|
||||
} catch (err) { return null; }
|
||||
|
||||
return {
|
||||
|
|
Loading…
Reference in a new issue