mirror of
https://github.com/maciejpedzich/spotifyplaylistarchive.com.git
synced 2024-09-19 18:16:19 +02:00
Update playlist Markdown list URL
This commit is contained in:
parent
4598bccdc2
commit
17850f3e32
@ -8,7 +8,7 @@ export default defineEventHandler(async (event) => {
|
||||
if (!searchName || searchName.length < 3) return [];
|
||||
|
||||
const readmeFileContent = await $fetch<string>(
|
||||
'https://raw.githubusercontent.com/mackorone/spotify-playlist-archive/main/README.md'
|
||||
'https://raw.githubusercontent.com/mackorone/spotify-playlist-archive/main/playlists/index.md'
|
||||
);
|
||||
const [, playlistLinksMdList] = readmeFileContent.split(
|
||||
/## Playlists \\\([0-9]*\\\)\n\n/gm
|
||||
|
Loading…
Reference in New Issue
Block a user