File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 5
5
6
6
class D3DInfoChecker (BaseChecker ):
7
7
def __init__ (self , timeout = None ):
8
- super (D3DInfoChecker , self ).__init__ ("https://pikagraphs .d3d.info/OK/ " , timeout = timeout )
8
+ super (D3DInfoChecker , self ).__init__ ("https://test .d3d.info/ok.html " , timeout = timeout )
9
9
10
10
async def _check (self , response : aiohttp .ClientResponse , checker_result : CheckerResult ):
11
- return (await response .text ()) == 'OK '
11
+ return (await response .text ()). strip (). lower () == 'ok '
Original file line number Diff line number Diff line change 1
- # from checkers.d3d_info_checker import D3DInfoChecker
2
- from checkers .ipinfo_io_checker import IPInfoIOChecker
1
+ from checkers .d3d_info_checker import D3DInfoChecker
2
+ # from checkers.ipinfo_io_checker import IPInfoIOChecker
3
3
4
4
5
5
# enable to get more information in logs
65
65
MINIMUM_NUMBER_OF_CHECKERS_PER_PROXY = 1
66
66
67
67
PROXY_CHECKERS = [
68
- IPInfoIOChecker ,
69
- # D3DInfoChecker,
68
+ # IPInfoIOChecker,
69
+ D3DInfoChecker ,
70
70
]
71
71
72
72
"""
You can’t perform that action at this time.
0 commit comments