Импорт JSON куков

вопросы и ответы по использованию PHP
Ответить
Хозяин Гугла
Сообщения: 42
Зарегистрирован: 19 июн 2019, 19:59

Импорт JSON куков

Сообщение Хозяин Гугла » 27 фев 2021, 18:03

Всем привет, не подскажете как мне загрузить куки в JSON формате?

Пример куков.
Нужно загрузить все:
[{"domain":".google.com","expirationDate":1628941040,"httpOnly":true,"name":"CGIC","path":"/complete/search","secure":false,"value":"CgtmaXJlZm94LWItZCJKdGV4dC9odG1sLGFwcGxpY2F0aW9uL3hodG1sK3htbCxhcHBsaWNhdGlvbi94bWw7cT0wLjksaW1hZ2Uvd2VicCwqLyo7cT0wLjg"},{"domain":".google.com","expirationDate":1628941040,"httpOnly":true,"name":"CGIC","path":"/search","secure":false,"value":"CgtmaXJlZm94LWItZCJKdGV4dC9odG1sLGFwcGxpY2F0aW9uL3hodG1sK3htbCxhcHBsaWNhdGlvbi94bWw7cT0wLjksaW1hZ2Uvd2VicCwqLyo7cT0wLjg"},{"domain":".google.com","expirationDate":2146723199,"httpOnly":true,"name":"CONSENT","path":"/","secure":true,"value":"YES+DE.de+V14+BX+487"},{"domain":".google.com","expirationDate":1647092029,"httpOnly":true,"name":"ANID","path":"/","secure":true,"value":"AHWqTUksr2OYG4Ez6UfzaF_TnpQ-Op3cqGrsKJ2Gm3yKGkofAOEjj6E0QY0sVBrL"},{"domain":".google.com","expirationDate":1676468090,"httpOnly":true,"name":"_ga","path":"/gmail/about","secure":false,"value":"GA1.2-3.276274972.1613396029"},{"domain":".google.com","expirationDate":1613482490,"httpOnly":true,"name":"_gid","path":"/gmail/about","secure":false,"value":"GA1.2-3.558677385.1613396029"},{"domain":".google.com","expirationDate":1628948101,"httpOnly":true,"name":"SEARCH_SAMESITE","path":"/","secure":false,"value":"CgQI8ZEB"},{"domain":".google.com","expirationDate":1644932613,"httpOnly":true,"name":"_GRECAPTCHA","path":"/recaptcha","secure":true,"value":"09AGR3LzPRPi4IA5YRSmjoKjUyPc5u8drgkaWwSKDe-Lx86xnV5oyNvZlgLRzgx2P7miRbCZmszl3Q_MKPSTdZJ7g"},{"domain":".google.com","expirationDate":1615993762,"httpOnly":true,"name":"OGPC","path":"/","secure":false,"value":"4061130-2:"},{"domain":".google.com","expirationDate":1676473819,"httpOnly":true,"name":"SID","path":"/","secure":false,"value":"6gdX2xgzZvb5CslXxWLiH8gUVGBBsYDf8ocZUXkbqaT4JnHlyaoz4NDrLfutZ1mQCGGs0g."},{"domain":".google.com","expirationDate":1676473819,"httpOnly":true,"name":"__Secure-3PSID","path":"/","secure":true,"value":"6gdX2xgzZvb5CslXxWLiH8gUVGBBsYDf8ocZUXkbqaT4JnHlaTR_oXiN7GrE3S5M3dV2lA."},{"domain":".google.com","expirationDate":1676473819,"httpOnly":true,"name":"HSID","path":"/","secure":false,"value":"AjndBcQIRENSWakD7"},{"domain":".google.com","expirationDate":1676473819,"httpOnly":true,"name":"SSID","path":"/","secure":true,"value":"AgOg4TGhVoAHrewfO"},{"domain":".google.com","expirationDate":1676473819,"httpOnly":true,"name":"APISID","path":"/","secure":false,"value":"zp9jYmqb6riOBGQC/A0XsaL7kXGrPFEtun"},{"domain":".google.com","expirationDate":1676473819,"httpOnly":true,"name":"SAPISID","path":"/","secure":true,"value":"XUjWTbx93ZoVyzgh/AKxVs3oKFAaUFXhrC"},{"domain":".google.com","expirationDate":1676473819,"httpOnly":true,"name":"__Secure-3PAPISID","path":"/","secure":true,"value":"XUjWTbx93ZoVyzgh/AKxVs3oKFAaUFXhrC"},{"domain":"accounts.google.com","expirationDate":1676473838,"httpOnly":true,"name":"ACCOUNT_CHOOSER","path":"/","secure":true,"value":"AFx_qI7WPGFJAZJE-Hn2Jeo0kWbEU-ZbDHsCgJZ9aKEJffPFMXuzi7yA7hV_aGr-vTMvAEf1aIQcsWrkKw3cMaoVrB_v_4R-xN2dVMTusjp4I4uA9kKbidXe1gr2gQWSBxs5DhFLaMGJ"},{"domain":"accounts.google.com","expirationDate":1676474213,"httpOnly":true,"name":"LSID","path":"/","secure":true,"value":"doritos|o.mail.google.com|s.DE|s.youtube:6gdX24gZhT0pO2lu3Sg1Lh4h1jrm91B-skVu8y2x4SkepjO0ybTwgPUlRFfNeX5oxOWFpg."},{"domain":"accounts.google.com","expirationDate":1676474213,"httpOnly":true,"name":"__Host-3PLSID","path":"/","secure":true,"value":"doritos|o.mail.google.com|s.DE|s.youtube:6gdX24gZhT0pO2lu3Sg1Lh4h1jrm91B-skVu8y2x4SkepjO0jiPzLpzvKW3C06SSpI6lag."},{"domain":".facebook.com","expirationDate":1676474528,"httpOnly":true,"name":"datr","path":"/","secure":true,"value":"oJEqYKxJYSGE_h5n5Utf4wbx"},{"domain":".facebook.com","expirationDate":1676474531,"httpOnly":true,"name":"sb","path":"/","secure":true,"value":"pJEqYILFbFJz07V8sv6ORod8"},{"domain":".facebook.com","expirationDate":1613583002,"httpOnly":true,"name":"spin","path":"/","secure":true,"value":"r.1003310966_b.trunk_t.1613493003_s.1_v.2_"},{"domain":".yahoo.com","expirationDate":1613516323,"httpOnly":true,"name":"GUCS","path":"/","secure":true,"value":"AQSdCDPz"},{"domain":".yahoo.com","expirationDate":1645072139,"httpOnly":true,"name":"B","path":"/","secure":false,"value":"5hansipg2ns15&b=3&s=sh"},{"domain":".facebook.com","expirationDate":1645084406,"httpOnly":true,"name":"c_user","path":"/","secure":true,"value":"100001149859336"},{"domain":".facebook.com","expirationDate":1645084406,"httpOnly":true,"name":"xs","path":"/","secure":true,"value":"34%3AaV7GPtUVyVE1fA%3A2%3A1613402532%3A11649%3A13817%3A%3AAcWNiZCqTMbT9Hn1A7ur3GLqE9xUP8Xo9_BbdvIYuA"},{"domain":".facebook.com","expirationDate":1621324405,"httpOnly":true,"name":"fr","path":"/","secure":true,"value":"1SlOfDJCRphUYaZEC.AWVkPKumVzAfO4rxqm9VTsyeOyI.BgKpGk.fH.AAA.0.0.BgLMt5.AWXH9W3wGlM"},{"domain":".facebook.com","expirationDate":1614153225,"httpOnly":true,"name":"dpr","path":"/","secure":true,"value":"1.5"},{"domain":"accounts.google.com","expirationDate":1676635310,"httpOnly":true,"name":"__Host-GAPS","path":"/","secure":true,"value":"1:YIWlj8QqmlZUgsdgZFDEaMhZqo8qU98an80qrOQe6JpcH_RDlOCfRXm0FPwgb7muW6ahFyAUHgecnY6a1CUp2MlTupe-zQ:8OYx33NqrkvhdI9K"},{"domain":".google.com","expirationDate":1629410962,"httpOnly":true,"name":"SNID","path":"/verify","secure":true,"value":"APx-0P3I-LK5LsdW6mWw7TSkzthf5aNAd_OajFN0wyZNEb_M2PbDTWvkRHEJVNBlIhYyzJTqRmurZLKa455Ohg"},{"domain":"ogs.google.com","expirationDate":1616191765,"httpOnly":true,"name":"OTZ","path":"/","secure":true,"value":"5854929_52_52_123900_48_436380"},{"domain":".mygully.com","expirationDate":1616191889,"httpOnly":true,"name":"__cfduid","path":"/","secure":false,"value":"d49de109e0b8db2d8aeb33c4360584fb11613599889"},{"domain":"mygully.com","expirationDate":1645135887,"httpOnly":true,"name":"bblastvisit","path":"/","secure":false,"value":"1613599889"},{"domain":"mygully.com","expirationDate":1645135891,"httpOnly":true,"name":"bblastactivity","path":"/","secure":false,"value":"0"},{"domain":".google.com","expirationDate":1629411270,"httpOnly":true,"name":"NID","path":"/","secure":true,"value":"209=dWbLTDH1NXHW29xFRGm4Y474gqaQK7qS052yzmpk5qA14Qv5To_jAtG9hAFJcxOEkpli8gEoh7HmxoD8jFAKDrFKBEbjDgNecYjTqxU6YEu38sKzJVkiDNNayhefagYtiAQp0CxMAzUkGRiTLgnMjVfQOGDz38aAaj2HIinibRGOeA-O6XeoG4HbAX0YmYHstze0eJsUQIecO2VwEY4yp1beGSPXVoMiD-rY8QyGHzOcr-MvZC_eoJeqFrnwIL3EqbbrDg"},{"domain":".mikrocontroller.net","expirationDate":1647296099,"httpOnly":true,"name":"__gads","path":"/","secure":false,"value":"ID=367b2536827d5580-22c1359682ba00f1:T=1613600099:S=ALNI_MbA4nhX8ZyzcYHzI1mFXBAseeXUZA"},{"domain":".crackinns.com","expirationDate":1616192633,"httpOnly":true,"name":"__cfduid","path":"/","secure":true,"value":"d3e3655c642de66ef2aa3c10d9eac32f01613600633"},{"domain":".crackinns.com","expirationDate":1645136631,"httpOnly":true,"name":"_ym_uid","path":"/","secure":false,"value":"1613600632614280216"},{"domain":".crackinns.com","expirationDate":1645136631,"httpOnly":true,"name":"_ym_d","path":"/","secure":false,"value":"1613600632"},{"domain":".crackinns.com","expirationDate":1613672632,"httpOnly":true,"name":"_ym_isad","path":"/","secure":false,"value":"2"},{"domain":"www.mikrocontroller.net","expirationDate":1614464694,"httpOnly":true,"name":"_forum_session","path":"/","secure":true,"value":"Zt6Z6uakeyRe7Sz6t8%2BzvFcRNDN%2BIlVxu8A%2B5Q%2B%2BSFFsexfiffxWypZzCC7o0okZocJdI2cqc%2FI5cM4uQy6Jly0E8VWc9CebepmqI8ex8XVDawiFcrHubQ1SyJGXUMVIqoNtX63asDL1ewv8UJEB5mXgwzMrh1Df2ZNE6o2UbjgDleRMDUzMD%2Bh6LEogSpEXOR3wYgRCtaZtZMes%2F9C99DH%2FIhMQW4CbbxfSlbdi%2FyAU9DLwo%2BYHNBsnYZzfqfhO3XvZ%2FHRUqfwUxfLCK4F1tlg4gHUdu%2FbaoAPD%2F4VipkhGfB%2Fz%2B3FlmoEYejk%3D--MnM80x71S21JgaVY--G%2BdsCpxvmnlYmJZwZxN1Fg%3D%3D"},{"domain":".mikrocontroller.net","expirationDate":1676672692,"httpOnly":true,"name":"_ga","path":"/","secure":false,"value":"GA1.2.315875430.1613600097"},{"domain":".mikrocontroller.net","expirationDate":1613687092,"httpOnly":true,"name":"_gid","path":"/","secure":false,"value":"GA1.2.1945522494.1613600097"},{"domain":".mikrocontroller.net","expirationDate":1676672693,"httpOnly":true,"name":"_ga_SQJVSC8FV3","path":"/","secure":false,"value":"GS1.1.1613600096.1.1.1613600693.0"},{"domain":".crackinns.com","expirationDate":1613602500,"httpOnly":true,"name":"_ym_visorc","path":"/","secure":false,"value":"w"},{"domain":".crackinns.com","expirationDate":1676672700,"httpOnly":true,"name":"_ga","path":"/","secure":false,"value":"GA1.2.442222480.1613600632"},{"domain":".crackinns.com","expirationDate":1613687100,"httpOnly":true,"name":"_gid","path":"/","secure":false,"value":"GA1.2.955146890.1613600632"},{"domain":".crackinns.com","expirationDate":1613600760,"httpOnly":true,"name":"_gat_gtag_UA_77732731_2","path":"/","secure":false,"value":"1"},{"domain":".cracksgurus.com","expirationDate":1616192706,"httpOnly":true,"name":"__cfduid","path":"/","secure":true,"value":"d3f48534a160a75fc83a3490cf9b44b5e1613600706"},{"domain":".cracksgurus.com","expirationDate":1676672704,"httpOnly":true,"name":"_ga","path":"/","secure":false,"value":"GA1.2.594992938.1613600705"},{"domain":".cracksgurus.com","expirationDate":1613687104,"httpOnly":true,"name":"_gid","path":"/","secure":false,"value":"GA1.2.164706225.1613600705"},{"domain":".cracksgurus.com","expirationDate":1613600764,"httpOnly":true,"name":"_gat_gtag_UA_120144714_1","path":"/","secure":false,"value":"1"},{"domain":"www.google.com","expirationDate":1613601324,"httpOnly":true,"name":"DV","path":"/","secure":false,"value":"A5B0eH0J4XNKIBy4P1MyROuQ0pEhe1cwSB_iAf2GGgEAANCQSC0iEfN6UgAAAHSIVaKjH2eLHQAAAA"},{"domain":".google.com","expirationDate":1616192728,"httpOnly":true,"name":"1P_JAR","path":"/","secure":true,"value":"2021-02-17-22"},{"domain":".keygenninja.com","expirationDate":1616192729,"httpOnly":true,"name":"__cfduid","path":"/","secure":true,"value":"d3cb819f3a3c1a571a489de292ce6c9f31613600729"},{"domain":".keygenninja.com","expirationDate":1645136727,"httpOnly":true,"name":"_ym_uid","path":"/","secure":false,"value":"1613600727817949363"},{"domain":".keygenninja.com","expirationDate":1645136727,"httpOnly":true,"name":"_ym_d","path":"/","secure":false,"value":"1613600727"},{"domain":".keygenninja.com","expirationDate":1613600787,"httpOnly":true,"name":"_gat_gtag_UA_120144714_3","path":"/","secure":false,"value":"1"},{"domain":".keygenninja.com","expirationDate":1613672727,"httpOnly":true,"name":"_ym_isad","path":"/","secure":false,"value":"2"},{"domain":".google.com","expirationDate":1645136730,"httpOnly":true,"name":"SIDCC","path":"/","secure":false,"value":"AJi4QfFZKN1JLehe2wXE6uaySCscW-OVEqT8Yq-rJXoOad_QJfAA6zBFLjHWWGuLqkyCpVEd0jI"},{"domain":".google.com","expirationDate":1645136730,"httpOnly":true,"name":"__Secure-3PSIDCC","path":"/","secure":true,"value":"AJi4QfH6nk83X7RJ3Oh-OpbiZuKAMoRx9Ori-PF3q50f-hARMwjwQBYlr_NqI3WFQnCQcW8WeQ"},{"domain":".mc.webvisor.org","expirationDate":1613601330,"httpOnly":true,"name":"sync_cookie_csrf","path":"/","secure":false,"value":"997905099fake"},{"domain":".keygenninja.com","expirationDate":1613687135,"httpOnly":true,"name":"_ym_hostIndex","path":"/","secure":false,"value":"0-2%2C1-0"},{"domain":".webvisor.org","expirationDate":1645136738,"httpOnly":true,"name":"yandexuid","path":"/","secure":false,"value":"6197079311613600738"},{"domain":".webvisor.org","expirationDate":1645136738,"httpOnly":true,"name":"ymex","path":"/","secure":false,"value":"1645136738.yrts.1613600738"},{"domain":".keygenninja.com","expirationDate":1676672736,"httpOnly":true,"name":"_ga","path":"/","secure":false,"value":"GA1.2.1353866650.1613600727"},{"domain":".keygenninja.com","expirationDate":1613687136,"httpOnly":true,"name":"_gid","path":"/","secure":false,"value":"GA1.2.1174319464.1613600727"},{"domain":".keygenninja.com","expirationDate":1613602536,"httpOnly":true,"name":"_ym_visorc","path":"/","secure":false,"value":"w"},{"domain":".crackheap.net","expirationDate":1616192762,"httpOnly":true,"name":"__cfduid","path":"/","secure":true,"value":"de422dca7aaa4208ca0893d21f3c9e83e1613600762"},{"domain":".crackheap.net","expirationDate":1676672760,"httpOnly":true,"name":"_ga","path":"/","secure":false,"value":"GA1.2.2046851013.1613600760"},{"domain":".crackheap.net","expirationDate":1613687160,"httpOnly":true,"name":"_gid","path":"/","secure":false,"value":"GA1.2.1177603638.1613600760"},{"domain":".crackheap.net","expirationDate":1613600820,"httpOnly":true,"name":"_gat_gtag_UA_742693_21","path":"/","secure":false,"value":"1"},{"domain":".sharecontent.xyz","expirationDate":1616192777,"httpOnly":true,"name":"__cfduid","path":"/","secure":true,"value":"d4829bed5bfffe6e521b357f8b712262b1613600777"},{"domain":"get.sharecontent.xyz","expirationDate":1613687182,"httpOnly":true,"name":"ctoken","path":"/","secure":false,"value":"xhu0BAq4p5xL8rKtiZ6wFw%3D%3D"}]

