Convert Bandcamp to use the Status Code detection method. The site gives a clean 404 error. Add to tests.
This commit is contained in:
parent
c76b4524da
commit
65e3820608
|
|
@ -55,8 +55,7 @@
|
|||
"urlMain": "https://badoo.com/"
|
||||
},
|
||||
"Bandcamp": {
|
||||
"errorMsg": "Sorry, that something isn\u2019t here",
|
||||
"errorType": "message",
|
||||
"errorType": "status_code",
|
||||
"rank": 573,
|
||||
"url": "https://www.bandcamp.com/{}",
|
||||
"urlMain": "https://www.bandcamp.com/"
|
||||
|
|
|
|||
|
|
@ -159,7 +159,7 @@ class SherlockSiteCoverageTests(SherlockBaseTest):
|
|||
|
||||
self.username_check(['noonewouldeverusethis7'],
|
||||
["Academia.edu", "9GAG", "About.me", "AngelList",
|
||||
"BLIP.fm"
|
||||
"BLIP.fm", "Bandcamp"
|
||||
],
|
||||
exist_check=False
|
||||
)
|
||||
|
|
@ -182,7 +182,7 @@ class SherlockSiteCoverageTests(SherlockBaseTest):
|
|||
|
||||
self.username_check(['blue'],
|
||||
["Academia.edu", "9GAG", "About.me", "AngelList",
|
||||
"BLIP.fm"
|
||||
"BLIP.fm", "Bandcamp"
|
||||
],
|
||||
exist_check=True
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in New Issue