Как достать куки в zennodroid?

clocky

Client
Регистрация
26.09.2019
Сообщения
363
Благодарностей
48
Баллы
28
Кто-то может подсказать, как достать куки в zennodroid?
 

Sergodjan

Administrator
Команда форума
Регистрация
05.09.2012
Сообщения
20 366
Благодарностей
9 098
Баллы
113

clocky

Client
Регистрация
26.09.2019
Сообщения
363
Благодарностей
48
Баллы
28
А можно ли как-то достать только определенного домена? или нескольких нужных? Например facebook и yandex
 

Sergodjan

Administrator
Команда форума
Регистрация
05.09.2012
Сообщения
20 366
Благодарностей
9 098
Баллы
113
А можно ли как-то достать только определенного домена? или нескольких нужных? Например facebook и yandex
Можно достать весь массив кук из браузера и там сделать парсинг по нужным доменам.
 

clocky

Client
Регистрация
26.09.2019
Сообщения
363
Благодарностей
48
Баллы
28
Можно достать весь массив кук из браузера и там сделать парсинг по нужным доменам.
Я пробовал делать замену, удаляя ненужны домены с помощью regex. Что то не получается.. Как это можно сделать?
 

Sergodjan

Administrator
Команда форума
Регистрация
05.09.2012
Сообщения
20 366
Благодарностей
9 098
Баллы
113
Я пробовал делать замену, удаляя ненужны домены с помощью regex. Что то не получается.. Как это можно сделать?
Нужен пример куска куков после экспорта и пример данных которые нужно получить.
 

clocky

Client
Регистрация
26.09.2019
Сообщения
363
Благодарностей
48
Баллы
28
Например удалить первые куки yandex, оставить всё остальное..

