Skip to content

Instantly share code, notes, and snippets.

@wilmoore
Last active February 13, 2025 07:03
Show Gist options
  • Save wilmoore/4aa7f7f7962568bec921c09ddc97fe79 to your computer and use it in GitHub Desktop.
Save wilmoore/4aa7f7f7962568bec921c09ddc97fe79 to your computer and use it in GitHub Desktop.
Song Link Translator

https://music.apple.com/us/album/eyes-closed/1711434525?i=1711434708

Use the link only for reference; given the uploaded screenshot, extract the song title and artist.

It should be obvious which song to detect because the screenshot should depict either a single song or in cases where there’s more than one song, use the song that is selected or playing.

Next, craft direct song URLs (not search links) and render them as clickable links for the following platforms: • Spotify • YouTube • SoundCloud

If the song is unavailable on any of these platforms, note that explicitly. If direct links cannot be generated for any reason, explain why and provide a solution.

Ensure the links point directly to the playable song page, not a search page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment