Skip to content

Commit

Permalink
Merge pull request WebBreacher#296 from WebBreacher/dev
Browse files Browse the repository at this point in the history
fixing sites and adding useragent
  • Loading branch information
WebBreacher committed Sep 9, 2021
2 parents 6ad30b3 + d6d976f commit fa07169
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
3 changes: 2 additions & 1 deletion check_online_presence.py
Expand Up @@ -18,7 +18,8 @@
# Set HTTP Header info.
HEADERS = {'Accept' : 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'Accept-Language' : 'en-US,en;q=0.5',
'Accept-Encoding' : 'gzip, deflate'
'Accept-Encoding' : 'gzip, deflate',
'User-Agent': "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.63 Safari/537.36"
}

# Command line input
Expand Down
12 changes: 6 additions & 6 deletions web_accounts_list.json
Expand Up @@ -402,7 +402,7 @@
"name" : "mastodon",
"check_uri" : "https://mastodon.social/@{account}",
"account_existence_code" : "200",
"account_existence_string" : "toots",
"account_existence_string" : "profile:username",
"account_missing_string" : "The page you are looking for isn't here.",
"account_missing_code" : "404",
"known_accounts" : ["john", "alex"],
Expand Down Expand Up @@ -1124,7 +1124,7 @@
"account_existence_code" : "200",
"account_existence_string" : "member-since",
"account_missing_string" : "",
"account_missing_code" : "302",
"account_missing_code" : "301",
"known_accounts" : ["yellowdd","samanvay"],
"category" : "shopping",
"valid" : true
Expand Down Expand Up @@ -1646,9 +1646,9 @@
"check_uri" : "https://minecraftlist.com/players/{account}",
"account_existence_code" : "200",
"account_existence_string" : "-->was seen on<!--",
"account_missing_string" : "on 0 Minecraft servers recently",
"account_missing_string" : "0 Minecraft servers recently",
"account_missing_code" : "200",
"known_accounts" : ["popbob","dream"],
"known_accounts" : ["Zheniths","dream"],
"category" : "gaming",
"valid" : true
},
Expand Down Expand Up @@ -2740,10 +2740,10 @@
"name" : "TikTok",
"check_uri" : "https://www.tiktok.com/@{account}?lang=en",
"account_existence_code" : "200",
"account_existence_string" : "'s Newest TikTok Videos</title>",
"account_existence_string" : "title=\"Following\"",
"account_missing_string" : "Couldn't find this account",
"account_missing_code" : "404",
"known_accounts" : ["lil_shirleys_boy","pookiebear73"],
"known_accounts" : ["gordonramsayofficial","pookiebear73"],
"category" : "social",
"valid" : true
},
Expand Down

0 comments on commit fa07169

Please sign in to comment.