Include page description in link text

This commit is contained in:
Maciej Pędzich 2024-11-23 20:20:49 +01:00
parent 66531d5b54
commit 87b7723e32
Signed by: maciejpedzich
GPG Key ID: CE4A303D84882F0D

View File

@ -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++;