mirror of
https://github.com/maciejpedzich/playlist-entry-validator.git
synced 2024-11-27 16:05:48 +01:00
Include page description in link text
This commit is contained in:
parent
66531d5b54
commit
87b7723e32
4
appFn.ts
4
appFn.ts
@ -133,7 +133,7 @@ const appFn: ApplicationFunction = (app: Probot, { getRouter }) => {
|
|||||||
if (found) {
|
if (found) {
|
||||||
const html = await spotifyResponse.text();
|
const html = await spotifyResponse.text();
|
||||||
const {
|
const {
|
||||||
author: authorUrl,
|
// author: authorUrl,
|
||||||
description,
|
description,
|
||||||
title
|
title
|
||||||
} = await getMetaData({
|
} = await getMetaData({
|
||||||
@ -176,7 +176,7 @@ const appFn: ApplicationFunction = (app: Probot, { getRouter }) => {
|
|||||||
// .concat(authorName as string);
|
// .concat(authorName as string);
|
||||||
|
|
||||||
// details = playlistMeta.join(' · ');
|
// details = playlistMeta.join(' · ');
|
||||||
details = title!;
|
details = title! + '· ' + description;
|
||||||
}
|
}
|
||||||
|
|
||||||
numProcessedEntries++;
|
numProcessedEntries++;
|
||||||
|
Loading…
Reference in New Issue
Block a user