куки:
[
  {
    "domain": ".yandex.ru",
    "expirationDate": 1738898923,
    "httpOnly": false,
    "name": "UID",
    "path": "/",
    "sameSite": "None",
    "secure": true,
    "value": "491f72c7661596f2559fabc4760e5df01adaa5026252898fd5e331a2cb3a4290",
    "creation_utc": 1707362923,
    "top_frame_site_key": "",
    "encrypted_value": "",
    "last_access_utc": 1707362923,
    "has_expires": 1,
    "is_persistent": 1,
    "priority": 1,
    "source_scheme": 2,
    "source_port": 443,
    "is_same_party": 0
  },
  {
    "domain": ".youtube.com",
    "expirationDate": 1722914996,
    "httpOnly": true,
    "name": "VISITOR_INFO1_LIVE",
    "path": "/",
    "sameSite": "None",
    "secure": true,
    "value": "b9qOuKIpjYU",
    "creation_utc": 1707362996,
    "top_frame_site_key": "",
    "encrypted_value": "",
    "last_access_utc": 1707368612,
    "has_expires": 1,
    "is_persistent": 1,
    "priority": 1,
    "source_scheme": 2,
    "source_port": 443,
    "is_same_party": 0
  },
  {
    "domain": ".youtube.com",
    "expirationDate": 1722914996,
    "httpOnly": true,
    "name": "VISITOR_PRIVACY_METADATA",
    "path": "/",
    "sameSite": "Lax",
    "secure": true,
    "value": "CgJVQRIEGgAgJw%3D%3D",
    "creation_utc": 1707362996,
    "top_frame_site_key": "",
    "encrypted_value": "",
    "last_access_utc": 1707368612,
    "has_expires": 1,
    "is_persistent": 1,
    "priority": 1,
    "source_scheme": 2,
    "source_port": 443,
    "is_same_party": 0
  },
  {
    "domain": ".youtube.com",
    "expirationDate": 0,
    "httpOnly": true,
    "name": "YSC",
    "path": "/",
    "sameSite": "None",
    "secure": true,
    "value": "8JobMVqgiLE",
    "creation_utc": 1707362996,
    "top_frame_site_key": "",
    "encrypted_value": "",
    "last_access_utc": 1707368612,
    "has_expires": 0,
    "is_persistent": 0,
    "priority": 1,
    "source_scheme": 2,
    "source_port": 443,
    "is_same_party": 0
  },
  {
    "domain": "accounts.google.com",
    "expirationDate": 1709955371,
    "httpOnly": false,
    "name": "OTZ",
    "path": "/",
    "sameSite": "Unspecified",
    "secure": true,
    "value": "7416795_48_48_123900_44_436380",
    "creation_utc": 1707363371,
    "top_frame_site_key": "",
    "encrypted_value": "",
    "last_access_utc": 1707368617,
    "has_expires": 1,
    "is_persistent": 1,
    "priority": 1,
    "source_scheme": 2,
    "source_port": 443,
    "is_same_party": 0
  },
  {
    "domain": "accounts.google.com",
    "expirationDate": 1741927891,
    "httpOnly": true,
    "name": "ACCOUNT_CHOOSER",
    "path": "/",
    "sameSite": "Unspecified",
    "secure": true,
    "value": "AFx_qI4z9cwwvQGRHz9bpjMmBoByjEPh70-fIcDPX6M_rYFZdNo1DG7EfLRfovwoyXyHV9PqjxfZZsYc-W83JoxxnzMrz2S4nn-pX7_GBhyUcteDc79zIkg",
    "creation_utc": 1707367891,
    "top_frame_site_key": "",
    "encrypted_value": "",
    "last_access_utc": 1707368557,
    "has_expires": 1,
    "is_persistent": 1,
    "priority": 2,
    "source_scheme": 2,
    "source_port": 443,
    "is_same_party": 0
  },
  {
    "domain": ".google.com",
    "expirationDate": 1741927891,
    "httpOnly": false,
    "name": "APISID",
    "path": "/",
    "sameSite": "Unspecified",
    "secure": false,
    "value": "n36Ncn5bm0sBoE5-/AgjUaJdgPAPz7wJsz",
    "creation_utc": 1707367891,
    "top_frame_site_key": "",
    "encrypted_value": "",
    "last_access_utc": 1707368586,
    "has_expires": 1,
    "is_persistent": 1,
    "priority": 2,
    "source_scheme": 2,
    "source_port": 443,
    "is_same_party": 0
  },
  {
    "domain": ".google.com.ua",
    "expirationDate": 1741927895,
    "httpOnly": false,
    "name": "APISID",
    "path": "/",
    "sameSite": "Unspecified",
    "secure": false,
    "value": "n36Ncn5bm0sBoE5-/AgjUaJdgPAPz7wJsz",
    "creation_utc": 1707367895,
    "top_frame_site_key": "",
    "encrypted_value": "",
    "last_access_utc": 1707367895,
    "has_expires": 1,
    "is_persistent": 1,
    "priority": 2,
    "source_scheme": 2,
    "source_port": 443,
    "is_same_party": 0
  },
  {
    "domain": ".youtube.com",
    "expirationDate": 1741927901,
    "httpOnly": false,
    "name": "APISID",
    "path": "/",
    "sameSite": "Unspecified",
    "secure": false,
    "value": "n36Ncn5bm0sBoE5-/AgjUaJdgPAPz7wJsz",
    "creation_utc": 1707367893,
    "top_frame_site_key": "",
    "encrypted_value": "",
    "last_access_utc": 1707368633,
    "has_expires": 1,
    "is_persistent": 1,
    "priority": 2,
    "source_scheme": 2,
    "source_port": 443,
    "is_same_party": 0
  },
  {
    "domain": ".google.com",
    "expirationDate": 1741927891,
    "httpOnly": true,
    "name": "HSID",
    "path": "/",
    "sameSite": "Unspecified",
    "secure": false,
    "value": "ACOyKCWEEJp_g9i8Y",
    "creation_utc": 1707367891,
    "top_frame_site_key": "",
    "encrypted_value": "",
    "last_access_utc": 1707368526,
    "has_expires": 1,
    "is_persistent": 1,
    "priority": 2,
    "source_scheme": 2,
    "source_port": 443,
    "is_same_party": 0
  },
  {
    "domain": ".google.com.ua",
    "expirationDate": 1741927895,
    "httpOnly": true,
    "name": "HSID",
    "path": "/",
    "sameSite": "Unspecified",
    "secure": false,
    "value": "A16Go___bhnocSstc",
    "creation_utc": 1707367895,
    "top_frame_site_key": "",
    "encrypted_value": "",
    "last_access_utc": 1707367895,
    "has_expires": 1,
    "is_persistent": 1,
    "priority": 2,
    "source_scheme": 2,
    "source_port": 443,
    "is_same_party": 0
  },
  {
    "domain": ".youtube.com",
    "expirationDate": 1741927901,
    "httpOnly": true,
    "name": "HSID",
    "path": "/",
    "sameSite": "Unspecified",
    "secure": false,
    "value": "A16Go___bhnocSstc",
    "creation_utc": 1707367893,
    "top_frame_site_key": "",
    "encrypted_value": "",
    "last_access_utc": 1707368612,
    "has_expires": 1,
    "is_persistent": 1,
    "priority": 2,
    "source_scheme": 2,
    "source_port": 443,
    "is_same_party": 0
  },
  {
    "domain": ".youtube.com",
    "expirationDate": 1741927901,
    "httpOnly": true,
    "name": "LOGIN_INFO",
    "path": "/",
    "sameSite": "None",
    "secure": true,
    "value": "AFmmF2swRAIgLPLf46LvHNibyd097cNauk_nGtg6Z1ozHWaJE9_U-qoCIG8x7T5qmT2HuYIVdsQepDqKO09CrH9BQpVs3RcNW1kg:QUQ3MjNmeE9lZDVVd3FJSks4RzB2V2o4TnpUaFNGSk0yRUM2NC1yWWZ5WVNNVGRtb2VHNXZXZS1Ib1FNZHY2MUpUUU5TM05qRjROM1d1NGlrSDFJMVFkZmd2c3ByQ3NxcFNoSnJZc2ZIalpKa0htUDZNNHFCbEpOREl3ZE1TQi01WUl1a2RQaFBOU1Z3Q1YzYTZiWjBRUGJVTEgtTE5WRklB",
    "creation_utc": 1707367901,
    "top_frame_site_key": "",
    "encrypted_value": "",
    "last_access_utc": 1707368612,
    "has_expires": 1,
    "is_persistent": 1,
    "priority": 1,
    "source_scheme": 2,
    "source_port": 443,
    "is_same_party": 0
  },
  {
    "domain": "accounts.google.com",
    "expirationDate": 1741927911,
    "httpOnly": true,
    "name": "LSID",
    "path": "/",
    "sameSite": "Unspecified",
    "secure": true,
    "value": "o.myaccount.google.com|s.UA|s.youtube:g.a000gAg2sURXDTM5oVGSAJNjz2Kwrfbc4P0v3AUyCTVqXQkxdnZOWq8kdfKq_ZtFVH3b6FS6hgACgYKAa4SAQASFQHGX2Miardsa6bJQnhm88kg39rg-hoVAUF8yKqyH1nzLPi4pButCfCxnc_M0076",
    "creation_utc": 1707367911,
    "top_frame_site_key": "",
    "encrypted_value": "",
    "last_access_utc": 1707368557,
    "has_expires": 1,
    "is_persistent": 1,
    "priority": 2,
    "source_scheme": 2,
    "source_port": 443,
    "is_same_party": 0
  },
  {
    "domain": ".google.com",
    "expirationDate": 1723174601,
    "httpOnly": true,
    "name": "NID",
    "path": "/",
    "sameSite": "Unspecified",
    "secure": false,
    "value": "511=cFwZ2K_o4q-BBtPog-ODM6Jynf8_khs9kPeY21fnM54k7LT7zUecKNup5gAANPOU6oF2liFiRBQBkn1PVYKOa2OUUFW35w4-ZYdgY-7RHNrXrAlaBITS3mVGPN4L4iFmB__oW1tzHkUSGDXm7TwwYus-BiqJ6-Aeq-qGne9NVQa2zRrOXFNkmlqNtzI6yn_o6N-ndH7WY7-L-w",
    "creation_utc": 1707367911,
    "top_frame_site_key": "",
    "encrypted_value": "",
    "last_access_utc": 1707368526,
    "has_expires": 1,
    "is_persistent": 1,
    "priority": 1,
    "source_scheme": 2,
    "source_port": 443,
    "is_same_party": 0
  },
  {
    "domain": ".google.com.ua",
    "expirationDate": 1723179095,
    "httpOnly": true,
    "name": "NID",
    "path": "/",
    "sameSite": "Unspecified",
    "secure": false,
    "value": "511=A7grDPgzjX9B43sqUlFWnwD_hbGodD5IHUxLHze62WT8YCtTeOZBWiWPuAmUiqZVfcd78T8WJyNzlC5uk8IJwtmFWzmqZSHD-GJ2-muHJeNx3YAbbRu1kf0LpzcTvpCOQI47XLK6RJlOwa5IsMDkAhDuWFzoc1mvY5jMlDBs83k",
    "creation_utc": 1707367895,
    "top_frame_site_key": "",
    "encrypted_value": "",
    "last_access_utc": 1707367895,
    "has_expires": 1,
    "is_persistent": 1,
    "priority": 1,
    "source_scheme": 2,
    "source_port": 443,
    "is_same_party": 0
  },
  {
    "domain": "myaccount.google.com",
    "expirationDate": 1741927912,
    "httpOnly": true,
    "name": "OSID",
    "path": "/",
    "sameSite": "Unspecified",
    "secure": true,
    "value": "g.a000gAg2sY8PPpcKqwCqrGywNxX8H4ptYQbBOdk_v6tc7eVj-H7tI9x93oAbz_AMOjtEaVF3awACgYKAccSAQASFQHGX2MicmZRQJI0tRvGCIxXJAt-WhoVAUF8yKoDuLrwctjaVZyLeMKqSHwl0076",
    "creation_utc": 1707367912,
    "top_frame_site_key": "",
    "encrypted_value": "",
    "last_access_utc": 1707368526,
    "has_expires": 1,
    "is_persistent": 1,
    "priority": 1,
    "source_scheme": 2,
    "source_port": 443,
    "is_same_party": 0
  },
  {
    "domain": "myaccount.google.com",
    "expirationDate": 1709959916,
    "httpOnly": false,
    "name": "OTZ",
    "path": "/",
    "sameSite": "Unspecified",
    "secure": true,
    "value": "7416871_48_48_123900_44_436380",
    "creation_utc": 1707367916,
    "top_frame_site_key": "",
    "encrypted_value": "",
    "last_access_utc": 1707368526,
    "has_expires": 1,
    "is_persistent": 1,
    "priority": 1,
    "source_scheme": 2,
    "source_port": 443,
    "is_same_party": 0
  },
  {
    "domain": ".google.com",
    "expirationDate": 1741927891,
    "httpOnly": false,
    "name": "SAPISID",
    "path": "/",
    "sameSite": "Unspecified",
    "secure": true,
    "value": "w38knwSt_A2G6hsg/AvjyCgEVVWbLPbLUy",
    "creation_utc": 1707367891,
    "top_frame_site_key": "",
    "encrypted_value": "",
    "last_access_utc": 1707368586,
    "has_expires": 1,
    "is_persistent": 1,
    "priority": 2,
    "source_scheme": 2,
    "source_port": 443,
    "is_same_party": 0
  },
  {
    "domain": ".google.com.ua",
    "expirationDate": 1741927895,
    "httpOnly": false,
    "name": "SAPISID",
    "path": "/",
    "sameSite": "Unspecified",
    "secure": true,
    "value": "w38knwSt_A2G6hsg/AvjyCgEVVWbLPbLUy",
    "creation_utc": 1707367895,
    "top_frame_site_key": "",
    "encrypted_value": "",
    "last_access_utc": 1707367895,
    "has_expires": 1,
    "is_persistent": 1,
    "priority": 2,
    "source_scheme": 2,
    "source_port": 443,
    "is_same_party": 0
  },
  {
    "domain": ".youtube.com",
    "expirationDate": 1741927901,
    "httpOnly": false,
    "name": "SAPISID",
    "path": "/",
    "sameSite": "Unspecified",
    "secure": true,
    "value": "w38knwSt_A2G6hsg/AvjyCgEVVWbLPbLUy",
    "creation_utc": 1707367893,
    "top_frame_site_key": "",
    "encrypted_value": "",
    "last_access_utc": 1707368633,
    "has_expires": 1,
    "is_persistent": 1,
    "priority": 2,
    "source_scheme": 2,
    "source_port": 443,
    "is_same_party": 0
  },
  {
    "domain": ".google.com",
    "expirationDate": 1741927891,
    "httpOnly": false,
    "name": "SID",
    "path": "/",
    "sameSite": "Unspecified",
    "secure": false,
    "value": "g.a000gAg2sYE6osgRY5has3tJxgJ1fwFgvuCJ5lEE1JZowzWes6vaVCLTsj_8bKXW8Lpf5wSGeAACgYKAY0SAQASFQHGX2MiP9X0ZLCLs3YVJhnufwxltxoVAUF8yKrBKETgrsYOCsloka65VxWP0076",
    "creation_utc": 1707367891,
    "top_frame_site_key": "",
    "encrypted_value": "",
    "last_access_utc": 1707368586,
    "has_expires": 1,
    "is_persistent": 1,
    "priority": 2,
    "source_scheme": 2,
    "source_port": 443,
    "is_same_party": 0
  },
  {
    "domain": ".google.com.ua",
    "expirationDate": 1741927895,
    "httpOnly": false,
    "name": "SID",
    "path": "/",
    "sameSite": "Unspecified",
    "secure": false,
    "value": "g.a000gAg2sYE6osgRY5has3tJxgJ1fwFgvuCJ5lEE1JZowzWes6vaVCLTsj_8bKXW8Lpf5wSGeAACgYKAY0SAQASFQHGX2MiP9X0ZLCLs3YVJhnufwxltxoVAUF8yKrBKETgrsYOCsloka65VxWP0076",
    "creation_utc": 1707367895,
    "top_frame_site_key": "",
    "encrypted_value": "",
    "last_access_utc": 1707367895,
    "has_expires": 1,
    "is_persistent": 1,
    "priority": 2,
    "source_scheme": 2,
    "source_port": 443,
    "is_same_party": 0
  },
  {
    "domain": ".youtube.com",
    "expirationDate": 1741927901,
    "httpOnly": false,
    "name": "SID",
    "path": "/",
    "sameSite": "Unspecified",
    "secure": false,
    "value": "g.a000gAg2sUGX56mhjOtF29JlJLL7-apvd4rrHgz-NoASkY6VjwPXZBYaWJBcIq6xfGl2jeBhcwACgYKAaASAQASFQHGX2MiEEtxl2bN2OF4FoqOya21-RoVAUF8yKpByNr-uT_5yRDv_qiFqTf20076",
    "creation_utc": 1707367901,
    "top_frame_site_key": "",
    "encrypted_value": "",
    "last_access_utc": 1707368633,
    "has_expires": 1,
    "is_persistent": 1,
    "priority": 2,
    "source_scheme": 2,
    "source_port": 443,
    "is_same_party": 0
  },
  {
    "domain": ".google.com",
    "expirationDate": 1741927891,
    "httpOnly": true,
    "name": "SSID",
    "path": "/",
    "sameSite": "Unspecified",
    "secure": true,
    "value": "A6U50QjsR4tjsdgBK",
    "creation_utc": 1707367891,
    "top_frame_site_key": "",
    "encrypted_value": "",
    "last_access_utc": 1707368526,
    "has_expires": 1,
    "is_persistent": 1,
    "priority": 2,
    "source_scheme": 2,
    "source_port": 443,
    "is_same_party": 0
  },
  {
    "domain": ".google.com.ua",
    "expirationDate": 1741927895,
    "httpOnly": true,
    "name": "SSID",
    "path": "/",
    "sameSite": "Unspecified",
    "secure": true,
    "value": "AtUgiX2DhjV_cGFZY",
    "creation_utc": 1707367895,
    "top_frame_site_key": "",
    "encrypted_value": "",
    "last_access_utc": 1707367895,
    "has_expires": 1,
    "is_persistent": 1,
    "priority": 2,
    "source_scheme": 2,
    "source_port": 443,
    "is_same_party": 0
  },
  {
    "domain": ".youtube.com",
    "expirationDate": 1741927901,
    "httpOnly": true,
    "name": "SSID",
    "path": "/",
    "sameSite": "Unspecified",
    "secure": true,
    "value": "AtUgiX2DhjV_cGFZY",
    "creation_utc": 1707367893,
    "top_frame_site_key": "",
    "encrypted_value": "",
    "last_access_utc": 1707368612,
    "has_expires": 1,
    "is_persistent": 1,
    "priority": 2,
    "source_scheme": 2,
    "source_port": 443,
    "is_same_party": 0
  },
  {
    "domain": "accounts.google.com",
    "expirationDate": 1741927911,
    "httpOnly": true,
    "name": "__Host-1PLSID",
    "path": "/",
    "sameSite": "Unspecified",
    "secure": true,
    "value": "o.myaccount.google.com|s.UA|s.youtube:g.a000gAg2sURXDTM5oVGSAJNjz2Kwrfbc4P0v3AUyCTVqXQkxdnZOWDuN82Frs4VCjTQ6lQ4b9gACgYKARQSAQASFQHGX2MimygrLhR_XTMndmBl0b4zbBoVAUF8yKp0hxpFpylQozqopyOhXSSV0076",
    "creation_utc": 1707367911,
    "top_frame_site_key": "",
    "encrypted_value": "",
    "last_access_utc": 1707368557,
    "has_expires": 1,
    "is_persistent": 1,
    "priority": 2,
    "source_scheme": 2,
    "source_port": 443,
    "is_same_party": 1
  },
  {
    "domain": "accounts.google.com",
    "expirationDate": 1741927911,
    "httpOnly": true,
    "name": "__Host-3PLSID",
    "path": "/",
    "sameSite": "None",
    "secure": true,
    "value": "o.myaccount.google.com|s.UA|s.youtube:g.a000gAg2sURXDTM5oVGSAJNjz2Kwrfbc4P0v3AUyCTVqXQkxdnZOKIfTM_C0zLOMI7B92V-zMQACgYKAb4SAQASFQHGX2Mi1F5DbEhx2MBb_WR1NkNfORoVAUF8yKqUBarUAyAI2ru3E8e0kvzn0076",
    "creation_utc": 1707367911,
    "top_frame_site_key": "",
    "encrypted_value": "",
    "last_access_utc": 1707368557,
    "has_expires": 1,
    "is_persistent": 1,
    "priority": 2,
    "source_scheme": 2,
    "source_port": 443,
    "is_same_party": 0
  },
  {
    "domain": ".google.com",
    "expirationDate": 1741927891,
    "httpOnly": false,
    "name": "__Secure-1PAPISID",
    "path": "/",
    "sameSite": "Unspecified",
    "secure": true,
    "value": "w38knwSt_A2G6hsg/AvjyCgEVVWbLPbLUy",
    "creation_utc": 1707367891,
    "top_frame_site_key": "",
    "encrypted_value": "",
    "last_access_utc": 1707368586,
    "has_expires": 1,
    "is_persistent": 1,
    "priority": 2,
    "source_scheme": 2,
    "source_port": 443,
    "is_same_party": 1
  },
  {
    "domain": ".google.com.ua",
    "expirationDate": 1741927895,
    "httpOnly": false,
    "name": "__Secure-1PAPISID",
    "path": "/",
    "sameSite": "Unspecified",
    "secure": true,
    "value": "w38knwSt_A2G6hsg/AvjyCgEVVWbLPbLUy",
    "creation_utc": 1707367895,
    "top_frame_site_key": "",
    "encrypted_value": "",
    "last_access_utc": 1707367895,
    "has_expires": 1,
    "is_persistent": 1,
    "priority": 2,
    "source_scheme": 2,
    "source_port": 443,
    "is_same_party": 1
  },
  {
    "domain": ".youtube.com",
    "expirationDate": 1741927901,
    "httpOnly": false,
    "name": "__Secure-1PAPISID",
    "path": "/",
    "sameSite": "Unspecified",
    "secure": true,
    "value": "w38knwSt_A2G6hsg/AvjyCgEVVWbLPbLUy",
    "creation_utc": 1707367893,
    "top_frame_site_key": "",
    "encrypted_value": "",
    "last_access_utc": 1707368633,
    "has_expires": 1,
    "is_persistent": 1,
    "priority": 2,
    "source_scheme": 2,
    "source_port": 443,
    "is_same_party": 1
  },
  {
    "domain": ".google.com",
    "expirationDate": 1741927891,
    "httpOnly": true,
    "name": "__Secure-1PSID",
    "path": "/",
    "sameSite": "Unspecified",
    "secure": true,
    "value": "g.a000gAg2sYE6osgRY5has3tJxgJ1fwFgvuCJ5lEE1JZowzWes6vanWnR8lLuIpSu6JSDyyis3gACgYKAcQSAQASFQHGX2MiQe1zH7AKcylT4rKuv9TztBoVAUF8yKpiwkAIRkV9ZQRWMWGBug9z0076",
    "creation_utc": 1707367891,
    "top_frame_site_key": "",
    "encrypted_value": "",
    "last_access_utc": 1707368526,
    "has_expires": 1,
    "is_persistent": 1,
    "priority": 2,
    "source_scheme": 2,
    "source_port": 443,
    "is_same_party": 1
  },
  {
    "domain": ".google.com.ua",
    "expirationDate": 1741927895,
    "httpOnly": true,
    "name": "__Secure-1PSID",
    "path": "/",
    "sameSite": "Unspecified",
    "secure": true,
    "value": "g.a000gAg2sYE6osgRY5has3tJxgJ1fwFgvuCJ5lEE1JZowzWes6vanWnR8lLuIpSu6JSDyyis3gACgYKAcQSAQASFQHGX2MiQe1zH7AKcylT4rKuv9TztBoVAUF8yKpiwkAIRkV9ZQRWMWGBug9z0076",
    "creation_utc": 1707367895,
    "top_frame_site_key": "",
    "encrypted_value": "",
    "last_access_utc": 1707367895,
    "has_expires": 1,
    "is_persistent": 1,
    "priority": 2,
    "source_scheme": 2,
    "source_port": 443,
    "is_same_party": 1
  },
  {
    "domain": ".youtube.com",
    "expirationDate": 1741927901,
    "httpOnly": true,
    "name": "__Secure-1PSID",
    "path": "/",
    "sameSite": "Unspecified",
    "secure": true,
    "value": "g.a000gAg2sUGX56mhjOtF29JlJLL7-apvd4rrHgz-NoASkY6VjwPXlwK71Gsh0LPSvF_XnXK5KAACgYKARoSAQASFQHGX2MiER-6t0kJaaMqx9eS-J88phoVAUF8yKrcujYslXZT33w7BZ9HjdsL0076",
    "creation_utc": 1707367901,
    "top_frame_site_key": "",
    "encrypted_value": "",
    "last_access_utc": 1707368612,
    "has_expires": 1,
    "is_persistent": 1,
    "priority": 2,
    "source_scheme": 2,
    "source_port": 443,
    "is_same_party": 1
  },
  {
    "domain": ".youtube.com",
    "expirationDate": 1738903893,
    "httpOnly": true,
    "name": "__Secure-1PSIDTS",
    "path": "/",
    "sameSite": "Unspecified",
    "secure": true,
    "value": "sidts-CjEBPVxjSg3BnubRZttZfrS61UroFxJ9cK5RHHsFgH_94RMc_s4xWhCGYkEVVD7kJdYAEAA",
    "creation_utc": 1707367893,
    "top_frame_site_key": "",
    "encrypted_value": "",
    "last_access_utc": 1707368612,
    "has_expires": 1,
    "is_persistent": 1,
    "priority": 2,
    "source_scheme": 2,
    "source_port": 443,
    "is_same_party": 1
  },
  {
    "domain": ".google.com",
    "expirationDate": 1741927891,
    "httpOnly": false,
    "name": "__Secure-3PAPISID",
    "path": "/",
    "sameSite": "None",
    "secure": true,
    "value": "w38knwSt_A2G6hsg/AvjyCgEVVWbLPbLUy",
    "creation_utc": 1707367891,
    "top_frame_site_key": "",
    "encrypted_value": "",
    "last_access_utc": 1707368633,
    "has_expires": 1,
    "is_persistent": 1,
    "priority": 2,
    "source_scheme": 2,
    "source_port": 443,
    "is_same_party": 0
  },
  {
    "domain": ".google.com.ua",
    "expirationDate": 1741927895,
    "httpOnly": false,
    "name": "__Secure-3PAPISID",
    "path": "/",
    "sameSite": "None",
    "secure": true,
    "value": "w38knwSt_A2G6hsg/AvjyCgEVVWbLPbLUy",
    "creation_utc": 1707367895,
    "top_frame_site_key": "",
    "encrypted_value": "",
    "last_access_utc": 1707367895,
    "has_expires": 1,
    "is_persistent": 1,
    "priority": 2,
    "source_scheme": 2,
    "source_port": 443,
    "is_same_party": 0
  },
  {
    "domain": ".youtube.com",
    "expirationDate": 1741927901,
    "httpOnly": false,
    "name": "__Secure-3PAPISID",
    "path": "/",
    "sameSite": "None",
    "secure": true,
    "value": "w38knwSt_A2G6hsg/AvjyCgEVVWbLPbLUy",
    "creation_utc": 1707367893,
    "top_frame_site_key": "",
    "encrypted_value": "",
    "last_access_utc": 1707368633,
    "has_expires": 1,
    "is_persistent": 1,
    "priority": 2,
    "source_scheme": 2,
    "source_port": 443,
    "is_same_party": 0
  },
  {
    "domain": ".google.com",
    "expirationDate": 1741927891,
    "httpOnly": true,
    "name": "__Secure-3PSID",
    "path": "/",
    "sameSite": "None",
    "secure": true,
    "value": "g.a000gAg2sYE6osgRY5has3tJxgJ1fwFgvuCJ5lEE1JZowzWes6vaDdoJTXEc4QsuyHJk48lnwQACgYKAbASAQASFQHGX2MiAFP9Kn1TTbmGez_EU_yEuRoVAUF8yKoFIoJ_5rXzTZ3TbBIRZoDT0076",
    "creation_utc": 1707367891,
    "top_frame_site_key": "",
    "encrypted_value": "",
    "last_access_utc": 1707368577,
    "has_expires": 1,
    "is_persistent": 1,
    "priority": 2,
    "source_scheme": 2,
    "source_port": 443,
    "is_same_party": 0
  },
  {
    "domain": ".google.com.ua",
    "expirationDate": 1741927895,
    "httpOnly": true,
    "name": "__Secure-3PSID",
    "path": "/",
    "sameSite": "None",
    "secure": true,
    "value": "g.a000gAg2sYE6osgRY5has3tJxgJ1fwFgvuCJ5lEE1JZowzWes6vaDdoJTXEc4QsuyHJk48lnwQACgYKAbASAQASFQHGX2MiAFP9Kn1TTbmGez_EU_yEuRoVAUF8yKoFIoJ_5rXzTZ3TbBIRZoDT0076",
    "creation_utc": 1707367895,
    "top_frame_site_key": "",
    "encrypted_value": "",
    "last_access_utc": 1707367895,
    "has_expires": 1,
    "is_persistent": 1,
    "priority": 2,
    "source_scheme": 2,
    "source_port": 443,
    "is_same_party": 0
  },
  {
    "domain": ".youtube.com",
    "expirationDate": 1741927901,
    "httpOnly": true,
    "name": "__Secure-3PSID",
    "path": "/",
    "sameSite": "None",
    "secure": true,
    "value": "g.a000gAg2sUGX56mhjOtF29JlJLL7-apvd4rrHgz-NoASkY6VjwPX76l7X7Fe5rN3xVaTyhCNwAACgYKAXISAQASFQHGX2MihnJiOeDae782t8sjiwN2VBoVAUF8yKpqi-EbbEL4UVCL30gkiyJO0076",
    "creation_utc": 1707367901,
    "top_frame_site_key": "",
    "encrypted_value": "",
    "last_access_utc": 1707368612,
    "has_expires": 1,
    "is_persistent": 1,
    "priority": 2,
    "source_scheme": 2,
    "source_port": 443,
    "is_same_party": 0
  },
  {
    "domain": ".youtube.com",
    "expirationDate": 1738903893,
    "httpOnly": true,
    "name": "__Secure-3PSIDTS",
    "path": "/",
    "sameSite": "None",
    "secure": true,
    "value": "sidts-CjEBPVxjSg3BnubRZttZfrS61UroFxJ9cK5RHHsFgH_94RMc_s4xWhCGYkEVVD7kJdYAEAA",
    "creation_utc": 1707367893,
    "top_frame_site_key": "",
    "encrypted_value": "",
    "last_access_utc": 1707368612,
    "has_expires": 1,
    "is_persistent": 1,
    "priority": 2,
    "source_scheme": 2,
    "source_port": 443,
    "is_same_party": 0
  },
  {
    "domain": "myaccount.google.com",
    "expirationDate": 1741927912,
    "httpOnly": true,
    "name": "__Secure-OSID",
    "path": "/",
    "sameSite": "None",
    "secure": true,
    "value": "g.a000gAg2sY8PPpcKqwCqrGywNxX8H4ptYQbBOdk_v6tc7eVj-H7t1sUK0ZItaNphQF8nukbCyQACgYKAf4SAQASFQHGX2MiYDgXxuJkV9nR-BZ2_hFgnBoVAUF8yKpmsEDUEFKZkQJmvGhiqZJs0076",
    "creation_utc": 1707367912,
    "top_frame_site_key": "",
    "encrypted_value": "",
    "last_access_utc": 1707368526,
    "has_expires": 1,
    "is_persistent": 1,
    "priority": 1,
    "source_scheme": 2,
    "source_port": 443,
    "is_same_party": 0
  },
  {
    "domain": ".youtube.com",
    "expirationDate": 1741928314,
    "httpOnly": false,
    "name": "PREF",
    "path": "/",
    "sameSite": "Unspecified",
    "secure": true,
    "value": "tz=Europe.Kiev",
    "creation_utc": 1707362997,
    "top_frame_site_key": "",
    "encrypted_value": "",
    "last_access_utc": 1707368619,
    "has_expires": 1,
    "is_persistent": 1,
    "priority": 1,
    "source_scheme": 2,
    "source_port": 443,
    "is_same_party": 0
  },
  {
    "domain": ".google.com",
    "expirationDate": 1738904581,
    "httpOnly": false,
    "name": "SIDCC",
    "path": "/",
    "sameSite": "Unspecified",
    "secure": false,
    "value": "ABTWhQGdsMiPMNoQZiZ6EZDzt82HiUp7jO7uI9oX9VyBfkCaF0t96PSLmwhMxVFABvqyYM2u5w",
    "creation_utc": 1707368581,
    "top_frame_site_key": "",
    "encrypted_value": "",
    "last_access_utc": 1707368641,
    "has_expires": 1,
    "is_persistent": 1,
    "priority": 2,
    "source_scheme": 2,
    "source_port": 443,
    "is_same_party": 0
  },
  {
    "domain": "accounts.google.com",
    "expirationDate": 1741928581,
    "httpOnly": true,
    "name": "__Host-GAPS",
    "path": "/",
    "sameSite": "Unspecified",
    "secure": true,
    "value": "1:iNl4x1Cm6kKjxd7JFrlRHHrISohKOCzv2RC6oU_de1Zaoav9CMF-4fggU1t7LwXkj33b8BX4t4egOsTuubabrSQi_CtC6w:ajNbrpy7yVz80ziC",
    "creation_utc": 1707368581,
    "top_frame_site_key": "",
    "encrypted_value": "",
    "last_access_utc": 1707368581,
    "has_expires": 1,
    "is_persistent": 1,
    "priority": 2,
    "source_scheme": 2,
    "source_port": 443,
    "is_same_party": 0
  },
  {
    "domain": ".google.com",
    "expirationDate": 1738904581,
    "httpOnly": true,
    "name": "__Secure-1PSIDCC",
    "path": "/",
    "sameSite": "Unspecified",
    "secure": true,
    "value": "ABTWhQFz2q1r9EoH3AmnBmPxpcgUzDIdS3WO8OEhK3-85MYtyN3mWkV-aFK7kVefTzRr9XvJ9Q",
    "creation_utc": 1707368581,
    "top_frame_site_key": "",
    "encrypted_value": "",
    "last_access_utc": 1707368581,
    "has_expires": 1,
    "is_persistent": 1,
    "priority": 2,
    "source_scheme": 2,
    "source_port": 443,
    "is_same_party": 0
  },
  {
    "domain": ".google.com",
    "expirationDate": 1738904581,
    "httpOnly": true,
    "name": "__Secure-3PSIDCC",
    "path": "/",
    "sameSite": "None",
    "secure": true,
    "value": "ABTWhQF2W0V1PUTRN_0qn1PUTDfrgfHXSUWKzI1YtEEDxD836e6KQOB__etRuBiBgl3Sk9DPuQ",
    "creation_utc": 1707368581,
    "top_frame_site_key": "",
    "encrypted_value": "",
    "last_access_utc": 1707368581,
    "has_expires": 1,
    "is_persistent": 1,
    "priority": 2,
    "source_scheme": 2,
    "source_port": 443,
    "is_same_party": 0
  },
  {
    "domain": ".youtube.com",
    "expirationDate": 1738904619,
    "httpOnly": false,
    "name": "SIDCC",
    "path": "/",
    "sameSite": "Unspecified",
    "secure": false,
    "value": "ABTWhQFqr4hJ5poXsyjghKiJz091rUTpy1khJ_XxZmqTB3ieBc3xCIDJMTgcEBHWY97xEP_h6g",
    "creation_utc": 1707368619,
    "top_frame_site_key": "",
    "encrypted_value": "",
    "last_access_utc": 1707368619,
    "has_expires": 1,
    "is_persistent": 1,
    "priority": 2,
    "source_scheme": 2,
    "source_port": 443,
    "is_same_party": 0
  },
  {
    "domain": ".youtube.com",
    "expirationDate": 1738904619,
    "httpOnly": true,
    "name": "__Secure-1PSIDCC",
    "path": "/",
    "sameSite": "Unspecified",
    "secure": true,
    "value": "ABTWhQEn52a_6sEw8diUOnXe7oBCOV21HN87TAQmUp9AIO950E4MG2gXrOjVWIeU__HJpUw1Gw",
    "creation_utc": 1707368619,
    "top_frame_site_key": "",
    "encrypted_value": "",
    "last_access_utc": 1707368619,
    "has_expires": 1,
    "is_persistent": 1,
    "priority": 2,
    "source_scheme": 2,
    "source_port": 443,
    "is_same_party": 0
  },
  {
    "domain": ".youtube.com",
    "expirationDate": 1738904619,
    "httpOnly": true,
    "name": "__Secure-3PSIDCC",
    "path": "/",
    "sameSite": "None",
    "secure": true,
    "value": "ABTWhQEyNPnFE9cztC55x_10-fr_6VDZc5RhFh03YrUIrBgZ7v_nxuaAFPGRdh3gEzlAOiCn",
    "creation_utc": 1707368619,
    "top_frame_site_key": "",
    "encrypted_value": "",
    "last_access_utc": 1707368619,
    "has_expires": 1,
    "is_persistent": 1,
    "priority": 2,
    "source_scheme": 2,
    "source_port": 443,
    "is_same_party": 0
  }
]
 

