Convert BuzzFeed 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 08ac008828
commit 223d9716cb

@ -94,8 +94,7 @@
"urlMain": "https://www.blogger.com/"
},
"BuzzFeed": {
"errorMsg": "We can't find the page you're looking for.",
"errorType": "message",
"errorType": "status_code",
"rank": 294,
"url": "https://buzzfeed.com/{}",
"urlMain": "https://buzzfeed.com/"

@ -159,7 +159,7 @@ class SherlockSiteCoverageTests(SherlockBaseTest):
self.username_check(['noonewouldeverusethis7'],
["Academia.edu", "9GAG", "About.me", "AngelList",
"BLIP.fm", "Bandcamp", "Behance"
"BLIP.fm", "Bandcamp", "Behance", "BuzzFeed"
],
exist_check=False
)
@ -182,7 +182,7 @@ class SherlockSiteCoverageTests(SherlockBaseTest):
self.username_check(['blue'],
["Academia.edu", "9GAG", "About.me", "AngelList",
"BLIP.fm", "Bandcamp", "Behance"
"BLIP.fm", "Bandcamp", "Behance", "BuzzFeed"
],
exist_check=True
)

Loading…
Cancel
Save