Convert last.fm to use more reliable HTTP Status detection method. The site gives a clean 404 error. Add to tests.

pull/166/head
Christopher K. Hoadley 6 years ago
parent 5f9d06198f
commit 95fbe411b4

@ -973,10 +973,11 @@
"username_unclaimed": "noonewouldeverusethis7" "username_unclaimed": "noonewouldeverusethis7"
}, },
"last.fm": { "last.fm": {
"errorMsg": "Whoops! Sorry, but this page doesn't exist.", "errorType": "status_code",
"errorType": "message",
"rank": 1194, "rank": 1194,
"url": "https://last.fm/user/{}", "url": "https://last.fm/user/{}",
"urlMain": "https://last.fm/" "urlMain": "https://last.fm/",
"username_claimed": "blue",
"username_unclaimed": "noonewouldeverusethis7"
} }
} }

Loading…
Cancel
Save