Skip to content

Commit 4f9fa0d

Browse files
committed
Reverted Spotify Content URL to previous version (with a slight modification).
1 parent 63fccfd commit 4f9fa0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ <h2>Analysis Result:</h2>
9898
YouTubePlaylist: /(https?:\/\/)?((?:www|m)\.)?youtu(\.be|be\.com)\/?.*?list=([0-9A-Za-z_-]+)/i,
9999
YouTubeUser: /(https?:\/\/)?((?:www|m)\.)?youtu(\.be|be\.com)\/?.*@([^\/?#=]+).*/i,
100100
VimeoVideo: /(https?:\/\/)?(\w+\.)?vimeo.com\/(\d+)/i,
101-
SpotifyContent: /(?:https?:\/\/)?(?:open\.)?spotify(?:\.com)?[:\/](album|artist|episode|playlist|show|track)[:\/]([^ \/?&#=]+)([\/\?\S+])?/i,
101+
SpotifyContent: /(?:https?:\/\/)?(?:\w+\.)?spotify.com\/.*(track|episode|playlist|album|artist|show)\/([^\/?#=]+)\S*/i,
102102
SpotifyUri: /spotify:(album|artist|episode|playlist|show|track):([^ \/?&#=]+)/i
103103
};
104104

0 commit comments

Comments
 (0)