Why you no scrobble Redesign Your Logo?
This commit is contained in:
parent
add9082d91
commit
608cc73b92
1 changed files with 2 additions and 1 deletions
3
index.js
3
index.js
|
@ -39,8 +39,9 @@ async function scrapeLastFMWebsiteForVideo(trackData) {
|
||||||
} catch (err) { return null; }
|
} catch (err) { return null; }
|
||||||
|
|
||||||
if (attr == null) return;
|
if (attr == null) return;
|
||||||
|
try {
|
||||||
const youtubeVideo = await GetVideoDetails(attr);
|
const youtubeVideo = await GetVideoDetails(attr);
|
||||||
|
} catch (err) { return null; }
|
||||||
|
|
||||||
return {
|
return {
|
||||||
...youtubeVideo,
|
...youtubeVideo,
|
||||||
|
|
Loading…
Reference in a new issue