You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 1, 2024. It is now read-only.
// Input URLsconstinputURL="https://open.spotify.com/intl-fr/track/0HYaC4uGgpx7EIBekhxWfi?si=3d5289545af74ea2";// Define a regular expression to match and remove the '/intl-xx/' part from the URLsconstregex=/\/intl-[a-z]{2}\//;// Replace the matching part with an empty stringconstoutputURL=inputURL.replace(regex,'/');// Output converted URLconsole.log(outputURL);
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Please describe your problem in as much detail as possible:
when I launch a music and in the music link the link contains "intl-fr" the bot does not find the music and therefore does not play it.
example link: https://open.spotify.com/intl-fr/track/0HYaC4uGgpx7EIBekhxWfi?si=3d5289545af74ea2
Further information:
The text was updated successfully, but these errors were encountered: