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

This commit is contained in:
Christopher K. Hoadley 2019-02-06 15:26:07 -06:00
parent 0f878bd84b
commit 20f58016fb

View file

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