Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

detect and parse new intl-xx urls #349

Merged
merged 2 commits into from
Jul 12, 2023

Conversation

Mattia98
Copy link
Contributor

@Mattia98 Mattia98 commented Jun 2, 2023

It seems that Spotify is using a new kind of URL sometimes, where the local language is added to the URL.
Like this:
https://open.spotify.com/intl-de/track/xxx?si=xxx

This pull request does two things:

  • Patch parse_spotify_url so that it can parse the new intl-xx URLs
  • rewrite fetch_tracks to use id instead of URL

@Mattia98
Copy link
Contributor Author

@SathyaBhat Have you considered this pull request? Do you have any concerns?

@SathyaBhat
Copy link
Owner

@Mattia98 no concerns! thanks for your contribution

@SathyaBhat SathyaBhat merged commit de6ebe7 into SathyaBhat:master Jul 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants