Skip to content

Commit

Permalink
sps testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Lioncat6 committed Jun 20, 2024
1 parent d31700b commit 2907804
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/search.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ function lookup() {
if (query != "") {
const uuidPattern = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;
if(query.includes("https://open.spotify.com/artist/")) {
const match = spotifyUrl.match(/\/artist\/([^/?]+)/);
const match = query.match(/\/artist\/([^/?]+)/);
if (match) {
const spfId = match[1];
fetchSpotifyArtist(spfId)
Expand Down

0 comments on commit 2907804

Please sign in to comment.