diff --git a/internal/detector/detector.go b/internal/detector/detector.go index fcf811b..63b26cc 100644 --- a/internal/detector/detector.go +++ b/internal/detector/detector.go @@ -13,7 +13,7 @@ var patterns = []*regexp.Regexp{ regexp.MustCompile(`https?://(?:open\.)?spotify\.com/(?:track|album|artist|playlist)/[a-zA-Z0-9]+`), regexp.MustCompile(`https?://spoti\.fi/[a-zA-Z0-9]+`), regexp.MustCompile(`https?://(?:www\.)?(?:youtube\.com/watch\?v=|youtu\.be/|music\.youtube\.com/watch\?v=)[a-zA-Z0-9_-]{11}`), - regexp.MustCompile(`https?://(?:music\.)?apple\.com/[a-z]{2}/(?:album|artist|playlist|song)/[^\s]+`), + regexp.MustCompile(`https?://(?:(?:music|geo\.music)\.)?apple\.com/[a-z]{2}/(?:album|artist|playlist|song)/[^\s]+`), regexp.MustCompile(`https?://(?:www\.)?deezer\.com/(?:[a-z]{2}/)?(?:track|album|artist|playlist)/\d+`), regexp.MustCompile(`https?://(?:www\.)?soundcloud\.com/[a-zA-Z0-9_-]+/[a-zA-Z0-9_-]+`), regexp.MustCompile(`https?://(?:www\.)?tidal\.com/(?:browse/)?(?:track|album|artist|playlist)/\d+`),