mirror of
https://github.com/murdos/musicbrainz-userscripts
synced 2024-11-10 05:04:13 +00:00
Use HTTPS for retrieving top tracks from Last.fm
This commit is contained in:
parent
37178aab78
commit
424b2c6937
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ $(document).ready(function () {
|
|||
$('h2.discography').before('<h2 class="toptracks">Top Last.fm recordings</h2><ul class="toptracks" />');
|
||||
var mbid = window.location.href.match(re)[1];
|
||||
let toptracks = $.getJSON(
|
||||
`http://ws.audioscrobbler.com/2.0/?method=artist.gettoptracks&mbid=${mbid}&api_key=${LASTFM_APIKEY}&format=json`,
|
||||
`https://ws.audioscrobbler.com/2.0/?method=artist.gettoptracks&mbid=${mbid}&api_key=${LASTFM_APIKEY}&format=json`,
|
||||
function (data) {
|
||||
$.each(data.toptracks.track, function (index, track) {
|
||||
if (index >= 5) return true;
|
||||
|
|
Loading…
Reference in a new issue