mirror of
https://github.com/soxoj/maigret.git
synced 2026-05-07 06:24:35 +00:00
Fixed YouTube (#717)
This commit is contained in:
@@ -18355,17 +18355,41 @@
|
||||
},
|
||||
"YouTube": {
|
||||
"tags": [
|
||||
"us",
|
||||
"video"
|
||||
],
|
||||
"regexCheck": "^[^\\/]+$",
|
||||
"checkType": "message",
|
||||
"presenseStrs": [
|
||||
"href=\"/feed/channel"
|
||||
],
|
||||
"absenceStrs": [
|
||||
"Not Found"
|
||||
"Error - Invidious",
|
||||
"This channel does not exist"
|
||||
],
|
||||
"alexaRank": 2,
|
||||
"urlMain": "https://www.youtube.com/",
|
||||
"url": "https://www.youtube.com/{username}",
|
||||
"urlProbe": "https://invidious.slipfox.xyz/c/{username}",
|
||||
"usernameClaimed": "test",
|
||||
"usernameUnclaimed": "noonewouldeverusethis7"
|
||||
},
|
||||
"YouTube User": {
|
||||
"tags": [
|
||||
"video"
|
||||
],
|
||||
"regexCheck": "^[^\\/]+$",
|
||||
"checkType": "message",
|
||||
"presenseStrs": [
|
||||
"href=\"/feed/channel"
|
||||
],
|
||||
"absenceStrs": [
|
||||
"Error - Invidious",
|
||||
"This channel does not exist"
|
||||
],
|
||||
"alexaRank": 2,
|
||||
"urlMain": "https://www.youtube.com/",
|
||||
"url": "https://www.youtube.com/{username}",
|
||||
"urlProbe": "https://invidious.slipfox.xyz/user/{username}",
|
||||
"usernameClaimed": "blue",
|
||||
"usernameUnclaimed": "noonewouldeverusethis7"
|
||||
},
|
||||
|
||||
+1
-1
@@ -465,7 +465,7 @@ class MaigretDatabase:
|
||||
status_checks_perc = round(100*status_checks/enabled_count, 2)
|
||||
output += f"Status code checks: {status_checks}/{enabled_count} = {status_checks_perc}% (false positive risks)\n\n"
|
||||
|
||||
output += f"False positive risk (total): {checks_perc+status_checks_perc}%\n\n"
|
||||
output += f"False positive risk (total): {checks_perc+status_checks_perc:.2f}%\n\n"
|
||||
|
||||
top_urls_count = 20
|
||||
output += f"Top {top_urls_count} profile URLs:\n"
|
||||
|
||||
Reference in New Issue
Block a user