Аватара пользователя
bigfozzy
Site Admin
Сообщения: 3047
Зарегистрирован: 28 июл 2008, 17:24
Контактная информация:

Re: Импорт JSON куков

Сообщение bigfozzy » 28 фев 2021, 02:47

Попробуйте :
browser->import_cookies("",$json);

Хозяин Гугла
Сообщения: 42
Зарегистрирован: 19 июн 2019, 19:59

Re: Импорт JSON куков

Сообщение Хозяин Гугла » 28 фев 2021, 04:45

browser->import_cookies("",$json);
в "" вставлял весь файл с куками и построчно, и запускал с пустыми кавычками без куков ""

крашит браузер одинаковой ошибкой:
Problem signature:
  Problem Event Name:	APPCRASH
  Application Name:	XWeb Human Emulator Studio.exe
  Application Version:	7.0.55.0
  Application Timestamp:	5faab45c
  Fault Module Name:	libcef.dll
  Fault Module Version:	87.1.1.0
  Fault Module Timestamp:	5f8f82b8
  Exception Code:	80000003
  Exception Offset:	0000000002662344
  OS Version:	6.1.7601.2.1.0.256.48
  Locale ID:	1033
  Additional Information 1:	85a6
  Additional Information 2:	85a606eef8de7c589a6d17d53261b5bd
  Additional Information 3:	c6cc
  Additional Information 4:	c6ccbb5bfa547f7db2889b21c97c7148

