Вытянуть данные из модального окна

Onegogh

Client
Регистрация
23.12.2015
Сообщения
33
Благодарностей
6
Баллы
8
Привет, ребят!
Вот есть страница.
что делаю.png
Она доступна через прокси и там еще есть turnstile капча, это все я научился обходить.
И вот по нажатию кнопки Показать Бэклинки срабатывает JS и вылезает модальное окно (через реакт сделано). Обратите внимание, там своя полоса прокрутки в этом окне.
модальное окно.png

Это модальное окно содержит таблицу. Но я не могу до нее добраться. Потому что зенка как бы считает это модальное окно чем то отдельным от dom модели страницы. В PM в окне инстанса по модульному окну не работает правая кнопка мыши, а Dom модель берется пустой. Остальные способы которые я пробовал
тоже не сработали, приходится позориться и писать тут.

Подскажите пожалуйста как мне просто получить inner html этого модального окна.
 

baracuda

Client
Регистрация
19.06.2013
Сообщения
763
Благодарностей
262
Баллы
63
если можешь обходить капчу и получать сигнатуру
https://ahrefs.com/v4/stGetFreeBacklinksOverview:
[
    "Ok",
    {
        "data": {
            "domainRating": 18.0,
            "urlRating": 5,
            "backlinks": 61,
            "refdomains": 30,
            "dofollowBacklinks": 38,
            "dofollowRefdomains": 40
        },
        "signedInput": {
            "input": {
                "url": "seo-excel.ru/",
                "mode": "subdomains",
                "validUntil": "2024-07-23T19:04:12Z"
            },
            "signature": "09b79748ad667f3cb2d7d2d46940e871bc4aae1b844e8f3077a3e695303c9f47"
        }
    }
]
Берём сигнатуру и подставляем
https://ahrefs.com/v4/stGetFreeBacklinksList:
{"reportType":"TopBacklinks","signedInput":{"signature":"09b79748ad667f3cb2d7d2d46940e871bc4aae1b844e8f3077a3e695303c9f47","input":{"validUntil":"2024-07-23T19:04:12.000Z","mode":"subdomains","url":"seo-excel.ru/"}}}
На выходе JSON
Ответ сервера:
[
    "TopBacklinks",
    {
        "topBacklinks": {
            "backlinks": [
                {
                    "anchor": "надстройкой",
                    "domainRating": 86,
                    "edu": false,
                    "gov": false,
                    "httpCode": 200,
                    "redirectChain": [],
                    "text": true,
                    "textPost": "для Excel.",
                    "textPre": "Для постобработки кластеризованной семантики можно воспользоваться бесплатной",
                    "title": "Правильно собрать семантическое ядро для продвижения сайта — SEO на vc.ru",
                    "urlFrom": "https://vc.ru/seo/61162-pravilno-sobrat-semanticheskoe-yadro-dlya-prodvizheniya-saita",
                    "urlTo": "https://seo-excel.ru/",
                    "inRendered": true,
                    "inRaw": true,
                    "redirectCode": 0,
                    "original": true,
                    "urlToMustBeGray": false,
                    "urlToHttpCodeCross": false,
                    "urlToNew": "None",
                    "urlToChainDestinationChanged": false,
                    "urlToDelReasonTitle": "None",
                    "urlToDelReasonKey": "None",
                    "urlToHasDelReason": false,
                    "lost_redirect_reason": "",
                    "del_reason": "",
                    "lost_redirect_source": "",
                    "lost_redirect_new_target": "",
                    "isLost": true
                },
                {
                    "anchor": "SEO Excel",
                    "domainRating": 45,
                    "edu": false,
                    "gov": false,
                    "httpCode": 200,
                    "redirectChain": [],
                    "text": true,
                    "textPost": ".",
                    "textPre": "от мусора можно ускорить с помощью надстройки для Excel —",
                    "title": "Как собрать семантическое ядро для интернет-магазина | SiteClinic.ru",
                    "urlFrom": "https://siteclinic.ru/blog/internal-optimization/sbor-i-analiz-semanticheskogo-yadra-dlya-internet-magazina/",
                    "urlTo": "https://seo-excel.ru/",
                    "inRendered": false,
                    "inRaw": true,
                    "redirectCode": 0,
                    "original": true,
                    "urlToMustBeGray": false,
                    "urlToHttpCodeCross": false,
                    "urlToNew": "None",
                    "urlToChainDestinationChanged": false,
                    "urlToDelReasonTitle": "None",
                    "urlToDelReasonKey": "None",
                    "urlToHasDelReason": false,
                    "lost_redirect_reason": "",
                    "del_reason": "",
                    "lost_redirect_source": "",
                    "lost_redirect_new_target": "",
                    "isLost": true
                },
                {
                    "anchor": "частоте Климова",
                    "domainRating": 33,
                    "edu": false,
                    "gov": false,
                    "httpCode": 200,
                    "redirectChain": [],
                    "text": true,
                    "textPost": "+ синоним. В дискрипшин два прямых вхождения в разных предложенияхт.",
                    "textPre": "правильные имеет для поисковиков. В тайтл используйте один ключ по",
                    "title": "Что такое сниппет сайта в SEO: анализ и настройка в Яндекс и Google",
                    "urlFrom": "https://web-f.ru/chto-takoe-snippet-sajta-v-seo-i-kak-ego-gramotno-sostavit-fishki-i-sekrety/",
                    "urlTo": "https://seo-excel.ru/title/chastotnost-klimova/",
                    "inRendered": false,
                    "inRaw": true,
                    "redirectCode": 0,
                    "original": true,
                    "urlToMustBeGray": false,
                    "urlToHttpCodeCross": false,
                    "urlToNew": "None",
                    "urlToChainDestinationChanged": false,
                    "urlToDelReasonTitle": "None",
                    "urlToDelReasonKey": "None",
                    "urlToHasDelReason": false,
                    "lost_redirect_reason": "",
                    "del_reason": "",
                    "lost_redirect_source": "",
                    "lost_redirect_new_target": "",
                    "isLost": true
                },
                {
                    "anchor": "",
                    "domainRating": 59,
                    "edu": false,
                    "gov": false,
                    "httpCode": 200,
                    "redirectChain": [],
                    "text": true,
                    "textPost": "",
                    "textPre": "seo-excel.ru",
                    "title": "Domains on ip 87.236.16.34",
                    "urlFrom": "https://domains.tntcode.com/ip/87.236.16.34",
                    "urlTo": "https://seo-excel.ru/",
                    "inRendered": false,
                    "inRaw": true,
                    "redirectCode": 0,
                    "original": true,
                    "urlToMustBeGray": false,
                    "urlToHttpCodeCross": false,
                    "urlToNew": "None",
                    "urlToChainDestinationChanged": false,
                    "urlToDelReasonTitle": "None",
                    "urlToDelReasonKey": "None",
                    "urlToHasDelReason": false,
                    "lost_redirect_reason": "",
                    "del_reason": "",
                    "lost_redirect_source": "",
                    "lost_redirect_new_target": "",
                    "isLost": true
                },
                {
                    "anchor": "https://seo-excel.ru/",
                    "domainRating": 74,
                    "edu": false,
                    "gov": false,
                    "httpCode": 200,
                    "redirectChain": [],
                    "text": true,
                    "textPost": "",
                    "textPre": "",
                    "title": "6 SEO-инструментов, о которых редко пишут в статьях | Статьи SEOnews",
                    "urlFrom": "https://www.seonews.ru/analytics/6-poleznykh-servisov-i-dopolneniy-dlya-seo-o-kotorykh-redko-pishut-v-statyakh/",
                    "urlTo": "https://seo-excel.ru/",
                    "inRendered": true,
                    "inRaw": true,
                    "redirectCode": 0,
                    "original": true,
                    "urlToMustBeGray": false,
                    "urlToHttpCodeCross": false,
                    "urlToNew": "None",
                    "urlToChainDestinationChanged": false,
                    "urlToDelReasonTitle": "None",
                    "urlToDelReasonKey": "None",
                    "urlToHasDelReason": false,
                    "lost_redirect_reason": "",
                    "del_reason": "",
                    "lost_redirect_source": "",
                    "lost_redirect_new_target": "",
                    "isLost": true
                },
                {
                    "anchor": "Скачати",
                    "domainRating": 19,
                    "edu": false,
                    "gov": false,
                    "httpCode": 200,
                    "redirectChain": [],
                    "text": true,
                    "textPost": "",
                    "textPre": "",
                    "title": "SEO Exel. Опис, відгуки, аналоги",
                    "urlFrom": "https://seonomad.net/seotools/seo-exel",
                    "urlTo": "https://seo-excel.ru/",
                    "inRendered": false,
                    "inRaw": true,
                    "redirectCode": 0,
                    "original": true,
                    "urlToMustBeGray": false,
                    "urlToHttpCodeCross": false,
                    "urlToNew": "None",
                    "urlToChainDestinationChanged": false,
                    "urlToDelReasonTitle": "None",
                    "urlToDelReasonKey": "None",
                    "urlToHasDelReason": false,
                    "lost_redirect_reason": "",
                    "del_reason": "",
                    "lost_redirect_source": "",
                    "lost_redirect_new_target": "",
                    "isLost": true
                },
                {
                    "anchor": "seo-excel",
                    "domainRating": 65,
                    "edu": false,
                    "gov": false,
                    "httpCode": 200,
                    "redirectChain": [],
                    "text": true,
                    "textPost": "",
                    "textPre": "",
                    "title": "WebsitesCrawl.com | Most Used Websites | page No. 19339",
                    "urlFrom": "http://www.websitescrawl.com/domain-list-19339",
                    "urlTo": "http://seo-excel.ru/",
                    "inRendered": false,
                    "inRaw": true,
                    "redirectCode": 0,
                    "original": true,
                    "urlToMustBeGray": false,
                    "urlToHttpCodeCross": false,
                    "urlToNew": "None",
                    "urlToChainDestinationChanged": false,
                    "urlToDelReasonTitle": "None",
                    "urlToDelReasonKey": "None",
                    "urlToHasDelReason": false,
                    "lost_redirect_reason": "",
                    "del_reason": "",
                    "lost_redirect_source": "",
                    "lost_redirect_new_target": "",
                    "isLost": true
                },
                {
                    "anchor": "seo-excel.ru",
                    "domainRating": 44,
                    "edu": false,
                    "gov": false,
                    "httpCode": 200,
                    "redirectChain": [],
                    "text": true,
                    "textPost": "",
                    "textPre": "",
                    "title": "increase-domain-rating-1661 – iT Xoft",
                    "urlFrom": "https://itxoft.com/increase-domain-rating-1661/",
                    "urlTo": "https://seo-excel.ru/",
                    "inRendered": false,
                    "inRaw": true,
                    "redirectCode": 0,
                    "original": true,
                    "urlToMustBeGray": false,
                    "urlToHttpCodeCross": false,
                    "urlToNew": "None",
                    "urlToChainDestinationChanged": false,
                    "urlToDelReasonTitle": "None",
                    "urlToDelReasonKey": "None",
                    "urlToHasDelReason": false,
                    "lost_redirect_reason": "",
                    "del_reason": "",
                    "lost_redirect_source": "",
                    "lost_redirect_new_target": "",
                    "isLost": true
                },
                {
                    "anchor": "SEO Excel",
                    "domainRating": 45,
                    "edu": false,
                    "gov": false,
                    "httpCode": 200,
                    "redirectChain": [],
                    "text": true,
                    "textPost": "",
                    "textPre": "",
                    "title": "350+ лучших SEO сервисов и программ для продвижения в 2024",
                    "urlFrom": "https://site-analyzer.ru/articles/services-search/",
                    "urlTo": "https://seo-excel.ru/",
                    "inRendered": false,
                    "inRaw": true,
                    "redirectCode": 0,
                    "original": true,
                    "urlToMustBeGray": false,
                    "urlToHttpCodeCross": false,
                    "urlToNew": "None",
                    "urlToChainDestinationChanged": false,
                    "urlToDelReasonTitle": "None",
                    "urlToDelReasonKey": "None",
                    "urlToHasDelReason": false,
                    "lost_redirect_reason": "",
                    "del_reason": "",
                    "lost_redirect_source": "",
                    "lost_redirect_new_target": "",
                    "isLost": true
                },
                {
                    "anchor": "надстройкой",
                    "domainRating": 0,
                    "edu": false,
                    "gov": false,
                    "httpCode": 200,
                    "redirectChain": [],
                    "text": true,
                    "textPost": "для Excel.",
                    "textPre": "Для постобработки кластеризованной семантики можно воспользоваться бесплатной",
                    "title": "Собираем семантическое ядро для продвижения сайта - Digital marketing для всех!",
                    "urlFrom": "https://pavelkarikoff.ru/marketing/sobiraem-semanticheskoe-yadro-dlya-prodvizheniya-sajta",
                    "urlTo": "https://seo-excel.ru/",
                    "inRendered": false,
                    "inRaw": true,
                    "redirectCode": 0,
                    "original": true,
                    "urlToMustBeGray": false,
                    "urlToHttpCodeCross": false,
                    "urlToNew": "None",
                    "urlToChainDestinationChanged": false,
                    "urlToDelReasonTitle": "None",
                    "urlToDelReasonKey": "None",
                    "urlToHasDelReason": false,
                    "lost_redirect_reason": "",
                    "del_reason": "",
                    "lost_redirect_source": "",
                    "lost_redirect_new_target": "",
                    "isLost": true
                },
                {
                    "anchor": "https://seo-excel.ru/lemmatizator/",
                    "domainRating": 28,
                    "edu": false,
                    "gov": false,
                    "httpCode": 200,
                    "redirectChain": [],
                    "text": true,
                    "textPost": "",
                    "textPre": "",
                    "title": "Правильная SEO структура интернет-магазина - Бизнесолог",
                    "urlFrom": "https://businessolog.ru/seo-structura-internet-magazina/",
                    "urlTo": "https://seo-excel.ru/lemmatizator/",
                    "inRendered": false,
                    "inRaw": true,
                    "redirectCode": 0,
                    "original": true,
                    "urlToMustBeGray": false,
                    "urlToHttpCodeCross": false,
                    "urlToNew": "None",
                    "urlToChainDestinationChanged": false,
                    "urlToDelReasonTitle": "None",
                    "urlToDelReasonKey": "None",
                    "urlToHasDelReason": false,
                    "lost_redirect_reason": "",
                    "del_reason": "",
                    "lost_redirect_source": "",
                    "lost_redirect_new_target": "",
                    "isLost": true
                },
                {
                    "anchor": "http://seo-excel.ru",
                    "domainRating": 41,
                    "edu": false,
                    "gov": false,
                    "httpCode": 200,
                    "redirectChain": [],
                    "text": true,
                    "textPost": "",
                    "textPre": "для этого, или регексп. А так возможно и там можно",
                    "title": "Настройка csv для импорта - Страница 2 - Импорт и экспорт - JBZoo Community",
                    "urlFrom": "https://forum.jbzoo.com/topic/18822-nastrojka-csv-dlya-importa/page-2",
                    "urlTo": "http://seo-excel.ru/",
                    "inRendered": false,
                    "inRaw": true,
                    "redirectCode": 0,
                    "original": true,
                    "urlToMustBeGray": false,
                    "urlToHttpCodeCross": false,
                    "urlToNew": "None",
                    "urlToChainDestinationChanged": false,
                    "urlToDelReasonTitle": "None",
                    "urlToDelReasonKey": "None",
                    "urlToHasDelReason": false,
                    "lost_redirect_reason": "",
                    "del_reason": "",
                    "lost_redirect_source": "",
                    "lost_redirect_new_target": "",
                    "isLost": true
                },
                {
                    "anchor": "",
                    "domainRating": 70,
                    "edu": false,
                    "gov": false,
                    "httpCode": 200,
                    "redirectChain": [],
                    "text": true,
                    "textPost": "",
                    "textPre": "seo-excel.ru",
                    "title": "Top 31 Similar websites like translityandex.ru and alternatives",
                    "urlFrom": "https://www.sitelike.org/similar/translityandex.ru/",
                    "urlTo": "https://www.seo-excel.ru/",
                    "inRendered": false,
                    "inRaw": true,
                    "redirectCode": 0,
                    "original": true,
                    "urlToMustBeGray": false,
                    "urlToHttpCodeCross": false,
                    "urlToNew": "None",
                    "urlToChainDestinationChanged": false,
                    "urlToDelReasonTitle": "None",
                    "urlToDelReasonKey": "None",
                    "urlToHasDelReason": false,
                    "lost_redirect_reason": "",
                    "del_reason": "",
                    "lost_redirect_source": "",
                    "lost_redirect_new_target": "",
                    "isLost": true
                },
                {
                    "anchor": "Генератор YML",
                    "domainRating": 8,
                    "edu": false,
                    "gov": false,
                    "httpCode": 200,
                    "redirectChain": [],
                    "text": true,
                    "textPost": "",
                    "textPre": "",
                    "title": "Скачать - Импорт каталога из YML | v1.2.17 | Страница 2 | Все для вебмастера | Skripters.Net",
                    "urlFrom": "https://skripters.net/threads/171/page-2",
                    "urlTo": "https://seo-excel.ru/yandex-yml-tovary-i-ceny/",
                    "inRendered": false,
                    "inRaw": true,
                    "redirectCode": 0,
                    "original": true,
                    "urlToMustBeGray": false,
                    "urlToHttpCodeCross": false,
                    "urlToNew": "None",
                    "urlToChainDestinationChanged": false,
                    "urlToDelReasonTitle": "None",
                    "urlToDelReasonKey": "None",
                    "urlToHasDelReason": false,
                    "lost_redirect_reason": "",
                    "del_reason": "",
                    "lost_redirect_source": "",
                    "lost_redirect_new_target": "",
                    "isLost": true
                },
                {
                    "anchor": "SEO Excel",
                    "domainRating": 3,
                    "edu": false,
                    "gov": false,
                    "httpCode": 200,
                    "redirectChain": [],
                    "text": true,
                    "textPost": ".",
                    "textPre": "від сміття можна прискорити за допомогою надбудови для Exce —",
                    "title": "Як зібрати семантичне ядро для інтернет-магазину | SiteClinic.Україна",
                    "urlFrom": "https://siteclinic.ua/blog/internal-optimization/semantychne-yadro-internet-magazynu/",
                    "urlTo": "https://seo-excel.ru/",
                    "inRendered": false,
                    "inRaw": true,
                    "redirectCode": 0,
                    "original": true,
                    "urlToMustBeGray": false,
                    "urlToHttpCodeCross": false,
                    "urlToNew": "None",
                    "urlToChainDestinationChanged": false,
                    "urlToDelReasonTitle": "None",
                    "urlToDelReasonKey": "None",
                    "urlToHasDelReason": false,
                    "lost_redirect_reason": "",
                    "del_reason": "",
                    "lost_redirect_source": "",
                    "lost_redirect_new_target": "",
                    "isLost": true
                },
                {
                    "anchor": "SEO Excel",
                    "domainRating": 7,
                    "edu": false,
                    "gov": false,
                    "httpCode": 200,
                    "redirectChain": [],
                    "text": true,
                    "textPost": "",
                    "textPre": "",
                    "title": "Более 300+ инструментов и программ для SEO-продвижения - IT-сервис фриланс услуг \"EKBGID\" - это комплексные услуги: поискового продвижения сайтов, аудита, разработки и поддержки web-сайтов, модернизации, редизайна, верстки, PR в Интернете, SMM, внедрения CRM. Комплексный и эффективный Интернет-маркетинг - \"под",
                    "urlFrom": "https://www.ekbgid.ru/blog/seo/bolee-300-instrumentov-i-programm-dlya-seo-prodvizheniya",
                    "urlTo": "https://seo-excel.ru/",
                    "inRendered": false,
                    "inRaw": true,
                    "redirectCode": 0,
                    "original": true,
                    "urlToMustBeGray": false,
                    "urlToHttpCodeCross": false,
                    "urlToNew": "None",
                    "urlToChainDestinationChanged": false,
                    "urlToDelReasonTitle": "None",
                    "urlToDelReasonKey": "None",
                    "urlToHasDelReason": false,
                    "lost_redirect_reason": "",
                    "del_reason": "",
                    "lost_redirect_source": "",
                    "lost_redirect_new_target": "",
                    "isLost": true
                },
                {
                    "anchor": "надстройку для Excel – SEO-excel",
                    "domainRating": 9,
                    "edu": false,
                    "gov": false,
                    "httpCode": 200,
                    "redirectChain": [],
                    "text": true,
                    "textPost": ". Она умеет подсвечивать группы, генерировать URL, Title и т.",
                    "textPre": "При работе с семантикой рекомендуем использовать",
                    "title": "Поисковое продвижение молодого сайта | БлогСтикер",
                    "urlFrom": "https://www.myoversite.info/node/1450",
                    "urlTo": "http://seo-excel.ru/",
                    "inRendered": false,
                    "inRaw": true,
                    "redirectCode": 0,
                    "original": true,
                    "urlToMustBeGray": false,
                    "urlToHttpCodeCross": false,
                    "urlToNew": "None",
                    "urlToChainDestinationChanged": false,
                    "urlToDelReasonTitle": "None",
                    "urlToDelReasonKey": "None",
                    "urlToHasDelReason": false,
                    "lost_redirect_reason": "",
                    "del_reason": "",
                    "lost_redirect_source": "",
                    "lost_redirect_new_target": "",
                    "isLost": true
                },
                {
                    "anchor": "Источник",
                    "domainRating": 1,
                    "edu": false,
                    "gov": false,
                    "httpCode": 200,
                    "redirectChain": [],
                    "text": true,
                    "textPost": "",
                    "textPre": "",
                    "title": "Excel массовая замена по списку - Word и Excel - помощь в работе с программами",
                    "urlFrom": "https://wordexcele.ru/excel-massovaya-zamena-po-spisku/",
                    "urlTo": "https://seo-excel.ru/zamena-po-spisku/",
                    "inRendered": false,
                    "inRaw": true,
                    "redirectCode": 0,
                    "original": true,
                    "urlToMustBeGray": false,
                    "urlToHttpCodeCross": false,
                    "urlToNew": "None",
                    "urlToChainDestinationChanged": false,
                    "urlToDelReasonTitle": "None",
                    "urlToDelReasonKey": "None",
                    "urlToHasDelReason": false,
                    "lost_redirect_reason": "",
                    "del_reason": "",
                    "lost_redirect_source": "",
                    "lost_redirect_new_target": "",
                    "isLost": true
                },
                {
                    "anchor": "seo-excel.ru",
                    "domainRating": 58,
                    "edu": false,
                    "gov": false,
                    "httpCode": 200,
                    "redirectChain": [],
                    "text": true,
                    "textPost": "&nbsp",
                    "textPre": "internet",
                    "title": "❤️ URL Shared ❤️",
                    "urlFrom": "https://urls-shortener.eu/share/122375",
                    "urlTo": "https://seo-excel.ru/",
                    "inRendered": false,
                    "inRaw": true,
                    "redirectCode": 0,
                    "original": true,
                    "urlToMustBeGray": false,
                    "urlToHttpCodeCross": false,
                    "urlToNew": "None",
                    "urlToChainDestinationChanged": false,
                    "urlToDelReasonTitle": "None",
                    "urlToDelReasonKey": "None",
                    "urlToHasDelReason": false,
                    "lost_redirect_reason": "",
                    "del_reason": "",
                    "lost_redirect_source": "",
                    "lost_redirect_new_target": "",
                    "isLost": true
                },
                {
                    "anchor": "I saw",
                    "domainRating": 16,
                    "edu": false,
                    "gov": false,
                    "httpCode": 200,
                    "redirectChain": [],
                    "text": true,
                    "textPost": "I saw I saw",
                    "textPre": "I saw I saw",
                    "title": "Website owners? game over! – Is this you?",
                    "urlFrom": "https://bonusgate.org/?p=998",
                    "urlTo": "https://seo-excel.ru/",
                    "inRendered": false,
                    "inRaw": true,
                    "redirectCode": 0,
                    "original": true,
                    "urlToMustBeGray": false,
                    "urlToHttpCodeCross": false,
                    "urlToNew": "None",
                    "urlToChainDestinationChanged": false,
                    "urlToDelReasonTitle": "None",
                    "urlToDelReasonKey": "None",
                    "urlToHasDelReason": false,
                    "lost_redirect_reason": "",
                    "del_reason": "",
                    "lost_redirect_source": "",
                    "lost_redirect_new_target": "",
                    "isLost": true
                }
            ],
            "total": 20
        }
    }
]
 
  • Спасибо
Реакции: Onegogh

baracuda

Client
Регистрация
19.06.2013
Сообщения
763
Благодарностей
262
Баллы
63
Ну или как то так

 
  • Спасибо
Реакции: Onegogh

Onegogh

Client
Регистрация
23.12.2015
Сообщения
33
Благодарностей
6
Баллы
8

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)