Convert VK to use Response URL detection. For some reason, a query against a known profile (e.g. https://vk.com/smith), would return a 418 HTTP Status. Which is odd, because this HTTP Status means "I'm a teapot". It was defined as an April Fools' joke in 1998. If I use the Response URL detection method, I am able to get around this issue. Add to tests.

pull/169/head
Christopher K. Hoadley 6 years ago
parent bb95811936
commit 1d7b76aabd

@ -993,10 +993,13 @@
"username_unclaimed": "noonewouldeverusethis7" "username_unclaimed": "noonewouldeverusethis7"
}, },
"VK": { "VK": {
"errorType": "status_code", "errorType": "response_url",
"errorUrl": "https://www.quora.com/profile/{}",
"rank": 15, "rank": 15,
"url": "https://vk.com/{}", "url": "https://vk.com/{}",
"urlMain": "https://vk.com/" "urlMain": "https://vk.com/",
"username_claimed": "smith",
"username_unclaimed": "noonewouldeverusethis7"
}, },
"VSCO": { "VSCO": {
"errorType": "status_code", "errorType": "status_code",

Loading…
Cancel
Save