mirror of
https://github.com/sherlock-project/sherlock
synced 2024-11-23 04:13:03 +00:00
Merge pull request #738 from roopeshvs/master
Facebook Change Error Type to Status Code
This commit is contained in:
commit
38736aadd7
2 changed files with 3 additions and 4 deletions
|
@ -504,8 +504,7 @@
|
|||
"username_unclaimed": "noonewouldeverusethis7"
|
||||
},
|
||||
"Facebook": {
|
||||
"errorMsg": "This page isn't available",
|
||||
"errorType": "message",
|
||||
"errorType": "status_code",
|
||||
"regexCheck": "^[a-zA-Z0-9\\.]{3,49}(?<!\\.com|\\.org|\\.net)$",
|
||||
"url": "https://www.facebook.com/{}",
|
||||
"urlMain": "https://www.facebook.com/",
|
||||
|
|
|
@ -75,7 +75,7 @@ class SherlockDetectTests(SherlockBaseTest):
|
|||
Will trigger an assert if detection mechanism did not work as expected.
|
||||
"""
|
||||
|
||||
site = 'Facebook'
|
||||
site = 'Pinterest'
|
||||
site_data = self.site_data_all[site]
|
||||
|
||||
#Ensure that the site's detection method has not changed.
|
||||
|
@ -102,7 +102,7 @@ class SherlockDetectTests(SherlockBaseTest):
|
|||
Will trigger an assert if detection mechanism did not work as expected.
|
||||
"""
|
||||
|
||||
site = 'Facebook'
|
||||
site = 'Pinterest'
|
||||
site_data = self.site_data_all[site]
|
||||
|
||||
#Ensure that the site's detection method has not changed.
|
||||
|
|
Loading…
Reference in a new issue