{"id":494478,"date":"2026-09-12T20:04:04","date_gmt":"2026-09-12T20:04:04","guid":{"rendered":"https:\/\/savepearlharbor.com\/?p=494478"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=494478","title":{"rendered":"\u041a\u043e\u0433\u0434\u0430 \u0430\u043d\u0442\u0438\u0431\u043e\u0442 \u043f\u0440\u0438\u0442\u0432\u043e\u0440\u044f\u0435\u0442\u0441\u044f \u0420\u041a\u041d: \u043b\u043e\u0436\u043d\u044b\u0435 \u0437\u0430\u0433\u043b\u0443\u0448\u043a\u0438 \u0438 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u044b\u0439 Web UI \u0432 rkn-block-checker 0.6.0"},"content":{"rendered":"<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430: \u041a\u043e\u0433\u0434\u0430 \u0410\u0432\u0438\u0442\u043e \u043f\u0440\u0438\u0442\u0432\u043e\u0440\u044f\u0435\u0442\u0441\u044f \u0420\u043e\u0441\u043a\u043e\u043c\u043d\u0430\u0434\u0437\u043e\u0440\u043e\u043c \u0412 \u0431\u0435\u043b\u043e\u043c \u0441\u043f\u0438\u0441\u043a\u0435 (\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044c\u043d\u044b\u0435 \u0441\u0430\u0439\u0442\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0434\u043e\u043b\u0436\u043d\u044b \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0432\u0441\u0435\u0433\u0434\u0430: \u0413\u043e\u0441\u0443\u0441\u043b\u0443\u0433\u0438, \u042f\u043d\u0434\u0435\u043a\u0441 \u0438 \u0442\u0434.) \u0432\u043d\u0435\u0437\u0430\u043f\u043d\u043e \u0437\u0430\u0433\u043e\u0440\u0435\u043b\u0441\u044f \u043a\u0440\u0430\u0441\u043d\u044b\u043c \u0410\u0432\u0438\u0442\u043e:<\/p>\n<pre><code>avito   \u2717 HTTP_STUB    HTTP 429 (37ms)  \u2514 response body matches a known ISP stub-page marker<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:87px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u0421\u043a\u0440\u0438\u043f\u0442 \u043d\u0430 \u043f\u043e\u043b\u043d\u043e\u043c \u0441\u0435\u0440\u044c\u0435\u0437\u0435 \u0443\u0442\u0432\u0435\u0440\u0436\u0434\u0430\u043b: \u201c\u041d\u0430 \u0410\u0432\u0438\u0442\u043e \u0432\u0438\u0441\u0438\u0442 \u0437\u0430\u0433\u043b\u0443\u0448\u043a\u0430 \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440\u0430 \u043e \u0431\u043b\u043e\u043a\u0438\u0440\u043e\u0432\u043a\u0435 \u0420\u041a\u041d, \u0443\u0432\u0435\u0440\u0435\u043d\u043d\u043e\u0441\u0442\u044c: HIGH\u201d \u041e\u0442\u043a\u0443\u0434\u0430 \u043d\u0430 \u0410\u0432\u0438\u0442\u043e \u0432\u0437\u044f\u043b\u0430\u0441\u044c \u0437\u0430\u0433\u043b\u0443\u0448\u043a\u0430 \u0420\u041a\u041d? \u0412\u0441\u0451 \u0434\u0435\u043b\u043e \u0432 \u043d\u0430\u0438\u0432\u043d\u043e\u043c \u043f\u043e\u0438\u0441\u043a\u0435 \u043f\u043e\u0434\u0441\u0442\u0440\u043e\u043a. \u0412 \u043a\u043e\u0434\u0435 \u0431\u044b\u043b \u043c\u0430\u0441\u0441\u0438\u0432 \u043c\u0430\u0440\u043a\u0435\u0440\u043e\u0432 STUB_MARKERS, \u0445\u0430\u0440\u0430\u043a\u0442\u0435\u0440\u043d\u044b\u0445 \u0434\u043b\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446 \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440\u043e\u0432:<\/p>\n<pre><code>STUB_MARKERS = (    \"\u0434\u043e\u0441\u0442\u0443\u043f \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\",    \"\u0440\u0435\u0448\u0435\u043d\u0438\u044e \u0440\u043e\u0441\u043a\u043e\u043c\u043d\u0430\u0434\u0437\u043e\u0440\u0430\",    \"\u0437\u0430\u0431\u043b\u043e\u043a\u0438\u0440\u043e\u0432\u0430\u043d\",    \"\u0435\u0434\u0438\u043d\u044b\u0439 \u0440\u0435\u0435\u0441\u0442\u0440\",    # ...)<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u0410\u0432\u0438\u0442\u043e \u0438\u0437\u0432\u0435\u0441\u0442\u0435\u043d \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 \u0430\u0432\u0442\u043e \u043f\u0430\u0440\u0441\u0430. \u0423\u0432\u0438\u0434\u0435\u0432 \u0441\u0435\u0442\u0435\u0432\u043e\u0439 \u0437\u0430\u043f\u0440\u043e\u0441 \u0431\u0435\u0437 \u043d\u0430\u043a\u043e\u043f\u043b\u0435\u043d\u043d\u044b\u0445 \u043a\u0443\u043a \u043e\u0442 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e\u0439 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 (\u0434\u0430\u0436\u0435 \u043d\u0435\u0441\u043c\u043e\u0442\u0440\u044f \u043d\u0430 \u0438\u043c\u0438\u0442\u0430\u0446\u0438\u044e Chrome User-Agent), WAF\/\u0430\u043d\u0442\u0438\u0431\u043e\u0442 \u0432\u044b\u0434\u0430\u043b \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0439 \u0441\u0442\u0430\u0442\u0443\u0441 429 Too Many Requests.<\/p>\n<p>\u0410 \u043d\u0430 \u0441\u0430\u043c\u043e\u0439 HTML-\u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435 \u043e\u0448\u0438\u0431\u043a\u0438 429 \u043a\u0440\u0443\u043f\u043d\u044b\u043c \u0448\u0440\u0438\u0444\u0442\u043e\u043c \u0431\u044b\u043b\u043e \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043e: \u00ab\u0414\u043e\u0441\u0442\u0443\u043f \u0441 \u0432\u0430\u0448\u0435\u0433\u043e IP \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u00bb. \u0421\u043a\u0440\u0438\u043f\u0442 \u0441\u043a\u0430\u0447\u0430\u043b \u0442\u0435\u043b\u043e \u043e\u0442\u0432\u0435\u0442\u0430, \u043d\u0430\u0448\u0435\u043b \u0432\u0445\u043e\u0436\u0434\u0435\u043d\u0438\u0435 \u043f\u043e\u0434\u0441\u0442\u0440\u043e\u043a\u0438 \u201c\u0434\u043e\u0441\u0442\u0443\u043f \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u201d \u0438 \u0440\u0430\u0434\u043e\u0441\u0442\u043d\u043e \u0441\u043e\u043e\u0431\u0449\u0438\u043b \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044e, \u0447\u0442\u043e \u0440\u0435\u0441\u0443\u0440\u0441 \u0437\u0430\u0431\u043b\u043e\u043a\u0438\u0440\u043e\u0432\u0430\u043d \u0446\u0435\u043d\u0437\u0443\u0440\u043e\u0439 \u043d\u0430 \u043c\u0430\u0433\u0438\u0441\u0442\u0440\u0430\u043b\u0438<\/p>\n<p>\u0420\u0435\u0448\u0435\u043d\u0438\u0435: \u041f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440\u0441\u043a\u0438\u0435 \u0437\u0430\u0433\u043b\u0443\u0448\u043a\u0438 \u0432 \u0420\u043e\u0441\u0441\u0438\u0438 \u0438\u043c\u0435\u044e\u0442 \u0445\u0430\u0440\u0430\u043a\u0442\u0435\u0440\u043d\u0443\u044e \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u044c: \u043e\u043d\u0438 \u043f\u043e\u0447\u0442\u0438 \u0432\u0441\u0435\u0433\u0434\u0430 \u043c\u0430\u0441\u043a\u0438\u0440\u0443\u044e\u0442\u0441\u044f \u043f\u043e\u0434 \u0441\u0442\u0430\u0442\u0443\u0441 200 OK (\u043f\u0435\u0440\u0435\u0445\u0432\u0430\u0442 \u0441 \u043f\u043e\u0434\u043c\u0435\u043d\u043e\u0439 \u0442\u0435\u043b\u0430) \u043b\u0438\u0431\u043e \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u044e\u0442 \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u0441\u0442\u0430\u0442\u0443\u0441 451 Unavailable For Legal Reasons. HTTP 429 (Rate Limit) \u0438 403 \u0441 \u043a\u0430\u043f\u0447\u0435\u0439 &#8212; \u044d\u0442\u043e \u0440\u0435\u0430\u043a\u0446\u0438\u044f \u0441\u0430\u043c\u043e\u0433\u043e \u0446\u0435\u043b\u0435\u0432\u043e\u0433\u043e \u0441\u0435\u0440\u0432\u0435\u0440\u0430, \u0430 \u043d\u0435 \u0444\u0438\u043b\u044c\u0442\u0440\u0430 \u0422\u0421\u041f\u0423 \u043d\u0430 \u043c\u0430\u0433\u0438\u0441\u0442\u0440\u0430\u043b\u0438. \u0412 core.py \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u044f\u0432\u043d\u043e \u0440\u0430\u0437\u0432\u0435\u0441\u0442\u0438 \u043f\u043e\u043d\u044f\u0442\u0438\u044f \u0446\u0435\u043d\u0437\u0443\u0440\u044b \u0438 \u0430\u043d\u0442\u0438\u0431\u043e\u0442-\u0437\u0430\u0449\u0438\u0442\u044b:<\/p>\n<pre><code>    if http_mod.looks_like_stub(probe.body_snippet):        if res.status_code == 429:            res.verdict = Verdict.DOWN            res.confidence = Confidence.LOW            res.notes.append(\"http 429 (antibot rate limit) contained words similar to a block stub\")            return res        res.verdict = Verdict.HTTP_STUB        res.confidence = Confidence.HIGH        res.notes.append(            \"response body matches a known ISP stub-page marker\"        )        return res<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<h3>Web UI: \u0417\u0430\u0447\u0435\u043c \u043a\u043e\u043d\u0441\u043e\u043b\u044c\u043d\u043e\u0439 \u0443\u0442\u0438\u043b\u0438\u0442\u0435 \u0431\u0440\u0430\u0443\u0437\u0435\u0440?<\/h3>\n<p>\u0418\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e \u043f\u0440\u043e\u0435\u043a\u0442 \u0437\u0430\u0434\u0443\u043c\u044b\u0432\u0430\u043b\u0441\u044f \u0441\u0442\u0440\u043e\u0433\u043e \u043a\u0430\u043a CLI. \u041d\u043e \u043a\u043e\u0433\u0434\u0430 \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u0448\u044c \u0440\u0430\u0437\u0431\u0438\u0440\u0430\u0442\u044c \u0441\u043f\u043e\u0440\u043d\u044b\u0435 \u043a\u0435\u0439\u0441\u044b (\u201c\u043f\u043e\u0447\u0435\u043c\u0443 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u044b\u0439 \u0441\u0435\u0440\u0432\u0438\u0441 \u0442\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442, \u0442\u043e \u043d\u0435\u0442\u201d), \u0441\u0443\u0445\u043e\u0433\u043e \u0442\u0435\u043a\u0441\u0442\u0430 \u0432 \u043a\u043e\u043d\u0441\u043e\u043b\u0438 \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f \u043c\u0430\u043b\u043e. \u0425\u043e\u0447\u0435\u0442\u0441\u044f:<\/p>\n<ol>\n<li>\n<p>\u041a\u043b\u0438\u043a\u043d\u0443\u0442\u044c \u043f\u043e \u0441\u0430\u0439\u0442\u0443 \u0438 \u0443\u0432\u0438\u0434\u0435\u0442\u044c \u0434\u0435\u0442\u0430\u043b\u044c\u043d\u044b\u0439 \u0442\u0430\u0439\u043c\u043b\u0430\u0439\u043d: \u043d\u0430 \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043c\u0438\u043b\u043b\u0438\u0441\u0435\u043a\u0443\u043d\u0434 \u0437\u0430\u0434\u0435\u0440\u0436\u0430\u043b\u0441\u044f TCP, \u043a\u0430\u043a \u043e\u0442\u0432\u0435\u0442\u0438\u043b TLS, \u0447\u0442\u043e \u0438\u043c\u0435\u043d\u043d\u043e \u0432\u0435\u0440\u043d\u0443\u043b DNS.<\/p>\n<\/li>\n<li>\n<p>\u0414\u0430\u0442\u044c \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442 \u0442\u0435\u043c, \u043a\u0442\u043e \u043d\u0435 \u043f\u0440\u0438\u0432\u044b\u043a \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0432 \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u0435.<\/p>\n<\/li>\n<li>\n<p>\u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0442\u044c \u043a\u0430\u0441\u0442\u043e\u043c\u043d\u044b\u0435 \u0434\u043e\u043c\u0435\u043d\u044b \u043f\u0440\u044f\u043c\u043e \u043d\u0430 \u043b\u0435\u0442\u0443 \u0438 \u043f\u0435\u0440\u0435\u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0442\u044c \u0438\u0445 \u0432 \u043e\u0434\u0438\u043d \u043a\u043b\u0438\u043a.<\/p>\n<\/li>\n<\/ol>\n<p>\u0422\u0430\u0449\u0438\u0442\u044c \u0440\u0430\u0434\u0438 \u044d\u0442\u043e\u0433\u043e \u0442\u044f\u0436\u0435\u043b\u044b\u0435 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u0432\u0440\u043e\u0434\u0435 FastAPI, Flask \u0438\u043b\u0438 Uvicorn \u043d\u0435 \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0447\u0435\u0441\u043a\u0438. \u0418\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442 \u0434\u043e\u043b\u0436\u0435\u043d \u0441\u0442\u0430\u0432\u0438\u0442\u044c\u0441\u044f \u0437\u0430 \u0441\u0435\u043a\u0443\u043d\u0434\u0443 \u0447\u0435\u0440\u0435\u0437 pip install \u0432 \u0447\u0438\u0441\u0442\u044b\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0439 Python.<\/p>\n<p>\u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0432\u0435\u0431-\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u0431\u044b\u043b \u043d\u0430\u043f\u0438\u0441\u0430\u043d \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e \u043b\u0435\u0433\u043a\u043e\u0432\u0435\u0441\u043d\u043e:<\/p>\n<ul>\n<li>\n<p>\u0411\u044d\u043a\u0435\u043d\u0434: \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0439 http.server.ThreadingHTTPServer \u0438\u0437 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e\u0439 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 Python.<\/p>\n<\/li>\n<li>\n<p>\u0424\u0440\u043e\u043d\u0442\u0435\u043d\u0434: \u043e\u0434\u0438\u043d \u0444\u0430\u0439\u043b index.html \u043d\u0430 \u0432\u0430\u043d\u0438\u043b\u044c\u043d\u043e\u043c JS \u0438 CSS \u0431\u0435\u0437 \u0441\u0431\u043e\u0440\u0449\u0438\u043a\u043e\u0432, node_modules \u0438 \u0432\u043d\u0435\u0448\u043d\u0438\u0445 CDN.<\/p>\n<\/li>\n<\/ul>\n<p>\u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442\u0441\u044f \u043e\u0434\u043d\u043e\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439:<\/p>\n<pre><code>rkn-check startweb\u0438\u043b\u0438rkn-check startweb --port 8080<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u0421\u0435\u0440\u0432\u0435\u0440 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0441\u043b\u0443\u0448\u0430\u0435\u0442 127.0.0.1:7777. \u041a\u0430\u043a \u0443\u0441\u0442\u0440\u043e\u0435\u043d \u0440\u0435\u0430\u043b\u0442\u0430\u0439\u043c \u0431\u0435\u0437 WebSocket \u0427\u0442\u043e\u0431\u044b \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u043d\u0435 \u0432\u0438\u0441\u0435\u043b \u043c\u0435\u0440\u0442\u0432\u044b\u043c \u0432\u043e \u0432\u0440\u0435\u043c\u044f \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u0434\u0435\u0441\u044f\u0442\u043a\u043e\u0432 \u0441\u0430\u0439\u0442\u043e\u0432, \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u0434\u043e\u043b\u0436\u043d\u044b \u043f\u0440\u0438\u043b\u0435\u0442\u0430\u0442\u044c \u043f\u043e \u043c\u0435\u0440\u0435 \u0433\u043e\u0442\u043e\u0432\u043d\u043e\u0441\u0442\u0438 (\u043a\u0430\u043a \u0432 CLI \u0447\u0435\u0440\u0435\u0437 as_completed()). \u0412\u043c\u0435\u0441\u0442\u043e \u0442\u043e\u0433\u043e \u0447\u0442\u043e\u0431\u044b \u0433\u043e\u0440\u043e\u0434\u0438\u0442\u044c WebSocket \u0438\u043b\u0438 \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u044b\u0439 polling, \u0431\u044d\u043a\u0435\u043d\u0434 \u043e\u0442\u0434\u0430\u0435\u0442 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u043e\u0431\u044b\u0447\u043d\u044b\u043c HTTP-\u0441\u0442\u0440\u0438\u043c\u0438\u043d\u0433\u043e\u043c \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 NDJSON (Newline Delimited JSON):<\/p>\n<pre><code>self.send_response(200)self.send_header(\"Content-Type\", \"application\/x-ndjson; charset=utf-8\")self.end_headers()for res in iter_check_urls(targets, max_workers=workers, timeout=timeout):    line = json.dumps(res.to_dict()) + \"\\n\"    self.wfile.write(line.encode(\"utf-8\"))    self.wfile.flush() # \u0412\u044b\u0442\u0430\u043b\u043a\u0438\u0432\u0430\u0435\u043c \u0447\u0430\u043d\u043a \u0432 \u0441\u043e\u043a\u0435\u0442 \u0441\u0440\u0430\u0437\u0443<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u0410 \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0439 fetch \u0447\u0438\u0442\u0430\u0435\u0442 \u043f\u043e\u0442\u043e\u043a \u0447\u0430\u043d\u043a\u043e\u0432 \u0447\u0435\u0440\u0435\u0437 ReadableStreamDefaultReader:<\/p>\n<pre><code>const response = await fetch('\/api\/scan', { method: 'POST', body: JSON.stringify(payload) });const reader = response.body.getReader();const decoder = new TextDecoder();let buffer = '';while (true) {    const { value, done } = await reader.read();    if (done) break;        buffer += decoder.decode(value, { stream: true });    let lines = buffer.split('\\n');    buffer = lines.pop(); \/\/ \u041d\u0435\u043f\u043e\u043b\u043d\u0443\u044e \u0441\u0442\u0440\u043e\u043a\u0443 \u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c \u0432 \u0431\u0443\u0444\u0435\u0440\u0435    for (let line of lines) {        if (!line.trim()) continue;        const result = JSON.parse(line);        updateTableRow(result); \/\/ \u041e\u0431\u043d\u043e\u0432\u043b\u044f\u0435\u043c \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u0443\u044e \u0441\u0442\u0440\u043e\u0447\u043a\u0443 \u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u0435 \u043d\u0430 \u043b\u0435\u0442\u0443    }}<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<h3>\u0427\u0442\u043e \u0432 \u0438\u0442\u043e\u0433\u0435 (\u0440\u0435\u043b\u0438\u0437 0.6.0)<\/h3>\n<p>\u0412 \u0432\u0435\u0440\u0441\u0438\u044e 0.6.0 \u0432\u043e\u0448\u043b\u0438:<\/p>\n<ol>\n<li>\n<p>\u041f\u043e\u043b\u043d\u043e\u0446\u0435\u043d\u043d\u044b\u0439 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u044b\u0439 Web UI (rkn-check startweb) \u0441 \u0433\u0440\u0430\u0444\u0438\u043a\u0430\u043c\u0438, \u043c\u0443\u043b\u044c\u0442\u0438\u044f\u0437\u044b\u0447\u043d\u043e\u0441\u0442\u044c\u044e (RU\/EN) \u0438 \u0440\u0443\u0447\u043d\u044b\u043c \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435\u043c \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u043b\u044c\u043d\u044b\u0445 URL<\/p>\n<\/li>\n<li>\n<p>\u0424\u0438\u043b\u044c\u0442\u0440\u0430\u0446\u0438\u044f \u043b\u043e\u0436\u043d\u044b\u0445 \u0441\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u043d\u0438\u0439 \u043d\u0430 \u0430\u043d\u0442\u0438\u0431\u043e\u0442-\u0437\u0430\u0433\u043b\u0443\u0448\u043a\u0438 (HTTP 429)<\/p>\n<\/li>\n<li>\n<p>\u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u044d\u043a\u0441\u043f\u043e\u0440\u0442\u0430 \u043f\u043e\u043b\u043d\u043e\u0433\u043e \u043e\u0442\u0447\u0435\u0442\u0430 \u0432 JSON \u043f\u0440\u044f\u043c\u043e \u0438\u0437 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430 \u0432 \u043e\u0434\u0438\u043d \u043a\u043b\u0438\u043a<\/p>\n<\/li>\n<\/ol>\n<p>\u041a\u043e\u0434 \u043f\u043e-\u043f\u0440\u0435\u0436\u043d\u0435\u043c\u0443 \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u043e\u0442\u043a\u0440\u044b\u0442 \u043f\u043e\u0434 MIT:<\/p>\n<ul>\n<li>\n<p>GitHub: <a href=\"https:\/\/github.com\/MayersScott\/rkn-block-checker\" rel=\"noopener nofollow\">https:\/\/github.com\/MayersScott\/rkn-block-checker<\/a><\/p>\n<\/li>\n<li>\n<p>PyPI: pip install rkn-block-checker &#8212;upgrade<\/p>\n<\/li>\n<\/ul>\n<p>\u0411\u0443\u0434\u0443 \u0440\u0430\u0434 \u043b\u044e\u0431\u043e\u043c\u0443 \u0444\u0438\u0434\u0431\u0435\u043a\u0443!<\/p>\n<\/div>\n<p>\u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/1081618\/\">https:\/\/habr.com\/ru\/articles\/1081618\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430: \u041a\u043e\u0433\u0434\u0430 \u0410\u0432\u0438\u0442\u043e \u043f\u0440\u0438\u0442\u0432\u043e\u0440\u044f\u0435\u0442\u0441\u044f \u0420\u043e\u0441\u043a\u043e\u043c\u043d\u0430\u0434\u0437\u043e\u0440\u043e\u043c \u0412 \u0431\u0435\u043b\u043e\u043c \u0441\u043f\u0438\u0441\u043a\u0435 (\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044c\u043d\u044b\u0435 \u0441\u0430\u0439\u0442\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0434\u043e\u043b\u0436\u043d\u044b \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0432\u0441\u0435\u0433\u0434\u0430: \u0413\u043e\u0441\u0443\u0441\u043b\u0443\u0433\u0438, \u042f\u043d\u0434\u0435\u043a\u0441 \u0438 \u0442\u0434.) \u0432\u043d\u0435\u0437\u0430\u043f\u043d\u043e \u0437\u0430\u0433\u043e\u0440\u0435\u043b\u0441\u044f \u043a\u0440\u0430\u0441\u043d\u044b\u043c \u0410\u0432\u0438\u0442\u043e:avito   \u2717 HTTP_STUB    HTTP 429 (37ms)  \u2514 response body matches a known ISP stub-page marker\u0421\u043a\u0440\u0438\u043f\u0442 \u043d\u0430 \u043f\u043e\u043b\u043d\u043e\u043c \u0441\u0435\u0440\u044c\u0435\u0437\u0435 \u0443\u0442\u0432\u0435\u0440\u0436\u0434\u0430\u043b: \u201c\u041d\u0430 \u0410\u0432\u0438\u0442\u043e \u0432\u0438\u0441\u0438\u0442 \u0437\u0430\u0433\u043b\u0443\u0448\u043a\u0430 \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440\u0430 \u043e \u0431\u043b\u043e\u043a\u0438\u0440\u043e\u0432\u043a\u0435 \u0420\u041a\u041d, \u0443\u0432\u0435\u0440\u0435\u043d\u043d\u043e\u0441\u0442\u044c: HIGH\u201d \u041e\u0442\u043a\u0443\u0434\u0430 \u043d\u0430 \u0410\u0432\u0438\u0442\u043e \u0432\u0437\u044f\u043b\u0430\u0441\u044c \u0437\u0430\u0433\u043b\u0443\u0448\u043a\u0430 \u0420\u041a\u041d? \u0412\u0441\u0451 \u0434\u0435\u043b\u043e \u0432 \u043d\u0430\u0438\u0432\u043d\u043e\u043c \u043f\u043e\u0438\u0441\u043a\u0435 \u043f\u043e\u0434\u0441\u0442\u0440\u043e\u043a. \u0412 \u043a\u043e\u0434\u0435 \u0431\u044b\u043b \u043c\u0430\u0441\u0441\u0438\u0432 \u043c\u0430\u0440\u043a\u0435\u0440\u043e\u0432 STUB_MARKERS, \u0445\u0430\u0440\u0430\u043a\u0442\u0435\u0440\u043d\u044b\u0445 \u0434\u043b\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446 \u043f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440\u043e\u0432:STUB_MARKERS = (    &#171;\u0434\u043e\u0441\u0442\u0443\u043f \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d&#187;,    &#171;\u0440\u0435\u0448\u0435\u043d\u0438\u044e \u0440\u043e\u0441\u043a\u043e\u043c\u043d\u0430\u0434\u0437\u043e\u0440\u0430&#187;,    &#171;\u0437\u0430\u0431\u043b\u043e\u043a\u0438\u0440\u043e\u0432\u0430\u043d&#187;,    &#171;\u0435\u0434\u0438\u043d\u044b\u0439 \u0440\u0435\u0435\u0441\u0442\u0440&#187;,    # &#8230;)\u0410\u0432\u0438\u0442\u043e \u0438\u0437\u0432\u0435\u0441\u0442\u0435\u043d \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 \u0430\u0432\u0442\u043e \u043f\u0430\u0440\u0441\u0430. \u0423\u0432\u0438\u0434\u0435\u0432 \u0441\u0435\u0442\u0435\u0432\u043e\u0439 \u0437\u0430\u043f\u0440\u043e\u0441 \u0431\u0435\u0437 \u043d\u0430\u043a\u043e\u043f\u043b\u0435\u043d\u043d\u044b\u0445 \u043a\u0443\u043a \u043e\u0442 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e\u0439 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 (\u0434\u0430\u0436\u0435 \u043d\u0435\u0441\u043c\u043e\u0442\u0440\u044f \u043d\u0430 \u0438\u043c\u0438\u0442\u0430\u0446\u0438\u044e Chrome User-Agent), WAF\/\u0430\u043d\u0442\u0438\u0431\u043e\u0442 \u0432\u044b\u0434\u0430\u043b \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0439 \u0441\u0442\u0430\u0442\u0443\u0441 429 Too Many Requests.\u0410 \u043d\u0430 \u0441\u0430\u043c\u043e\u0439 HTML-\u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435 \u043e\u0448\u0438\u0431\u043a\u0438 429 \u043a\u0440\u0443\u043f\u043d\u044b\u043c \u0448\u0440\u0438\u0444\u0442\u043e\u043c \u0431\u044b\u043b\u043e \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043e: \u00ab\u0414\u043e\u0441\u0442\u0443\u043f \u0441 \u0432\u0430\u0448\u0435\u0433\u043e IP \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u00bb. \u0421\u043a\u0440\u0438\u043f\u0442 \u0441\u043a\u0430\u0447\u0430\u043b \u0442\u0435\u043b\u043e \u043e\u0442\u0432\u0435\u0442\u0430, \u043d\u0430\u0448\u0435\u043b \u0432\u0445\u043e\u0436\u0434\u0435\u043d\u0438\u0435 \u043f\u043e\u0434\u0441\u0442\u0440\u043e\u043a\u0438 \u201c\u0434\u043e\u0441\u0442\u0443\u043f \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u201d \u0438 \u0440\u0430\u0434\u043e\u0441\u0442\u043d\u043e \u0441\u043e\u043e\u0431\u0449\u0438\u043b \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044e, \u0447\u0442\u043e \u0440\u0435\u0441\u0443\u0440\u0441 \u0437\u0430\u0431\u043b\u043e\u043a\u0438\u0440\u043e\u0432\u0430\u043d \u0446\u0435\u043d\u0437\u0443\u0440\u043e\u0439 \u043d\u0430 \u043c\u0430\u0433\u0438\u0441\u0442\u0440\u0430\u043b\u0438\u0420\u0435\u0448\u0435\u043d\u0438\u0435: \u041f\u0440\u043e\u0432\u0430\u0439\u0434\u0435\u0440\u0441\u043a\u0438\u0435 \u0437\u0430\u0433\u043b\u0443\u0448\u043a\u0438 \u0432 \u0420\u043e\u0441\u0441\u0438\u0438 \u0438\u043c\u0435\u044e\u0442 \u0445\u0430\u0440\u0430\u043a\u0442\u0435\u0440\u043d\u0443\u044e \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u044c: \u043e\u043d\u0438 \u043f\u043e\u0447\u0442\u0438 \u0432\u0441\u0435\u0433\u0434\u0430 \u043c\u0430\u0441\u043a\u0438\u0440\u0443\u044e\u0442\u0441\u044f \u043f\u043e\u0434 \u0441\u0442\u0430\u0442\u0443\u0441 200 OK (\u043f\u0435\u0440\u0435\u0445\u0432\u0430\u0442 \u0441 \u043f\u043e\u0434\u043c\u0435\u043d\u043e\u0439 \u0442\u0435\u043b\u0430) \u043b\u0438\u0431\u043e \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u044e\u0442 \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u0441\u0442\u0430\u0442\u0443\u0441 451 Unavailable For Legal Reasons. HTTP 429 (Rate Limit) \u0438 403 \u0441 \u043a\u0430\u043f\u0447\u0435\u0439 &#8212; \u044d\u0442\u043e \u0440\u0435\u0430\u043a\u0446\u0438\u044f \u0441\u0430\u043c\u043e\u0433\u043e \u0446\u0435\u043b\u0435\u0432\u043e\u0433\u043e \u0441\u0435\u0440\u0432\u0435\u0440\u0430, \u0430 \u043d\u0435 \u0444\u0438\u043b\u044c\u0442\u0440\u0430 \u0422\u0421\u041f\u0423 \u043d\u0430 \u043c\u0430\u0433\u0438\u0441\u0442\u0440\u0430\u043b\u0438. \u0412 core.py \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u044f\u0432\u043d\u043e \u0440\u0430\u0437\u0432\u0435\u0441\u0442\u0438 \u043f\u043e\u043d\u044f\u0442\u0438\u044f \u0446\u0435\u043d\u0437\u0443\u0440\u044b \u0438 \u0430\u043d\u0442\u0438\u0431\u043e\u0442-\u0437\u0430\u0449\u0438\u0442\u044b:    if http_mod.looks_like_stub(probe.body_snippet):        if res.status_code == 429:            res.verdict = Verdict.DOWN            res.confidence = Confidence.LOW            res.notes.append(&#171;http 429 (antibot rate limit) contained words similar to a block stub&#187;)            return res        res.verdict = Verdict.HTTP_STUB        res.confidence = Confidence.HIGH        res.notes.append(            &#171;response body matches a known ISP stub-page marker&#187;        )        return resWeb UI: \u0417\u0430\u0447\u0435\u043c \u043a\u043e\u043d\u0441\u043e\u043b\u044c\u043d\u043e\u0439 \u0443\u0442\u0438\u043b\u0438\u0442\u0435 \u0431\u0440\u0430\u0443\u0437\u0435\u0440?\u0418\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e \u043f\u0440\u043e\u0435\u043a\u0442 \u0437\u0430\u0434\u0443\u043c\u044b\u0432\u0430\u043b\u0441\u044f \u0441\u0442\u0440\u043e\u0433\u043e \u043a\u0430\u043a CLI. \u041d\u043e \u043a\u043e\u0433\u0434\u0430 \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u0448\u044c \u0440\u0430\u0437\u0431\u0438\u0440\u0430\u0442\u044c \u0441\u043f\u043e\u0440\u043d\u044b\u0435 \u043a\u0435\u0439\u0441\u044b (\u201c\u043f\u043e\u0447\u0435\u043c\u0443 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u044b\u0439 \u0441\u0435\u0440\u0432\u0438\u0441 \u0442\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442, \u0442\u043e \u043d\u0435\u0442\u201d), \u0441\u0443\u0445\u043e\u0433\u043e \u0442\u0435\u043a\u0441\u0442\u0430 \u0432 \u043a\u043e\u043d\u0441\u043e\u043b\u0438 \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f \u043c\u0430\u043b\u043e. \u0425\u043e\u0447\u0435\u0442\u0441\u044f:\u041a\u043b\u0438\u043a\u043d\u0443\u0442\u044c \u043f\u043e \u0441\u0430\u0439\u0442\u0443 \u0438 \u0443\u0432\u0438\u0434\u0435\u0442\u044c \u0434\u0435\u0442\u0430\u043b\u044c\u043d\u044b\u0439 \u0442\u0430\u0439\u043c\u043b\u0430\u0439\u043d: \u043d\u0430 \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043c\u0438\u043b\u043b\u0438\u0441\u0435\u043a\u0443\u043d\u0434 \u0437\u0430\u0434\u0435\u0440\u0436\u0430\u043b\u0441\u044f TCP, \u043a\u0430\u043a \u043e\u0442\u0432\u0435\u0442\u0438\u043b TLS, \u0447\u0442\u043e \u0438\u043c\u0435\u043d\u043d\u043e \u0432\u0435\u0440\u043d\u0443\u043b DNS.\u0414\u0430\u0442\u044c \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442 \u0442\u0435\u043c, \u043a\u0442\u043e \u043d\u0435 \u043f\u0440\u0438\u0432\u044b\u043a \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0432 \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u0435.\u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0442\u044c \u043a\u0430\u0441\u0442\u043e\u043c\u043d\u044b\u0435 \u0434\u043e\u043c\u0435\u043d\u044b \u043f\u0440\u044f\u043c\u043e \u043d\u0430 \u043b\u0435\u0442\u0443 \u0438 \u043f\u0435\u0440\u0435\u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0442\u044c \u0438\u0445 \u0432 \u043e\u0434\u0438\u043d \u043a\u043b\u0438\u043a.\u0422\u0430\u0449\u0438\u0442\u044c \u0440\u0430\u0434\u0438 \u044d\u0442\u043e\u0433\u043e \u0442\u044f\u0436\u0435\u043b\u044b\u0435 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u0432\u0440\u043e\u0434\u0435 FastAPI, Flask \u0438\u043b\u0438 Uvicorn \u043d\u0435 \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0447\u0435\u0441\u043a\u0438. \u0418\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442 \u0434\u043e\u043b\u0436\u0435\u043d \u0441\u0442\u0430\u0432\u0438\u0442\u044c\u0441\u044f \u0437\u0430 \u0441\u0435\u043a\u0443\u043d\u0434\u0443 \u0447\u0435\u0440\u0435\u0437 pip install \u0432 \u0447\u0438\u0441\u0442\u044b\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0439 Python.\u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0432\u0435\u0431-\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u0431\u044b\u043b \u043d\u0430\u043f\u0438\u0441\u0430\u043d \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e \u043b\u0435\u0433\u043a\u043e\u0432\u0435\u0441\u043d\u043e:\u0411\u044d\u043a\u0435\u043d\u0434: \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0439 http.server.ThreadingHTTPServer \u0438\u0437 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e\u0439 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 Python.\u0424\u0440\u043e\u043d\u0442\u0435\u043d\u0434: \u043e\u0434\u0438\u043d \u0444\u0430\u0439\u043b index.html \u043d\u0430 \u0432\u0430\u043d\u0438\u043b\u044c\u043d\u043e\u043c JS \u0438 CSS \u0431\u0435\u0437 \u0441\u0431\u043e\u0440\u0449\u0438\u043a\u043e\u0432, node_modules \u0438 \u0432\u043d\u0435\u0448\u043d\u0438\u0445 CDN.\u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442\u0441\u044f \u043e\u0434\u043d\u043e\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439:rkn-check startweb\u0438\u043b\u0438rkn-check startweb &#8212;port 8080\u0421\u0435\u0440\u0432\u0435\u0440 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0441\u043b\u0443\u0448\u0430\u0435\u0442 127.0.0.1:7777. \u041a\u0430\u043a \u0443\u0441\u0442\u0440\u043e\u0435\u043d \u0440\u0435\u0430\u043b\u0442\u0430\u0439\u043c \u0431\u0435\u0437 WebSocket \u0427\u0442\u043e\u0431\u044b \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u043d\u0435 \u0432\u0438\u0441\u0435\u043b \u043c\u0435\u0440\u0442\u0432\u044b\u043c \u0432\u043e \u0432\u0440\u0435\u043c\u044f \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u0434\u0435\u0441\u044f\u0442\u043a\u043e\u0432 \u0441\u0430\u0439\u0442\u043e\u0432, \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u0434\u043e\u043b\u0436\u043d\u044b \u043f\u0440\u0438\u043b\u0435\u0442\u0430\u0442\u044c \u043f\u043e \u043c\u0435\u0440\u0435 \u0433\u043e\u0442\u043e\u0432\u043d\u043e\u0441\u0442\u0438 (\u043a\u0430\u043a \u0432 CLI \u0447\u0435\u0440\u0435\u0437 as_completed()). \u0412\u043c\u0435\u0441\u0442\u043e \u0442\u043e\u0433\u043e \u0447\u0442\u043e\u0431\u044b \u0433\u043e\u0440\u043e\u0434\u0438\u0442\u044c WebSocket \u0438\u043b\u0438 \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u044b\u0439 polling, \u0431\u044d\u043a\u0435\u043d\u0434 \u043e\u0442\u0434\u0430\u0435\u0442 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u043e\u0431\u044b\u0447\u043d\u044b\u043c HTTP-\u0441\u0442\u0440\u0438\u043c\u0438\u043d\u0433\u043e\u043c \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 NDJSON (Newline Delimited JSON):self.send_response(200)self.send_header(&#171;Content-Type&#187;, &#171;application\/x-ndjson; charset=utf-8&#187;)self.end_headers()for res in iter_check_urls(targets, max_workers=workers, timeout=timeout):    line = json.dumps(res.to_dict()) + &#171;\\n&#187;    self.wfile.write(line.encode(&#171;utf-8&#8243;))    self.wfile.flush() # \u0412\u044b\u0442\u0430\u043b\u043a\u0438\u0432\u0430\u0435\u043c \u0447\u0430\u043d\u043a \u0432 \u0441\u043e\u043a\u0435\u0442 \u0441\u0440\u0430\u0437\u0443\u0410 \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0439 fetch \u0447\u0438\u0442\u0430\u0435\u0442 \u043f\u043e\u0442\u043e\u043a \u0447\u0430\u043d\u043a\u043e\u0432 \u0447\u0435\u0440\u0435\u0437 ReadableStreamDefaultReader:const response = await fetch(&#8216;\/api\/scan&#8217;, { method: &#8216;POST&#8217;, body: JSON.stringify(payload) });const reader = response.body.getReader();const decoder = new TextDecoder();let buffer = &#187;;while (true) {    const { value, done } = await reader.read();    if (done) break;        buffer += decoder.decode(value, { stream: true });    let lines = buffer.split(&#8216;\\n&#8217;);    buffer = lines.pop(); \/\/ \u041d\u0435\u043f\u043e\u043b\u043d\u0443\u044e \u0441\u0442\u0440\u043e\u043a\u0443 \u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c \u0432 \u0431\u0443\u0444\u0435\u0440\u0435    for (let line of lines) {        if (!line.trim()) continue;        const result = JSON.parse(line);        updateTableRow(result); \/\/ \u041e\u0431\u043d\u043e\u0432\u043b\u044f\u0435\u043c \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u0443\u044e \u0441\u0442\u0440\u043e\u0447\u043a\u0443 \u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u0435 \u043d\u0430 \u043b\u0435\u0442\u0443    }}\u0427\u0442\u043e \u0432 \u0438\u0442\u043e\u0433\u0435 (\u0440\u0435\u043b\u0438\u0437 0.6.0)\u0412 \u0432\u0435\u0440\u0441\u0438\u044e 0.6.0 \u0432\u043e\u0448\u043b\u0438:\u041f\u043e\u043b\u043d\u043e\u0446\u0435\u043d\u043d\u044b\u0439 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u044b\u0439 Web UI (rkn-check startweb) \u0441 \u0433\u0440\u0430\u0444\u0438\u043a\u0430\u043c\u0438, \u043c\u0443\u043b\u044c\u0442\u0438\u044f\u0437\u044b\u0447\u043d\u043e\u0441\u0442\u044c\u044e (RU\/EN) \u0438 \u0440\u0443\u0447\u043d\u044b\u043c \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435\u043c \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u043b\u044c\u043d\u044b\u0445 URL\u0424\u0438\u043b\u044c\u0442\u0440\u0430\u0446\u0438\u044f \u043b\u043e\u0436\u043d\u044b\u0445 \u0441\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u043d\u0438\u0439 \u043d\u0430 \u0430\u043d\u0442\u0438\u0431\u043e\u0442-\u0437\u0430\u0433\u043b\u0443\u0448\u043a\u0438 (HTTP 429)\u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u044d\u043a\u0441\u043f\u043e\u0440\u0442\u0430 \u043f\u043e\u043b\u043d\u043e\u0433\u043e \u043e\u0442\u0447\u0435\u0442\u0430 \u0432 JSON \u043f\u0440\u044f\u043c\u043e \u0438\u0437 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430 \u0432 \u043e\u0434\u0438\u043d \u043a\u043b\u0438\u043a\u041a\u043e\u0434 \u043f\u043e-\u043f\u0440\u0435\u0436\u043d\u0435\u043c\u0443 \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u043e\u0442\u043a\u0440\u044b\u0442 \u043f\u043e\u0434 MIT:GitHub: https:\/\/github.com\/MayersScott\/rkn-block-checkerPyPI: pip install rkn-block-checker &#8212;upgrade\u0411\u0443\u0434\u0443 \u0440\u0430\u0434 \u043b\u044e\u0431\u043e\u043c\u0443 \u0444\u0438\u0434\u0431\u0435\u043a\u0443!\u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 https:\/\/habr.com\/ru\/articles\/1081618\/<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-494478","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/494478","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=494478"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/494478\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=494478"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=494478"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=494478"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}