Read our privacy statement online:
  http://go.microsoft.com/fwlink/?linkid= ... cid=0x0409

If the online privacy statement is not available, please read our privacy statement offline:
  C:\Windows\system32\en-US\erofflps.txt
Собрал другую винду - краши прошли.

Делаю
browser->import_cookies("[{"domain":".google.com","expirationDate":1628941040,"httpOnly":true,"name":"CGIC","path":"/complete/search","secure":false,"value":"CgtmaXJlZm94LWItZCJKdGV4dC9odG1sLGFwcGxpY2F0aW9uL3hodG1sK3htbCxhcHBsaWNhdGlvbi94bWw7cT0wLjksaW1hZ2Uvd2VicCwqLyo7cT0wLjg"},{"domain":".google.com","expirationDate":1628941040,"httpOnly":true,"name":"CGIC","path":"/search","secure":false,"value":"CgtmaXJlZm94LWItZCJKdGV4dC9odG1sLGFwcGxpY2F0aW9uL3hodG1sK3htbCxhcHBsaWNhdGlvbi94bWw7cT0wLjksaW1hZ2Uvd2VicCwqLyo7cT0wLjg"},{"domain":".google.com","expirationDate":2146723199,"httpOnly":true,"name":"CONSENT","path":"/","secure":true,"value":"YES+DE.de+V14+BX+487"},{"domain":".google.com","expirationDate":1647092029,"httpOnly":true,"name":"ANID","path":"/","secure":true,"value":"AHWqTUksr2OYG4Ez6UfzaF_TnpQ-Op3cqGrsKJ2Gm3yKGkofAOEjj6E0QY0sVBrL"},{"domain":".google.com","expirationDate":1676468090,"httpOnly":true,"name":"_ga","path":"/gmail/about","secure":false,"value":"GA1.2-3.276274972.1613396029"},{"domain":".google.com","expirationDate":1613482490,"httpOnly":true,"name":"_gid","path":"/gmail/about","secure":false,"value":"GA1.2-3.558677385.1613396029"},{"domain":".google.com","expirationDate":1628948101,"httpOnly":true,"name":"SEARCH_SAMESITE","path":"/","secure":false,"value":"CgQI8ZEB"},{"domain":".google.com","expirationDate":1644932613,"httpOnly":true,"name":"_GRECAPTCHA","path":"/recaptcha","secure":true,"value":"09AGR3LzPRPi4IA5YRSmjoKjUyPc5u8drgkaWwSKDe-Lx86xnV5oyNvZlgLRzgx2P7miRbCZmszl3Q_MKPSTdZJ7g"},{"domain":".google.com","expirationDate":1615993762,"httpOnly":true,"name":"OGPC","path":"/","secure":false,"value":"4061130-2:"},{"domain":".google.com","expirationDate":1676473819,"httpOnly":true,"name":"SID","path":"/","secure":false,"value":"6gdX2xgzZvb5CslXxWLiH8gUVGBBsYDf8ocZUXkbqaT4JnHlyaoz4NDrLfutZ1mQCGGs0g."},{"domain":".google.com","expirationDate":1676473819,"httpOnly":true,"name":"__Secure-3PSID","path":"/","secure":true,"value":"6gdX2xgzZvb5CslXxWLiH8gUVGBBsYDf8ocZUXkbqaT4JnHlaTR_oXiN7GrE3S5M3dV2lA."},{"domain":".google.com","expirationDate":1676473819,"httpOnly":true,"name":"HSID","path":"/","secure":false,"value":"AjndBcQIRENSWakD7"},{"domain":".google.com","expirationDate":1676473819,"httpOnly":true,"name":"SSID","path":"/","secure":true,"value":"AgOg4TGhVoAHrewfO"},{"domain":".google.com","expirationDate":1676473819,"httpOnly":true,"name":"APISID","path":"/","secure":false,"value":"zp9jYmqb6riOBGQC/A0XsaL7kXGrPFEtun"},{"domain":".google.com","expirationDate":1676473819,"httpOnly":true,"name":"SAPISID","path":"/","secure":true,"value":"XUjWTbx93ZoVyzgh/AKxVs3oKFAaUFXhrC"},{"domain":".google.com","expirationDate":1676473819,"httpOnly":true,"name":"__Secure-3PAPISID","path":"/","secure":true,"value":"XUjWTbx93ZoVyzgh/AKxVs3oKFAaUFXhrC"},{"domain":"accounts.google.com","expirationDate":1676473838,"httpOnly":true,"name":"ACCOUNT_CHOOSER","path":"/","secure":true,"value":"AFx_qI7WPGFJAZJE-Hn2Jeo0kWbEU-ZbDHsCgJZ9aKEJffPFMXuzi7yA7hV_aGr-vTMvAEf1aIQcsWrkKw3cMaoVrB_v_4R-xN2dVMTusjp4I4uA9kKbidXe1gr2gQWSBxs5DhFLaMGJ"},{"domain":"accounts.google.com","expirationDate":1676474213,"httpOnly":true,"name":"LSID","path":"/","secure":true,"value":"doritos|o.mail.google.com|s.DE|s.youtube:6gdX24gZhT0pO2lu3Sg1Lh4h1jrm91B-skVu8y2x4SkepjO0ybTwgPUlRFfNeX5oxOWFpg."},{"domain":"accounts.google.com","expirationDate":1676474213,"httpOnly":true,"name":"__Host-3PLSID","path":"/","secure":true,"value":"doritos|o.mail.google.com|s.DE|s.youtube:6gdX24gZhT0pO2lu3Sg1Lh4h1jrm91B-skVu8y2x4SkepjO0jiPzLpzvKW3C06SSpI6lag."},{"domain":".facebook.com","expirationDate":1676474528,"httpOnly":true,"name":"datr","path":"/","secure":true,"value":"oJEqYKxJYSGE_h5n5Utf4wbx"},{"domain":".facebook.com","expirationDate":1676474531,"httpOnly":true,"name":"sb","path":"/","secure":true,"value":"pJEqYILFbFJz07V8sv6ORod8"},{"domain":".facebook.com","expirationDate":1613583002,"httpOnly":true,"name":"spin","path":"/","secure":true,"value":"r.1003310966_b.trunk_t.1613493003_s.1_v.2_"},{"domain":".yahoo.com","expirationDate":1613516323,"httpOnly":true,"name":"GUCS","path":"/","secure":true,"value":"AQSdCDPz"},{"domain":".yahoo.com","expirationDate":1645072139,"httpOnly":true,"name":"B","path":"/","secure":false,"value":"5hansipg2ns15&b=3&s=sh"},{"domain":".facebook.com","expirationDate":1645084406,"httpOnly":true,"name":"c_user","path":"/","secure":true,"value":"100001149859336"},{"domain":".facebook.com","expirationDate":1645084406,"httpOnly":true,"name":"xs","path":"/","secure":true,"value":"34%3AaV7GPtUVyVE1fA%3A2%3A1613402532%3A11649%3A13817%3A%3AAcWNiZCqTMbT9Hn1A7ur3GLqE9xUP8Xo9_BbdvIYuA"},{"domain":".facebook.com","expirationDate":1621324405,"httpOnly":true,"name":"fr","path":"/","secure":true,"value":"1SlOfDJCRphUYaZEC.AWVkPKumVzAfO4rxqm9VTsyeOyI.BgKpGk.fH.AAA.0.0.BgLMt5.AWXH9W3wGlM"},{"domain":".facebook.com","expirationDate":1614153225,"httpOnly":true,"name":"dpr","path":"/","secure":true,"value":"1.5"},{"domain":"accounts.google.com","expirationDate":1676635310,"httpOnly":true,"name":"__Host-GAPS","path":"/","secure":true,"value":"1:YIWlj8QqmlZUgsdgZFDEaMhZqo8qU98an80qrOQe6JpcH_RDlOCfRXm0FPwgb7muW6ahFyAUHgecnY6a1CUp2MlTupe-zQ:8OYx33NqrkvhdI9K"},{"domain":".google.com","expirationDate":1629410962,"httpOnly":true,"name":"SNID","path":"/verify","secure":true,"value":"APx-0P3I-LK5LsdW6mWw7TSkzthf5aNAd_OajFN0wyZNEb_M2PbDTWvkRHEJVNBlIhYyzJTqRmurZLKa455Ohg"},{"domain":"ogs.google.com","expirationDate":1616191765,"httpOnly":true,"name":"OTZ","path":"/","secure":true,"value":"5854929_52_52_123900_48_436380"},{"domain":".mygully.com","expirationDate":1616191889,"httpOnly":true,"name":"__cfduid","path":"/","secure":false,"value":"d49de109e0b8db2d8aeb33c4360584fb11613599889"},{"domain":"mygully.com","expirationDate":1645135887,"httpOnly":true,"name":"bblastvisit","path":"/","secure":false,"value":"1613599889"},{"domain":"mygully.com","expirationDate":1645135891,"httpOnly":true,"name":"bblastactivity","path":"/","secure":false,"value":"0"},{"domain":".google.com","expirationDate":1629411270,"httpOnly":true,"name":"NID","path":"/","secure":true,"value":"209=dWbLTDH1NXHW29xFRGm4Y474gqaQK7qS052yzmpk5qA14Qv5To_jAtG9hAFJcxOEkpli8gEoh7HmxoD8jFAKDrFKBEbjDgNecYjTqxU6YEu38sKzJVkiDNNayhefagYtiAQp0CxMAzUkGRiTLgnMjVfQOGDz38aAaj2HIinibRGOeA-O6XeoG4HbAX0YmYHstze0eJsUQIecO2VwEY4yp1beGSPXVoMiD-rY8QyGHzOcr-MvZC_eoJeqFrnwIL3EqbbrDg"},{"domain":".mikrocontroller.net","expirationDate":1647296099,"httpOnly":true,"name":"__gads","path":"/","secure":false,"value":"ID=367b2536827d5580-22c1359682ba00f1:T=1613600099:S=ALNI_MbA4nhX8ZyzcYHzI1mFXBAseeXUZA"},{"domain":".crackinns.com","expirationDate":1616192633,"httpOnly":true,"name":"__cfduid","path":"/","secure":true,"value":"d3e3655c642de66ef2aa3c10d9eac32f01613600633"},{"domain":".crackinns.com","expirationDate":1645136631,"httpOnly":true,"name":"_ym_uid","path":"/","secure":false,"value":"1613600632614280216"},{"domain":".crackinns.com","expirationDate":1645136631,"httpOnly":true,"name":"_ym_d","path":"/","secure":false,"value":"1613600632"},{"domain":".crackinns.com","expirationDate":1613672632,"httpOnly":true,"name":"_ym_isad","path":"/","secure":false,"value":"2"},{"domain":"www.mikrocontroller.net","expirationDate":1614464694,"httpOnly":true,"name":"_forum_session","path":"/","secure":true,"value":"Zt6Z6uakeyRe7Sz6t8%2BzvFcRNDN%2BIlVxu8A%2B5Q%2B%2BSFFsexfiffxWypZzCC7o0okZocJdI2cqc%2FI5cM4uQy6Jly0E8VWc9CebepmqI8ex8XVDawiFcrHubQ1SyJGXUMVIqoNtX63asDL1ewv8UJEB5mXgwzMrh1Df2ZNE6o2UbjgDleRMDUzMD%2Bh6LEogSpEXOR3wYgRCtaZtZMes%2F9C99DH%2FIhMQW4CbbxfSlbdi%2FyAU9DLwo%2BYHNBsnYZzfqfhO3XvZ%2FHRUqfwUxfLCK4F1tlg4gHUdu%2FbaoAPD%2F4VipkhGfB%2Fz%2B3FlmoEYejk%3D--MnM80x71S21JgaVY--G%2BdsCpxvmnlYmJZwZxN1Fg%3D%3D"},{"domain":".mikrocontroller.net","expirationDate":1676672692,"httpOnly":true,"name":"_ga","path":"/","secure":false,"value":"GA1.2.315875430.1613600097"},{"domain":".mikrocontroller.net","expirationDate":1613687092,"httpOnly":true,"name":"_gid","path":"/","secure":false,"value":"GA1.2.1945522494.1613600097"},{"domain":".mikrocontroller.net","expirationDate":1676672693,"httpOnly":true,"name":"_ga_SQJVSC8FV3","path":"/","secure":false,"value":"GS1.1.1613600096.1.1.1613600693.0"},{"domain":".crackinns.com","expirationDate":1613602500,"httpOnly":true,"name":"_ym_visorc","path":"/","secure":false,"value":"w"},{"domain":".crackinns.com","expirationDate":1676672700,"httpOnly":true,"name":"_ga","path":"/","secure":false,"value":"GA1.2.442222480.1613600632"},{"domain":".crackinns.com","expirationDate":1613687100,"httpOnly":true,"name":"_gid","path":"/","secure":false,"value":"GA1.2.955146890.1613600632"},{"domain":".crackinns.com","expirationDate":1613600760,"httpOnly":true,"name":"_gat_gtag_UA_77732731_2","path":"/","secure":false,"value":"1"},{"domain":".cracksgurus.com","expirationDate":1616192706,"httpOnly":true,"name":"__cfduid","path":"/","secure":true,"value":"d3f48534a160a75fc83a3490cf9b44b5e1613600706"},{"domain":".cracksgurus.com","expirationDate":1676672704,"httpOnly":true,"name":"_ga","path":"/","secure":false,"value":"GA1.2.594992938.1613600705"},{"domain":".cracksgurus.com","expirationDate":1613687104,"httpOnly":true,"name":"_gid","path":"/","secure":false,"value":"GA1.2.164706225.1613600705"},{"domain":".cracksgurus.com","expirationDate":1613600764,"httpOnly":true,"name":"_gat_gtag_UA_120144714_1","path":"/","secure":false,"value":"1"},{"domain":"www.google.com","expirationDate":1613601324,"httpOnly":true,"name":"DV","path":"/","secure":false,"value":"A5B0eH0J4XNKIBy4P1MyROuQ0pEhe1cwSB_iAf2GGgEAANCQSC0iEfN6UgAAAHSIVaKjH2eLHQAAAA"},{"domain":".google.com","expirationDate":1616192728,"httpOnly":true,"name":"1P_JAR","path":"/","secure":true,"value":"2021-02-17-22"},{"domain":".keygenninja.com","expirationDate":1616192729,"httpOnly":true,"name":"__cfduid","path":"/","secure":true,"value":"d3cb819f3a3c1a571a489de292ce6c9f31613600729"},{"domain":".keygenninja.com","expirationDate":1645136727,"httpOnly":true,"name":"_ym_uid","path":"/","secure":false,"value":"1613600727817949363"},{"domain":".keygenninja.com","expirationDate":1645136727,"httpOnly":true,"name":"_ym_d","path":"/","secure":false,"value":"1613600727"},{"domain":".keygenninja.com","expirationDate":1613600787,"httpOnly":true,"name":"_gat_gtag_UA_120144714_3","path":"/","secure":false,"value":"1"},{"domain":".keygenninja.com","expirationDate":1613672727,"httpOnly":true,"name":"_ym_isad","path":"/","secure":false,"value":"2"},{"domain":".google.com","expirationDate":1645136730,"httpOnly":true,"name":"SIDCC","path":"/","secure":false,"value":"AJi4QfFZKN1JLehe2wXE6uaySCscW-OVEqT8Yq-rJXoOad_QJfAA6zBFLjHWWGuLqkyCpVEd0jI"},{"domain":".google.com","expirationDate":1645136730,"httpOnly":true,"name":"__Secure-3PSIDCC","path":"/","secure":true,"value":"AJi4QfH6nk83X7RJ3Oh-OpbiZuKAMoRx9Ori-PF3q50f-hARMwjwQBYlr_NqI3WFQnCQcW8WeQ"},{"domain":".mc.webvisor.org","expirationDate":1613601330,"httpOnly":true,"name":"sync_cookie_csrf","path":"/","secure":false,"value":"997905099fake"},{"domain":".keygenninja.com","expirationDate":1613687135,"httpOnly":true,"name":"_ym_hostIndex","path":"/","secure":false,"value":"0-2%2C1-0"},{"domain":".webvisor.org","expirationDate":1645136738,"httpOnly":true,"name":"yandexuid","path":"/","secure":false,"value":"6197079311613600738"},{"domain":".webvisor.org","expirationDate":1645136738,"httpOnly":true,"name":"ymex","path":"/","secure":false,"value":"1645136738.yrts.1613600738"},{"domain":".keygenninja.com","expirationDate":1676672736,"httpOnly":true,"name":"_ga","path":"/","secure":false,"value":"GA1.2.1353866650.1613600727"},{"domain":".keygenninja.com","expirationDate":1613687136,"httpOnly":true,"name":"_gid","path":"/","secure":false,"value":"GA1.2.1174319464.1613600727"},{"domain":".keygenninja.com","expirationDate":1613602536,"httpOnly":true,"name":"_ym_visorc","path":"/","secure":false,"value":"w"},{"domain":".crackheap.net","expirationDate":1616192762,"httpOnly":true,"name":"__cfduid","path":"/","secure":true,"value":"de422dca7aaa4208ca0893d21f3c9e83e1613600762"},{"domain":".crackheap.net","expirationDate":1676672760,"httpOnly":true,"name":"_ga","path":"/","secure":false,"value":"GA1.2.2046851013.1613600760"},{"domain":".crackheap.net","expirationDate":1613687160,"httpOnly":true,"name":"_gid","path":"/","secure":false,"value":"GA1.2.1177603638.1613600760"},{"domain":".crackheap.net","expirationDate":1613600820,"httpOnly":true,"name":"_gat_gtag_UA_742693_21","path":"/","secure":false,"value":"1"},{"domain":".sharecontent.xyz","expirationDate":1616192777,"httpOnly":true,"name":"__cfduid","path":"/","secure":true,"value":"d4829bed5bfffe6e521b357f8b712262b1613600777"},{"domain":"get.sharecontent.xyz","expirationDate":1613687182,"httpOnly":true,"name":"ctoken","path":"/","secure":false,"value":"xhu0BAq4p5xL8rKtiZ6wFw%3D%3D"}]",$json);
Выдает ошибку
PHP Parse error: syntax error, unexpected '->' (T_OBJECT_OPERATOR) in C:\XWeb\Human Emulator Studio Single 7.0.51\My Scripts\9.php on line 10