Sergodjan

Administrator
Команда форума
Регистрация
05.09.2012
Сообщения
20 366
Благодарностей
9 098
Баллы
113
Регистрация
28.01.2024
Сообщения
234
Благодарностей
21
Баллы
18
Есть метод C# для этой задачи:

C#:
var droid = instance.DroidInstance;
var cookie = droid.App.GetCookie("com.android.chrome");
return cookie;
Добрый!Работаю с ZDE штатный кубик не забирает куки,метод C# тоже пуст подскажите что еще можно сделать
 

Anatoly79

Moderator
Регистрация
17.04.2020
Сообщения
474
Благодарностей
372
Баллы
63
Добрый!Работаю с ZDE штатный кубик не забирает куки,метод C# тоже пуст подскажите что еще можно сделать
Что выдает в лог такой код?
C#:
var droid = instance.DroidInstance;
var packageName = "com.android.chrome";
var path = droid.App.GetCookiePath(packageName);
project.SendInfoToLog("Cookie path:" + path);
var cookie = droid.Sqlite3.ExecuteQuery(path, "SELECT name, value FROM cookies");
project.SendInfoToLog("Cookie length:" + cookie.Split('\n').Length);
project.SendInfoToLog("Cookie:\r\n" + cookie);
 
Регистрация
28.01.2024
Сообщения
234
Благодарностей
21
Баллы
18
Что выдает в лог такой код?
C#:
var droid = instance.DroidInstance;
var packageName = "com.android.chrome";
var path = droid.App.GetCookiePath(packageName);
project.SendInfoToLog("Cookie path:" + path);
var cookie = droid.Sqlite3.ExecuteQuery(path, "SELECT name, value FROM cookies");
project.SendInfoToLog("Cookie length:" + cookie.Split('\n').Length);
project.SendInfoToLog("Cookie:\r\n" + cookie);
Выдает куки хрома. Но подставляю название приложение своего, а именно инста пишет такое


