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

pull/164/head
Christopher K. Hoadley 6 years ago
parent 0f878bd84b
commit 20f58016fb

@ -769,11 +769,12 @@
"urlMain": "https://www.tradingview.com/" "urlMain": "https://www.tradingview.com/"
}, },
"Trakt": { "Trakt": {
"errorMsg": "404", "errorType": "status_code",
"errorType": "message",
"rank": 5933, "rank": 5933,
"url": "https://www.trakt.tv/users/{}", "url": "https://www.trakt.tv/users/{}",
"urlMain": "https://www.trakt.tv/" "urlMain": "https://www.trakt.tv/",
"username_claimed": "blue",
"username_unclaimed": "noonewouldeverusethis7"
}, },
"Trip": { "Trip": {
"errorMsg": "Page not found", "errorMsg": "Page not found",

Loading…
Cancel
Save