mirror of
https://github.com/maciejpedzich/playlist-entry-validator.git
synced 2024-11-27 16:05:48 +01:00
Temporarily log link title
This commit is contained in:
parent
a981c5854c
commit
deffd1fb5f
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(' · ');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user