Convert BLIP.fm to use the Status Code detection method. The site gives a clean 404 error. Add to tests.

pull/156/head
Christopher K. Hoadley 6 years ago
parent 8a82d883c6
commit c76b4524da

@ -43,8 +43,7 @@
"urlMain": "https://ask.fm/" "urlMain": "https://ask.fm/"
}, },
"BLIP.fm": { "BLIP.fm": {
"errorMsg": "Page Not Found", "errorType": "status_code",
"errorType": "message",
"rank": 261919, "rank": 261919,
"url": "https://blip.fm/{}", "url": "https://blip.fm/{}",
"urlMain": "https://blip.fm/" "urlMain": "https://blip.fm/"

@ -158,7 +158,8 @@ class SherlockSiteCoverageTests(SherlockBaseTest):
""" """
self.username_check(['noonewouldeverusethis7'], self.username_check(['noonewouldeverusethis7'],
["Academia.edu", "9GAG", "About.me", "AngelList" ["Academia.edu", "9GAG", "About.me", "AngelList",
"BLIP.fm"
], ],
exist_check=False exist_check=False
) )
@ -180,7 +181,8 @@ class SherlockSiteCoverageTests(SherlockBaseTest):
""" """
self.username_check(['blue'], self.username_check(['blue'],
["Academia.edu", "9GAG", "About.me", "AngelList" ["Academia.edu", "9GAG", "About.me", "AngelList",
"BLIP.fm"
], ],
exist_check=True exist_check=True
) )

Loading…
Cancel
Save