user.getArtistTracks has now been removed from Last.fm and returns an error

This commit is contained in:
Hugo 2019-06-02 22:54:03 +03:00
parent dedcbf00f5
commit 44d0c2c966
3 changed files with 12 additions and 18 deletions

View file

@ -2260,11 +2260,10 @@ class User(_BaseObject, _Chartable):
def get_artist_tracks(self, artist, cacheable=False):
"""
Deprecated by Last.fm.
Get a list of tracks by a given artist scrobbled by this user,
including scrobble time.
"""
# Not implemented:
# "Can be limited to specific timeranges, defaults to all time."
warnings.warn(
"User.get_artist_tracks is deprecated and will be removed in a future "