Skip to content

Commit 90599ea

Browse files
authored
Some sites fixed & cloudflare detection (soxoj#1178)
1 parent 72a1f94 commit 90599ea

File tree

2 files changed

+72
-7
lines changed

2 files changed

+72
-7
lines changed

maigret/errors.py

+6
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,12 @@ def desc(self):
5858
'Сайт заблокирован хостинг-провайдером': CheckError(
5959
'Site-specific', 'Site is disabled (Beget)'
6060
),
61+
'Generated by cloudfront (CloudFront)': CheckError(
62+
'Request blocked', 'Cloudflare'
63+
),
64+
'/cdn-cgi/challenge-platform/h/b/orchestrate/chl_page': CheckError(
65+
'Just a moment: bot redirect challenge', 'Cloudflare'
66+
)
6167
}
6268

6369
ERRORS_TYPES = {

maigret/resources/data.json

+66-7
Original file line numberDiff line numberDiff line change
@@ -3595,6 +3595,7 @@
35953595
"usernameUnclaimed": "noonewouldeverusethis7"
35963596
},
35973597
"Crossfire": {
3598+
"disabled": true,
35983599
"tags": [
35993600
"gaming",
36003601
"ru"
@@ -4069,6 +4070,7 @@
40694070
"usernameUnclaimed": "noonewouldeverusethis7"
40704071
},
40714072
"Digitalspy": {
4073+
"disabled": true,
40724074
"tags": [
40734075
"forum",
40744076
"gb",
@@ -13878,7 +13880,7 @@
1387813880
"\u041f\u0440\u043e\u0444\u0438\u043b\u044c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f"
1387913881
],
1388013882
"alexaRank": 495,
13881-
"urlMain": "http://37.1.216.121/",
13883+
"urlMain": "https://rutracker.org/",
1388213884
"mirrors": [
1388313885
"https://rutracker.org/",
1388413886
"http://37.1.216.121/"
@@ -14714,6 +14716,7 @@
1471414716
"usernameUnclaimed": "noonewouldeverusethis7"
1471514717
},
1471614718
"Soloby": {
14719+
"disabled": true,
1471714720
"tags": [
1471814721
"by",
1471914722
"ru"
@@ -15228,12 +15231,15 @@
1522815231
"regexCheck": "^[^\\.]+$",
1522915232
"checkType": "message",
1523015233
"absenceStrs": [
15231-
"Strava | Run and Cycling Tracking on the Social Network for Athletes"
15234+
"<title>Strava | "
15235+
],
15236+
"presenseStrs": [
15237+
"Profile</title>"
1523215238
],
1523315239
"alexaRank": 1099,
1523415240
"urlMain": "https://www.strava.com/",
1523515241
"url": "https://www.strava.com/athletes/{username}",
15236-
"usernameClaimed": "blue",
15242+
"usernameClaimed": "adam",
1523715243
"usernameUnclaimed": "noonewouldeverusethis7"
1523815244
},
1523915245
"Studfile": {
@@ -16612,6 +16618,9 @@
1661216618
"tags": [
1661316619
"messaging"
1661416620
],
16621+
"headers": {
16622+
"Accept-Language": "en-US,en;q=0.5"
16623+
},
1661516624
"regexCheck": "^[a-zA-Z0-9_]{1,15}$",
1661616625
"checkType": "message",
1661716626
"absenceStrs": [
@@ -16623,14 +16632,13 @@
1662316632
"<div class=\"profile-tabs\">"
1662416633
],
1662516634
"mirrors": [
16626-
"https://nitter.net/",
1662716635
"https://nitter.42l.fr/",
1662816636
"https://nitter.1d4.us/",
1662916637
"https://nitter.kavin.rocks/"
1663016638
],
1663116639
"source": "Twitter",
1663216640
"alexaRank": 48,
16633-
"urlMain": "https://nitter.kavin.rocks/",
16641+
"urlMain": "https://nitter.net/",
1663416642
"url": "{urlMain}{username}",
1663516643
"usernameClaimed": "blue",
1663616644
"usernameUnclaimed": "noonewould123"
@@ -17153,7 +17161,7 @@
1715317161
"video"
1715417162
],
1715517163
"headers": {
17156-
"Authorization": "jwt eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE2OTI4NjczMDAsInVzZXJfaWQiOm51bGwsImFwcF9pZCI6NTg0NzksInNjb3BlcyI6InB1YmxpYyIsInRlYW1fdXNlcl9pZCI6bnVsbH0.C_eyva4vBf9wXlW5NpN94tAuXL-fU0z27JrLyk5-B2M"
17164+
"Authorization": "jwt eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE2OTQyODI1ODAsInVzZXJfaWQiOm51bGwsImFwcF9pZCI6NTg0NzksInNjb3BlcyI6InB1YmxpYyIsInRlYW1fdXNlcl9pZCI6bnVsbH0.dIKSNMvYu7qcZ0Q7o9j5XaQH8iNWa-7X5wi2qQofoRo"
1715717165
},
1715817166
"activation": {
1715917167
"url": "https://vimeo.com/_rv/viewer",
@@ -17494,6 +17502,7 @@
1749417502
"usernameUnclaimed": "noonewouldeverusethis7"
1749517503
},
1749617504
"Waveapps": {
17505+
"disabled": true,
1749717506
"tags": [
1749817507
"ca",
1749917508
"us"
@@ -30720,6 +30729,7 @@
3072030729
"alexaRank": 141
3072130730
},
3072230731
"Weebly": {
30732+
"regexCheck": "^[a-zA-Z0-9]+$",
3072330733
"absenceStrs": [
3072430734
"Error - Page Not Found"
3072530735
],
@@ -34421,6 +34431,54 @@
3442134431
"tags": [
3442234432
"crypto"
3442334433
]
34434+
},
34435+
"PromptBase": {
34436+
"absenceStrs": [
34437+
"NotFound"
34438+
],
34439+
"presenseStrs": [
34440+
"1"
34441+
],
34442+
"url": "https://promptbase.com/profile/{username}",
34443+
"urlMain": "https://promptbase.com",
34444+
"usernameClaimed": "admin",
34445+
"usernameUnclaimed": "noonewouldeverusethis7",
34446+
"checkType": "message",
34447+
"tags": [
34448+
"ai"
34449+
]
34450+
},
34451+
"ngl.link": {
34452+
"absenceStrs": [
34453+
"Could not find user"
34454+
],
34455+
"presenseStrs": [
34456+
"1"
34457+
],
34458+
"url": "https://ngl.link/{username}",
34459+
"urlMain": "https://ngl.link",
34460+
"usernameClaimed": "youbutdumberr",
34461+
"usernameUnclaimed": "noonewouldeverusethis7",
34462+
"checkType": "message",
34463+
"tags": [
34464+
"q&a"
34465+
]
34466+
},
34467+
"bitpapa.com": {
34468+
"absenceStrs": [
34469+
"/static/page-crash.svg"
34470+
],
34471+
"presenseStrs": [
34472+
"lbcUsername"
34473+
],
34474+
"url": "https://bitpapa.com/ru/user/{username}",
34475+
"urlMain": "https://bitpapa.com",
34476+
"usernameClaimed": "Larisa70",
34477+
"usernameUnclaimed": "noonewouldeverusethis7",
34478+
"checkType": "message",
34479+
"tags": [
34480+
"crypto"
34481+
]
3442434482
}
3442534483
},
3442634484
"engines": {
@@ -34699,6 +34757,7 @@
3469934757
"tor",
3470034758
"i2p",
3470134759
"q&a",
34702-
"crypto"
34760+
"crypto",
34761+
"ai"
3470334762
]
3470434763
}

0 commit comments

Comments
 (0)