Temporarily log link title
This commit is contained in:
3
appFn.ts
3
appFn.ts
@@ -91,11 +91,12 @@ export const appFn = (app: Probot) => {
|
|||||||
|
|
||||||
if (found) {
|
if (found) {
|
||||||
const html = await spotifyResponse.text();
|
const html = await spotifyResponse.text();
|
||||||
const { title, description } = await getMetaData({ html });
|
const { description } = await getMetaData({ html });
|
||||||
const playlistMeta = (description || '')
|
const playlistMeta = (description || '')
|
||||||
.split(' · ')
|
.split(' · ')
|
||||||
.filter((text) => text !== 'Playlist');
|
.filter((text) => text !== 'Playlist');
|
||||||
|
|
||||||
|
console.log(details);
|
||||||
details = playlistMeta.join(' · ');
|
details = playlistMeta.join(' · ');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user