Аватара пользователя
bigfozzy
Site Admin
Сообщения: 3047
Зарегистрирован: 28 июл 2008, 17:24
Контактная информация:

Re: Импорт JSON куков

Сообщение bigfozzy » 28 фев 2021, 05:49

Спасибо, чуть позже проверим у себя.

Можно еще попробовать обновить версию и выполнить такой код:
$browser->import_cookies("",'[{"domain":".google.com","expirationDate":1628941040,"httpOnly":true,"name":"CGIC","path":"/complete/search","secure":false,"value":"CgtmaXJlZm94LWItZCJKdGV4dC9odG1sLGFwcGxpY2F0aW9uL3hodG1sK3htbCxhcHBsaWNhdGlvbi94bWw7cT0wLjksaW1hZ2Uvd2VicCwqLyo7cT0wLjg"},{"domain":".google.com","expirationDate":1628941040,"httpOnly":true,"name":"CGIC","path":"/search","secure":false,"value":"CgtmaXJlZm94LWItZCJKdGV4dC9odG1sLGFwcGxpY2F0aW9uL3hodG1sK3htbCxhcHBsaWNhdGlvbi94bWw7cT0wLjksaW1hZ2Uvd2VicCwqLyo7cT0wLjg"},{"domain":".google.com","expirationDate":2146723199,"httpOnly":true,"name":"CONSENT","path":"/","secure":true,"value":"YES+DE.de+V14+BX+487"},{"domain":".google.com","expirationDate":1647092029,"httpOnly":true,"name":"ANID","path":"/","secure":true,"value":"AHWqTUksr2OYG4Ez6UfzaF_TnpQ-Op3cqGrsKJ2Gm3yKGkofAOEjj6E0QY0sVBrL"},{"domain":".google.com","expirationDate":1676468090,"httpOnly":true,"name":"_ga","path":"/gmail/about","secure":false,"value":"GA1.2-3.276274972.1613396029"},{"domain":".google.com","expirationDate":1613482490,"httpOnly":true,"name":"_gid","path":"/gmail/about","secure":false,"value":"GA1.2-3.558677385.1613396029"},{"domain":".google.com","expirationDate":1628948101,"httpOnly":true,"name":"SEARCH_SAMESITE","path":"/","secure":false,"value":"CgQI8ZEB"},{"domain":".google.com","expirationDate":1644932613,"httpOnly":true,"name":"_GRECAPTCHA","path":"/recaptcha","secure":true,"value":"09AGR3LzPRPi4IA5YRSmjoKjUyPc5u8drgkaWwSKDe-Lx86xnV5oyNvZlgLRzgx2P7miRbCZmszl3Q_MKPSTdZJ7g"},{"domain":".google.com","expirationDate":1615993762,"httpOnly":true,"name":"OGPC","path":"/","secure":false,"value":"4061130-2:"},{"domain":".google.com","expirationDate":1676473819,"httpOnly":true,"name":"SID","path":"/","secure":false,"value":"6gdX2xgzZvb5CslXxWLiH8gUVGBBsYDf8ocZUXkbqaT4JnHlyaoz4NDrLfutZ1mQCGGs0g."},{"domain":".google.com","expirationDate":1676473819,"httpOnly":true,"name":"__Secure-3PSID","path":"/","secure":true,"value":"6gdX2xgzZvb5CslXxWLiH8gUVGBBsYDf8ocZUXkbqaT4JnHlaTR_oXiN7GrE3S5M3dV2lA."},{"domain":".google.com","expirationDate":1676473819,"httpOnly":true,"name":"HSID","path":"/","secure":false,"value":"AjndBcQIRENSWakD7"},{"domain":".google.com","expirationDate":1676473819,"httpOnly":true,"name":"SSID","path":"/","secure":true,"value":"AgOg4TGhVoAHrewfO"},{"domain":".google.com","expirationDate":1676473819,"httpOnly":true,"name":"APISID","path":"/","secure":false,"value":"zp9jYmqb6riOBGQC/A0XsaL7kXGrPFEtun"},{"domain":".google.com","expirationDate":1676473819,"httpOnly":true,"name":"SAPISID","path":"/","secure":true,"value":"XUjWTbx93ZoVyzgh/AKxVs3oKFAaUFXhrC"},{"domain":".google.com","expirationDate":1676473819,"httpOnly":true,"name":"__Secure-3PAPISID","path":"/","secure":true,"value":"XUjWTbx93ZoVyzgh/AKxVs3oKFAaUFXhrC"},{"domain":"accounts.google.com","expirationDate":1676473838,"httpOnly":true,"name":"ACCOUNT_CHOOSER","path":"/","secure":true,"value":"AFx_qI7WPGFJAZJE-Hn2Jeo0kWbEU-ZbDHsCgJZ9aKEJffPFMXuzi7yA7hV_aGr-vTMvAEf1aIQcsWrkKw3cMaoVrB_v_4R-xN2dVMTusjp4I4uA9kKbidXe1gr2gQWSBxs5DhFLaMGJ"},{"domain":"accounts.google.com","expirationDate":1676474213,"httpOnly":true,"name":"LSID","path":"/","secure":true,"value":"doritos|o.mail.google.com|s.DE|s.youtube:6gdX24gZhT0pO2lu3Sg1Lh4h1jrm91B-skVu8y2x4SkepjO0ybTwgPUlRFfNeX5oxOWFpg."},{"domain":"accounts.google.com","expirationDate":1676474213,"httpOnly":true,"name":"__Host-3PLSID","path":"/","secure":true,"value":"doritos|o.mail.google.com|s.DE|s.youtube:6gdX24gZhT0pO2lu3Sg1Lh4h1jrm91B-skVu8y2x4SkepjO0jiPzLpzvKW3C06SSpI6lag."},{"domain":".facebook.com","expirationDate":1676474528,"httpOnly":true,"name":"datr","path":"/","secure":true,"value":"oJEqYKxJYSGE_h5n5Utf4wbx"},{"domain":".facebook.com","expirationDate":1676474531,"httpOnly":true,"name":"sb","path":"/","secure":true,"value":"pJEqYILFbFJz07V8sv6ORod8"},{"domain":".facebook.com","expirationDate":1613583002,"httpOnly":true,"name":"spin","path":"/","secure":true,"value":"r.1003310966_b.trunk_t.1613493003_s.1_v.2_"},{"domain":".yahoo.com","expirationDate":1613516323,"httpOnly":true,"name":"GUCS","path":"/","secure":true,"value":"AQSdCDPz"},{"domain":".yahoo.com","expirationDate":1645072139,"httpOnly":true,"name":"B","path":"/","secure":false,"value":"5hansipg2ns15&b=3&s=sh"},{"domain":".facebook.com","expirationDate":1645084406,"httpOnly":true,"name":"c_user","path":"/","secure":true,"value":"100001149859336"},{"domain":".facebook.com","expirationDate":1645084406,"httpOnly":true,"name":"xs","path":"/","secure":true,"value":"34%3AaV7GPtUVyVE1fA%3A2%3A1613402532%3A11649%3A13817%3A%3AAcWNiZCqTMbT9Hn1A7ur3GLqE9xUP8Xo9_BbdvIYuA"},{"domain":".facebook.com","expirationDate":1621324405,"httpOnly":true,"name":"fr","path":"/","secure":true,"value":"1SlOfDJCRphUYaZEC.AWVkPKumVzAfO4rxqm9VTsyeOyI.BgKpGk.fH.AAA.0.0.BgLMt5.AWXH9W3wGlM"},{"domain":".facebook.com","expirationDate":1614153225,"httpOnly":true,"name":"dpr","path":"/","secure":true,"value":"1.5"},{"domain":"accounts.google.com","expirationDate":1676635310,"httpOnly":true,"name":"__Host-GAPS","path":"/","secure":true,"value":"1:YIWlj8QqmlZUgsdgZFDEaMhZqo8qU98an80qrOQe6JpcH_RDlOCfRXm0FPwgb7muW6ahFyAUHgecnY6a1CUp2MlTupe-zQ:8OYx33NqrkvhdI9K"},{"domain":".google.com","expirationDate":1629410962,"httpOnly":true,"name":"SNID","path":"/verify","secure":true,"value":"APx-0P3I-LK5LsdW6mWw7TSkzthf5aNAd_OajFN0wyZNEb_M2PbDTWvkRHEJVNBlIhYyzJTqRmurZLKa455Ohg"},{"domain":"ogs.google.com","expirationDate":1616191765,"httpOnly":true,"name":"OTZ","path":"/","secure":true,"value":"5854929_52_52_123900_48_436380"},{"domain":".mygully.com","expirationDate":1616191889,"httpOnly":true,"name":"__cfduid","path":"/","secure":false,"value":"d49de109e0b8db2d8aeb33c4360584fb11613599889"},{"domain":"mygully.com","expirationDate":1645135887,"httpOnly":true,"name":"bblastvisit","path":"/","secure":false,"value":"1613599889"},{"domain":"mygully.com","expirationDate":1645135891,"httpOnly":true,"name":"bblastactivity","path":"/","secure":false,"value":"0"},{"domain":".google.com","expirationDate":1629411270,"httpOnly":true,"name":"NID","path":"/","secure":true,"value":"209=dWbLTDH1NXHW29xFRGm4Y474gqaQK7qS052yzmpk5qA14Qv5To_jAtG9hAFJcxOEkpli8gEoh7HmxoD8jFAKDrFKBEbjDgNecYjTqxU6YEu38sKzJVkiDNNayhefagYtiAQp0CxMAzUkGRiTLgnMjVfQOGDz38aAaj2HIinibRGOeA-O6XeoG4HbAX0YmYHstze0eJsUQIecO2VwEY4yp1beGSPXVoMiD-rY8QyGHzOcr-MvZC_eoJeqFrnwIL3EqbbrDg"},{"domain":".mikrocontroller.net","expirationDate":1647296099,"httpOnly":true,"name":"__gads","path":"/","secure":false,"value":"ID=367b2536827d5580-22c1359682ba00f1:T=1613600099:S=ALNI_MbA4nhX8ZyzcYHzI1mFXBAseeXUZA"},{"domain":".crackinns.com","expirationDate":1616192633,"httpOnly":true,"name":"__cfduid","path":"/","secure":true,"value":"d3e3655c642de66ef2aa3c10d9eac32f01613600633"},{"domain":".crackinns.com","expirationDate":1645136631,"httpOnly":true,"name":"_ym_uid","path":"/","secure":false,"value":"1613600632614280216"},{"domain":".crackinns.com","expirationDate":1645136631,"httpOnly":true,"name":"_ym_d","path":"/","secure":false,"value":"1613600632"},{"domain":".crackinns.com","expirationDate":1613672632,"httpOnly":true,"name":"_ym_isad","path":"/","secure":false,"value":"2"},{"domain":"www.mikrocontroller.net","expirationDate":1614464694,"httpOnly":true,"name":"_forum_session","path":"/","secure":true,"value":"Zt6Z6uakeyRe7Sz6t8%2BzvFcRNDN%2BIlVxu8A%2B5Q%2B%2BSFFsexfiffxWypZzCC7o0okZocJdI2cqc%2FI5cM4uQy6Jly0E8VWc9CebepmqI8ex8XVDawiFcrHubQ1SyJGXUMVIqoNtX63asDL1ewv8UJEB5mXgwzMrh1Df2ZNE6o2UbjgDleRMDUzMD%2Bh6LEogSpEXOR3wYgRCtaZtZMes%2F9C99DH%2FIhMQW4CbbxfSlbdi%2FyAU9DLwo%2BYHNBsnYZzfqfhO3XvZ%2FHRUqfwUxfLCK4F1tlg4gHUdu%2FbaoAPD%2F4VipkhGfB%2Fz%2B3FlmoEYejk%3D--MnM80x71S21JgaVY--G%2BdsCpxvmnlYmJZwZxN1Fg%3D%3D"},{"domain":".mikrocontroller.net","expirationDate":1676672692,"httpOnly":true,"name":"_ga","path":"/","secure":false,"value":"GA1.2.315875430.1613600097"},{"domain":".mikrocontroller.net","expirationDate":1613687092,"httpOnly":true,"name":"_gid","path":"/","secure":false,"value":"GA1.2.1945522494.1613600097"},{"domain":".mikrocontroller.net","expirationDate":1676672693,"httpOnly":true,"name":"_ga_SQJVSC8FV3","path":"/","secure":false,"value":"GS1.1.1613600096.1.1.1613600693.0"},{"domain":".crackinns.com","expirationDate":1613602500,"httpOnly":true,"name":"_ym_visorc","path":"/","secure":false,"value":"w"},{"domain":".crackinns.com","expirationDate":1676672700,"httpOnly":true,"name":"_ga","path":"/","secure":false,"value":"GA1.2.442222480.1613600632"},{"domain":".crackinns.com","expirationDate":1613687100,"httpOnly":true,"name":"_gid","path":"/","secure":false,"value":"GA1.2.955146890.1613600632"},{"domain":".crackinns.com","expirationDate":1613600760,"httpOnly":true,"name":"_gat_gtag_UA_77732731_2","path":"/","secure":false,"value":"1"},{"domain":".cracksgurus.com","expirationDate":1616192706,"httpOnly":true,"name":"__cfduid","path":"/","secure":true,"value":"d3f48534a160a75fc83a3490cf9b44b5e1613600706"},{"domain":".cracksgurus.com","expirationDate":1676672704,"httpOnly":true,"name":"_ga","path":"/","secure":false,"value":"GA1.2.594992938.1613600705"},{"domain":".cracksgurus.com","expirationDate":1613687104,"httpOnly":true,"name":"_gid","path":"/","secure":false,"value":"GA1.2.164706225.1613600705"},{"domain":".cracksgurus.com","expirationDate":1613600764,"httpOnly":true,"name":"_gat_gtag_UA_120144714_1","path":"/","secure":false,"value":"1"},{"domain":"www.google.com","expirationDate":1613601324,"httpOnly":true,"name":"DV","path":"/","secure":false,"value":"A5B0eH0J4XNKIBy4P1MyROuQ0pEhe1cwSB_iAf2GGgEAANCQSC0iEfN6UgAAAHSIVaKjH2eLHQAAAA"},{"domain":".google.com","expirationDate":1616192728,"httpOnly":true,"name":"1P_JAR","path":"/","secure":true,"value":"2021-02-17-22"},{"domain":".keygenninja.com","expirationDate":1616192729,"httpOnly":true,"name":"__cfduid","path":"/","secure":true,"value":"d3cb819f3a3c1a571a489de292ce6c9f31613600729"},{"domain":".keygenninja.com","expirationDate":1645136727,"httpOnly":true,"name":"_ym_uid","path":"/","secure":false,"value":"1613600727817949363"},{"domain":".keygenninja.com","expirationDate":1645136727,"httpOnly":true,"name":"_ym_d","path":"/","secure":false,"value":"1613600727"},{"domain":".keygenninja.com","expirationDate":1613600787,"httpOnly":true,"name":"_gat_gtag_UA_120144714_3","path":"/","secure":false,"value":"1"},{"domain":".keygenninja.com","expirationDate":1613672727,"httpOnly":true,"name":"_ym_isad","path":"/","secure":false,"value":"2"},{"domain":".google.com","expirationDate":1645136730,"httpOnly":true,"name":"SIDCC","path":"/","secure":false,"value":"AJi4QfFZKN1JLehe2wXE6uaySCscW-OVEqT8Yq-rJXoOad_QJfAA6zBFLjHWWGuLqkyCpVEd0jI"},{"domain":".google.com","expirationDate":1645136730,"httpOnly":true,"name":"__Secure-3PSIDCC","path":"/","secure":true,"value":"AJi4QfH6nk83X7RJ3Oh-OpbiZuKAMoRx9Ori-PF3q50f-hARMwjwQBYlr_NqI3WFQnCQcW8WeQ"},{"domain":".mc.webvisor.org","expirationDate":1613601330,"httpOnly":true,"name":"sync_cookie_csrf","path":"/","secure":false,"value":"997905099fake"},{"domain":".keygenninja.com","expirationDate":1613687135,"httpOnly":true,"name":"_ym_hostIndex","path":"/","secure":false,"value":"0-2%2C1-0"},{"domain":".webvisor.org","expirationDate":1645136738,"httpOnly":true,"name":"yandexuid","path":"/","secure":false,"value":"6197079311613600738"},{"domain":".webvisor.org","expirationDate":1645136738,"httpOnly":true,"name":"ymex","path":"/","secure":false,"value":"1645136738.yrts.1613600738"},{"domain":".keygenninja.com","expirationDate":1676672736,"httpOnly":true,"name":"_ga","path":"/","secure":false,"value":"GA1.2.1353866650.1613600727"},{"domain":".keygenninja.com","expirationDate":1613687136,"httpOnly":true,"name":"_gid","path":"/","secure":false,"value":"GA1.2.1174319464.1613600727"},{"domain":".keygenninja.com","expirationDate":1613602536,"httpOnly":true,"name":"_ym_visorc","path":"/","secure":false,"value":"w"},{"domain":".crackheap.net","expirationDate":1616192762,"httpOnly":true,"name":"__cfduid","path":"/","secure":true,"value":"de422dca7aaa4208ca0893d21f3c9e83e1613600762"},{"domain":".crackheap.net","expirationDate":1676672760,"httpOnly":true,"name":"_ga","path":"/","secure":false,"value":"GA1.2.2046851013.1613600760"},{"domain":".crackheap.net","expirationDate":1613687160,"httpOnly":true,"name":"_gid","path":"/","secure":false,"value":"GA1.2.1177603638.1613600760"},{"domain":".crackheap.net","expirationDate":1613600820,"httpOnly":true,"name":"_gat_gtag_UA_742693_21","path":"/","secure":false,"value":"1"},{"domain":".sharecontent.xyz","expirationDate":1616192777,"httpOnly":true,"name":"__cfduid","path":"/","secure":true,"value":"d4829bed5bfffe6e521b357f8b712262b1613600777"},{"domain":"get.sharecontent.xyz","expirationDate":1613687182,"httpOnly":true,"name":"ctoken","path":"/","secure":false,"value":"xhu0BAq4p5xL8rKtiZ6wFw%3D%3D"}]');

