From 95fbe411b4db91bbf02d7736a7a32b9cf21881a3 Mon Sep 17 00:00:00 2001 From: "Christopher K. Hoadley" Date: Wed, 6 Feb 2019 18:30:10 -0600 Subject: [PATCH] Convert last.fm to use more reliable HTTP Status detection method. The site gives a clean 404 error. Add to tests. --- data.json | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/data.json b/data.json index 4f9c3acd..85afd9b1 100644 --- a/data.json +++ b/data.json @@ -973,10 +973,11 @@ "username_unclaimed": "noonewouldeverusethis7" }, "last.fm": { - "errorMsg": "Whoops! Sorry, but this page doesn't exist.", - "errorType": "message", + "errorType": "status_code", "rank": 1194, "url": "https://last.fm/user/{}", - "urlMain": "https://last.fm/" + "urlMain": "https://last.fm/", + "username_claimed": "blue", + "username_unclaimed": "noonewouldeverusethis7" } -} \ No newline at end of file +}