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

This commit is contained in:
Christopher K. Hoadley 2019-01-30 17:51:46 -06:00
parent 8a82d883c6
commit c76b4524da
2 changed files with 5 additions and 4 deletions

View file

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

View file

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