ew 2 ewlectric boogaloo
This commit is contained in:
parent
29e75a6905
commit
adafe5e44a
1 changed files with 3 additions and 2 deletions
3
index.js
3
index.js
|
@ -40,8 +40,9 @@ async function scrapeLastFMWebsiteForVideo(trackData) {
|
|||
|
||||
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