Хозяин Гугла
Сообщения: 42
Зарегистрирован: 19 июн 2019, 19:59

Re: Импорт JSON куков

Сообщение Хозяин Гугла » 28 фев 2021, 09:21

Этот код на версии 7.0.57 выдает
Object reference not set to an instance of an object.

Аватара пользователя
bigfozzy
Site Admin
Сообщения: 3047
Зарегистрирован: 28 июл 2008, 17:24
Контактная информация:

Re: Импорт JSON куков

Сообщение bigfozzy » 28 фев 2021, 17:55

Спасибо, исправили, перезакачайте инсталл.

Хозяин Гугла
Сообщения: 42
Зарегистрирован: 19 июн 2019, 19:59

Re: Импорт JSON куков

Сообщение Хозяин Гугла » 28 фев 2021, 20:22

Спасибо работает)

Хозяин Гугла
Сообщения: 42
Зарегистрирован: 19 июн 2019, 19:59

Re: Импорт JSON куков

Сообщение Хозяин Гугла » 01 мар 2021, 01:27

bigfozzy писал(а):
28 фев 2021, 17:55
Спасибо, исправили, перезакачайте инсталл.
Только вот не логинит к сожалению по кукам как надо.
Оно должно логинить по этим кукам в сессию почты.

Изображение
https://ibb.co/Ctm0t6T

Аватара пользователя
leo
Сообщения: 62
Зарегистрирован: 11 мар 2018, 21:19

Re: Импорт JSON куков

Сообщение leo » 01 мар 2021, 11:00

Извиняюсь, что вмешиваюсь.
Попробуйте перед импортом очистить куки, может быть вы дополняете куки к существующим.
Как вариант - открыть файл <профиль_пользователя>\cookies\Cookies используя https://sqlitebrowser.org/
Кол-во строк в sqlite таблице должно быть равно кол-ву записей в импортируемом json файле.

Хозяин Гугла
Сообщения: 42
Зарегистрирован: 19 июн 2019, 19:59

Re: Импорт JSON куков

Сообщение Хозяин Гугла » 01 мар 2021, 20:47

Позже попробую - отпишусь.

Ответить