Выполнение действия CSharp OwnCode: 1. Значение не может быть неопределенным.
Имя параметра: database
 
Регистрация
28.01.2024
Сообщения
234
Благодарностей
21
Баллы
18
Сбойное действие: 1
 

Ysocnet

Client
Регистрация
24.09.2019
Сообщения
106
Благодарностей
58
Баллы
28
Сбойное действие: 1
Насколько я помню - приложение должно иметь webview элементы, чтобы куки корректно дергались. Попробуйте выгрузить куки из лайт приложения инсты - там есть эти элементы
 
Регистрация
28.01.2024
Сообщения
234
Благодарностей
21
Баллы
18
Насколько я помню - приложение должно иметь webview элементы, чтобы куки корректно дергались. Попробуйте выгрузить куки из лайт приложения инсты - там есть эти элементы
Спасибо.но не подходит именно лайт( Работаю в фул версии
 
Регистрация
28.01.2024
Сообщения
234
Благодарностей
21
Баллы
18
Насколько я помню - приложение должно иметь webview элементы, чтобы куки корректно дергались. Попробуйте выгрузить куки из лайт приложения инсты - там есть эти элементы
Попробовал с лайта результат дает 2 скобки и все []
 
Регистрация
28.01.2024
Сообщения
234
Благодарностей
21
Баллы
18
Продайте у кого есть кубик достать куки с приложения инсты
 
Регистрация
28.01.2024
Сообщения
234
Благодарностей
21
Баллы
18
Вопрос решил. может кому нужно будет. Стоял по умолчению другой браузер.Поставил хром и кубик "получить куки" заработал
 
  • Спасибо
Реакции: Sergodjan

russya

Client
Регистрация
08.07.2014
Сообщения
743
Благодарностей
78
Баллы
28
Регистрация
28.01.2024
Сообщения
234
Благодарностей
21
Баллы
18

Sunday

Пользователь
Регистрация
21.02.2023
Сообщения
61
Благодарностей
7
Баллы
8

Fedor5588

Client
Регистрация
04.06.2017
Сообщения
313
Благодарностей
73
Баллы
28

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