GPTs Scraper avatar
GPTs Scraper

Deprecated

Pricing

Pay per usage

Go to Store
GPTs Scraper

GPTs Scraper

Deprecated

Developed by

quill zhou

quill zhou

Maintained by Community

Use this scraper to collect data about GPTs url, title, description and more.

0.0 (0)

Pricing

Pay per usage

1

Total users

30

Monthly users

3

Last modified

2 years ago

.dockerignore

# configurations
.idea
# crawlee and apify storage folders
apify_storage
crawlee_storage
storage
# installed files
node_modules
# git folder
.git

.editorconfig

root = true
[*]
indent_style = space
indent_size = 4
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
end_of_line = lf

.eslintrc

{
"root": true,
"env": {
"browser": true,
"es2020": true,
"node": true
},
"extends": [
"@apify/eslint-config-ts"
],
"parserOptions": {
"project": "./tsconfig.json",
"ecmaVersion": 2020
},
"ignorePatterns": [
"node_modules",
"dist",
"**/*.d.ts"
],
"rules": {
"@typescript-eslint/no-explicit-any": false
}
}

.gitignore

# This file tells Git which files shouldn't be added to source control
.DS_Store
.idea
dist
node_modules
apify_storage
storage
# Added by Apify CLI
.venv

a.html

<!doctype html>
<html itemscope itemtype="http://schema.org/SearchResultsPage" lang="en">
<head>
<meta charset="UTF-8">
<meta content="origin" name="referrer">
<meta content="/images/branding/googleg/1x/googleg_standard_color_128dp.png" itemprop="image">
<title>site://chat.openai.com/g/ - Google Search</title>
<script nonce="y2OjbVllSX8ctIpIzyZ8iw">(function () { var b = window.addEventListener; window.addEventListener = function (a, c, d) { "unload" !== a && b(a, c, d) }; }).call(this); (function () { var _g = { kEI: 'ACBTZerqGPmo5NoPwbyGmAI', kEXPI: '31', kBL: 'N9iZ', kOPI: 89978449 }; (function () { var a; (null == (a = window.google) ? 0 : a.stvsc) ? google.kEI = _g.kEI : window.google = _g; }).call(this); })(); (function () { google.sn = 'web'; google.kHL = 'en'; })(); (function () {
2023 - 11 - 14T07: 21: 36.837Z var h = this || self; function l() { return void 0 !== window.google && void 0 !== window.google.kOPI && 0 !== window.google.kOPI ? window.google.kOPI : null }; var m, n = []; function p(a) { for (var b; a && (!a.getAttribute || !(b = a.getAttribute("eid")));)a = a.parentNode; return b || m } function q(a) { for (var b = null; a && (!a.getAttribute || !(b = a.getAttribute("leid")));)a = a.parentNode; return b } function r(a) { /^http:/i.test(a) && "https:" === window.location.protocol && (google.ml && google.ml(Error("a"), !1, { src: a, glmm: 1 }), a = ""); return a }
2023 - 11 - 14T07: 21: 36.837Z function t(a, b, c, d, k) { var e = ""; -1 === b.search("&ei=") && (e = "&ei=" + p(d), -1 === b.search("&lei=") && (d = q(d)) && (e += "&lei=" + d)); d = ""; var g = -1 === b.search("&cshid=") && "slh" !== a, f = []; f.push(["zx", Date.now().toString()]); h._cshid && g && f.push(["cshid", h._cshid]); c = c(); null != c && f.push(["opi", c.toString()]); for (c = 0; c < f.length; c++) { if (0 === c || 0 < c) d += "&"; d += f[c][0] + "=" + f[c][1] } return "/" + (k || "gen_204") + "?atyp=i&ct=" + String(a) + "&cad=" + (b + e + d) }; m = google.kEI; google.getEI = p; google.getLEI = q; google.ml = function () { return null }; google.log = function (a, b, c, d, k, e) { e = void 0 === e ? l : e; c || (c = t(a, b, e, d, k)); if (c = r(c)) { a = new Image; var g = n.length; n[g] = a; a.onerror = a.onload = a.onabort = function () { delete n[g] }; a.src = c } }; google.logUrl = function (a, b) { b = void 0 === b ? l : b; return t("", a, b) };
}).call(this); (function () {
google.y = {}; google.sy = []; google.x = function (a, b) { if (a) var c = a.id; else { do c = Math.random(); while (google.y[c]) } google.y[c] = [a, b]; return !1 }; google.sx = function (a) { google.sy.push(a) }; google.lm = []; google.plm = function (a) {
google.lm.push.apply(...[line - too - long]
2023 - 11 - 14T07: 21: 36.838Z document.documentElement.addEventListener("submit", function (b) { var a; if (a = b.target) { var c = a.getAttribute("data-submitfalse"); a = "1" === c || "q" === c && !a.elements.q.value ? !0 : !1 } else a = !1; a && (b.preventDefault(), b.stopPropagation()) }, !0); document.documentElement.addEventListener("click", function (b) { var a; a: { for (a = b.target; a && a !== document.documentElement; a = a.parentElement)if ("A" === a.tagName) { a = "1" === a.getAttribute("data-nohref"); break a } a = !1 } a && b.preventDefault() }, !0);
}).call(this); (function () { google.hs = { h: true, nhs: false, sie: false }; })(); (function () { google.c = { bfrt: false, bfrte: true, bofr: true, btfi: false, c4t: false, cap: 2000, cgp: false, di: false, fla: false, fli: false, frt: false, frvt: true, gl: false, idt: 16, inpp: 98, inpsr: 0.01, irsf: false, lhc: false, linp: true, llt: false, lsb: true, lsbsr: 0.01, mais: false, marb: false, pbph: false, raf: false, si: true, sidt: 200, sisr: 0.01, sxs: false, taf: true, timl: false, upb: false, vis: true, wfo: false, wh0: false, whu: false }; })(); (function () {
2023 - 11 - 14T07: 21: 36.839Z var h = this || self; var k = window.performance; function m(a, b, d, c) { a: { c = void 0 === c ? !1 : c; c = void 0 === c ? !1 : c; for (var e = a; e && e !== b; e = e.parentElement)if ("hidden" === e.style.overflow || ("G-EXPANDABLE-CONTENT" === e.tagName || c) && "hidden" === getComputedStyle(e).getPropertyValue("overflow")) { b = e; break a } b = null } if (!b) return !1; a = d(a); d = d(b); return a.bottom < d.top || a.top >= d.bottom || a.right < d.left || a.left >= d.right }
2023 - 11 - 14T07: 21: 36.840Z function n(a) { return "none" === a.style.display ? !0 : document.defaultView && document.defaultView.getComputedStyle ? (a = document.defaultView.getComputedStyle(a), !!a && ("hidden" === a.visibility || "0px" === a.height && "0px" === a.width)) : !1 }
2023 - 11 - 14T07: 21: 36.840Z function p(a, b, d, c, e) { var f = e(a), l = f.left + (d ? 0 : window.pageXOffset), q = f.top + (d ? 0 : window.pageYOffset), r = f.width, t = f.height, g = 0; if (!b && 0 >= t && 0 >= r) return g; b = window.innerHeight || document.documentElement.clientHeight; 0 > q + t ? g = 2 : q >= b && (g = 4); if (0 > l + r || l >= (window.innerWidth || document.documentElement.clientWidth)) g |= 8; else if (c) { f = f.left; if (!d) for (; a && a !== c; a = a.parentElement)f += a.scrollLeft; c = e(c); if (f + r < c.left || f >= c.right) g |= 8 } g || (g = 1, q + t > b && (g |= 4)); return g }; var u = google.c.gl, v = google.c.sxs, w = google.c.wfo; function x(a, b, d, c) { a.addEventListener ? a.addEventListener(b, d, c || !1) : a.attachEvent && a.attachEvent("on" + b, d) } function y(a, b, d, c) { "addEventListener" in a ? a.removeEventListener(b, d, c || !1) : a.attachEvent && a.detachEvent("on" + b, d) }; google.c.iim = google.c.iim || {}; function z(a) { a && h.google.aft(a.target) } var A; function B() { y(document.documentElement, "load", A, !0); y(document.documentElement, "error", A, !0) }; google.timers = {}; google.startTick = function (a) { google.timers[a] = { t: { start: Date.now() }, e: {}, m: {} } }; google.ti...[line - too - long]
2023 - 11 - 14T07: 21: 36.842Z var g = this || self; function h(a) { try { a() } catch (b) { google.ml(b, !1) } } google.caft = function (a, b) { null === google.aftq ? h(a) : (google.aftq = google.aftq || [], google.aftq.push(a), b && window.setTimeout(function () { google.aftq && (google.aftq = google.aftq.filter(function (c) { return a !== c }), h(a)) }, b)) }; function m() { return window.performance && window.performance.navigation && window.performance.navigation.type }; var q = google.c.bfrt, aa = google.c.cgp, ba = google.c.lhc, ca = google.c.pbph, t = google.c.sxs, u = google.c.taf, v = google.c.btfi, w = google.c.frt, x = google.c.frvt, y = google.c.timl, z = google.c.upb; function A(a) { return "/gen_204?s=" + google.sn + "&t=" + a + "&atyp=csi&ei=" + google.kEI }; function B() { var a; null == (a = C("cap")) || a.sendNow(); var b; null == (b = C("aft")) || b.sendNow(); var c; null == (c = C("all")) || c.sendNow(); a = window; "addEventListener" in a ? a.removeEventListener("pagehide", B, !1) : a.attachEvent && a.detachEvent("onpagehide", B) } var D = {}; function E(a) { z && (D[a] = new PendingGetBeacon(A(a) + "&inc=1")) } function C(a) { if (z) return D[a] }; var da = window.lo...[line-too - long]
2023 - 11 - 14T07: 21: 36.843Z function G(a, b) { var c = google.timers[b || "load"]; b = c.m; if (!b || !b.prs) { var d = m() ? 0 : F("qsubts"); 0 < d && (b = F("fbts"), 0 < b && (c.t.start = Math.max(d, b))); var e = c.t, f = e.start; b = { wsrt: c.wsrt || 0 }; if (f) for (var r = 0, n; n = ea[r++];) { var k = e[n]; k && (b[n] = Math.max(k - f, 0)) } 0 < d && (b.gsasrt = c.t.start - d); d = c.e; c = A(a) + "&rt="; e = ""; for (var p in b) c += "" + e + p + "." + b[p], e = ","; for (var l in d) c += "&" + l + "=" + d[l]; p = c; l = ""; c = []; g._cshid && c.push(["cshid", g._cshid]); d = void 0 !== window.google && void 0 !== window.google.kOPI && 0 !== window.google.kOPI ? window.google.kOPI : null; null != d && c.push(["opi", d.toString()]); for (d = 0; d < c.length; d++) { if (0 === d || 0 < d) l += "&"; l += c[d][0] + "=" + c[d][1] } c = p + l; 2 === m() && (c += "&bb=1"); 1 === m() && (c += "&r=1"); "gsasrt" in b && (b = F("qsd"), 0 < b && (c += "&qsd=" + b)); b = c; (a = C(a)) ? (a.setURL(b), a.sendNow()) : "function" === typeof navigator.sendBeacon ? navigator.sendBeacon(b, "") : google.log("", "", b) } }; function H(a) { a && google.tick("load", "cbs", a); google.tick("load", "cbt"); G("cap") }; var I = "src bsrc url ll image img-url".split(" "); function fa(a) {...[line - too - long]
2023 - 11 - 14T07: 21: 36.845Z function ha(a) { var b; for (b = a; b && "center_col" !== b.id;)b = b.parentElement; if (!b && aa) a: { for (b = a; b; b = b.parentElement)if ("G-SCROLLING-CAROUSEL" === b.tagName) break a; b = null } var c = a.parentElement; if (c && ("G-IMG" === c.tagName || c.classList.contains("uhHOwf")) && (c.style.height || c.style.width)) { var d = c.getBoundingClientRect(), e = a.getBoundingClientRect(); if (d.height <= e.height || d.width <= e.width) a = c } return google.cv(a, !1, void 0, b) } google.c.iim = google.c.iim || {}; var J = window.performance; var K = window.innerHeight || document.documentElement.clientHeight, L = 0, M = 0, N = 0, O = 0, ia = 0, la = 0, P = 0, Q = 0, ma = 0, na = 0, R = !0, S = !0, T = -1, U, V = t ? "load2" : "load"; function W(a, b, c, d) { var e = google.timers[V].t[a]; e && (c || d && null != b && b < e) || google.tick(V, a, b) } function X(a, b, c) { var d = "1" === a.getAttribute("data-frt"); w && d && (W("frt", c, !1, !0), ++O, Y()); b && (x && d && (W("frvt", c, !1, !0), ++la), W("aft", c, !1, !0), W("afti", c, !1, !0), ++Q, R || (T = K), Y()); y && W("iml", c, !1, !0); ++M; a.setAttribute("data-frt", "0"); (y || b || q && d) && oa() }
2023 - 11 - 14T07: 21: 36.846Z function oa() { var a = Q === P, b = O === N; a = q ? a && b : a; a = y ? M === L : a; !S && a && google.c.u("il", V) }
2023 - 11 - 14T07: 21: 36.847Z function Y() {
if (!R) {
var a = Q === P, b = O === N, c = x && la === ia; a && (google.c.e(V, "aft", "1"), google.c.e(V, "aftp", String(Math.round(T)))); if (a && b) { U && clearTimeout(U); var d; null == (d = C("cap")) || d.deactivate(); G(t ? "aft2" : "aft", V); if (!t && google.c.c4t && J && J.mark && J.timing) { var e = google.timers.load; d = e.wsrt; e = e.t.aft; d && 0 < d && e && 0 < e && (e -= J.timing.navigationStart, 0 < e && (J.mark("SearchAFTStart", { startTime: d }), J.mark("trigger:SearchAFTEnd", { startTime: e }))) } } "hidden" === document.visibilityState && google.c.e(V, "hddn", "1"); if (!t &&
2023 - 11 - 14T07: 21: 36.847Z null !== google.aftq && (2 === google.fevent || 3 === google.fevent ? google.fevent : 1) & ((a ? 1 : 0) | (c || b ? 2 : 0))) { google.tick("load", "aftqf", Date.now()); var f; for (a = 0; b = null == (f = google.aftq) ? void 0 : f[a++];)h(b); google.aftq = null }
}
} function pa() { R && !google.c.bofr && (R = !1, R || (google.c.e(V, "ima", String(P)), google.c.e(V, "imad", String(ma)), google.c.e(V, "imac", String(na)), google.c.e(V, "imf", String(N)), document.getElementsByClassName("Ib7Efc").length && google.c.e(V, "ddl", "1")), Y()) }
2023 - 11 - 14T07: 21: 36.848Z function qa(a, b) { 0 === b || b & 8 || (a.setAttribute("data-frt", "1"), w && ++N) }
2023 - 11 - 14T07: 21: 36.848Z function ra(a, b, c) {
var d = a.getAttribute("data-atf"); if (d) return c = Number(d), b && !a.hasAttribute("data-frt") && qa(a, c), c; var e = "string" !== typeof a.src || !a.src, f = !!a.getAttribute("data-bsrc"), r = !!a.getAttribute("data-deferred"), n = !r && fa(a); n && a.setAttribute("data-lzy_", "1"); d = ha(a); a.setAttribute("data-atf", String(d)); var k = !!(d & 1); e = (e || a.complete) && !r && !f && !(k && n); f = !ba && Number(a.getAttribute("data-iml")) || 0; ++L; if (e && !f || a.hasAttribute("data-noaft")) a.setAttribute("data-frt", "0"), ++M, k && ++na; else {
var p =
2023 - 11 - 14T07: 21:36.849Z d & 4, l = v && p && f && T < K; if (l) { var ja = a.getBoundingClientRect().top + window.pageYOffset; !c || 0 > c || ja < c ? T = k ? K : ja : l = !1 } k && (++P, r && ++ma); b && qa(a, d); x && k && b && ++ia; l && (W("aft", f, !1, !0), W("aftb", f, !1, !0)); if (e && f) X(a, k, v ? 0 : f); else { k && (!u && !c || p || c && (0 > c || c >= K)) && (T = K); var ka = a.src; google.rll(a, !0, function () { (r || n) && ka && ka === a.src ? google.rll(a, !0, function () { X(a, k, Date.now()) }) : X(a, k, Date.now()) }) }
} return d
}
2023 - 11 - 14T07: 21: 36.850Z if (z && "function" === typeof window.PendingGetBeacon) { E("cap"); E("aft"); E("all"); if (ca) { var Z = window; Z.addEventListener ? Z.addEventListener("pagehide", B, !1) : Z.attachEvent && Z.attachEvent("onpagehide", B) } google.c.lpb = C("all") }
2023 - 11 - 14T07: 21: 36.850Z if (0 < google.c.cap && !t) a: { var sa = google.c.cap; if (window.performance && window.performance.timing && "navigationStart" in window.performance.timing) { var ta = window.performance.now(), ua = sa - ta; if (0 < ua) { U = setTimeout(H, ua, Math.floor(window.performance.timing.navigationStart + ta)); break a } H() } U = void 0 } google.c.wh = Math.floor(window.innerHeight || document.documentElement.clientHeight); google.c.e(V, "wh", String(google.c.wh)); google.c.b("il", V); if (google.c.sxs) { var va = google.c.setup; google.c.setup = function (a) { va(a); return ra(a) } } else google.c.setup = ra; google.c.ubr = function (a, b, c, d) { u && T < K ? (T = c || -1, W("aft", b)) : 0 > T && (c && (T = c), v && W("aft", b)); a || W("afts", b, !0); d || (W("aft", b, !0), a && S ? (W("prt", b), y && W("iml", b, !0), S = !1, pa(), oa(), google.c.setup = function () { return 0 }, google.c.ubr = function () { }) : pa()) };
}).call(this); (function () {
var b = [function () { google.tick && google.tick("load", "dcl") }]; google.dclc = function (a) { b.length ? b.push(a) : a() }; function c() { for (var a = b.shift(); a;)a(), a = b.shift() } window.addEventListener ? (document.add...[line - too - long]
2023 - 11 - 14T07: 21: 36.851Z var e = this || self;
2023 - 11 - 14T07: 21: 36.851Z var f = {}; function w(a, c) { if (null === c) return !1; if ("contains" in a && 1 == c.nodeType) return a.contains(c); if ("compareDocumentPosition" in a) return a == c || !!(a.compareDocumentPosition(c) & 16); for (; c && a != c;)c = c.parentNode; return c == a };
2023 - 11 - 14T07: 21: 36.852Z var y = function (a, c) { return function (d) { d || (d = window.event); return c.call(a, d) } }, z = "undefined" != typeof navigator && /Macintosh/.test(navigator.userAgent), E = function () { this._mouseEventsPrevented = !0 }; var F = function (a) { this.g = a; this.h = [] }, G = function (a) { for (var c = 0; c < a.h.length; ++c) { var d = a.g, b = a.h[c]; d.removeEventListener ? d.removeEventListener(b.eventType, b.s, b.capture) : d.detachEvent && d.detachEvent("on" + b.eventType, b.s) } a.h = [] }; var H = e._jsa || {}; H._cfc = void 0; H._aeh = void 0;
2023 - 11 - 14T07: 21: 36.852Z var I = function () { this.h = this.g = null }, K = function (a, c) { var d = J; d.g = a; d.h = c; return d }; I.prototype.i = function () { var a = this.g; this.g && this.g != this.h ? this.g = this.g.__owner || this.g.parentNode : this.g = null; return a }; var L = function () { var a; this.j = a = void 0 === a ? [] : a; this.g = 0; this.h = null; this.l = !1 }, N = function (a, c) { var d = M; d.j = a; d.g = 0; d.h = c; d.l = !1; return d }; L.prototype.i = function () { if (this.l) return J.i(); if (this.g != this.j.length) { var a = this.j[this.g]; this.g++; a != this.h && a && a.__owner && (this.l = !0, K(a.__owner, this.h)); return a } return null }; var J = new I, M = new L;
2023 - 11 - 14T07: 21: 36.853Z var Q = function () { this.v = []; this.g = []; this.h = []; this.l = {}; this.i = null; this.j = []; P(this, "_custom") }, R = function (a) { return String.prototype.trim ? a.trim() : a.replace(/^\s+/, "").replace(/\s+$/, "") }, ia = function (a, c) {
return function m(b, g) {
g = void 0 === g ? !0 : g; var l = c; if ("_custom" == l) { l = b.detail; if (!l || !l._type) return; l = l._type } var k = l; "click" == k && (z && b.metaKey || !z && b.ctrlKey || 2 == b.which || null == b.which && 4 == b.button || b.shiftKey) ? k = "clickmod" : "keydown" == k && !b.a11ysc && (k = "maybe_click"); var u = b.srcElement || b.target; l = S(k, b, u, "", null); var aa = b.path ? N(b.path, this) : b.composedPath ? N(b.composedPath(), this) : K(u, this); for (var r; r = aa.i();) {
var h = r; var p = void 0; r = h; var q = k, ba = b; var n = r.__jsaction; if (!n) { var x; n = null; "getAttribute" in r && (n = r.getAttribute("jsaction")); if (x = n) { n = f[x]; if (!n) { n = {}; for (var A = x.split(ca), da = A ? A.length : 0, B = 0; B < da; B++) { var v = A[B]; if (v) { var C = v.indexOf(":"), O = -1 != C, fa = O ? R(v.substr(0, C)) : ea; v = O ? R(v.substr(C + 1)) : v; n[fa] = v } } f[x] = n } r.__jsaction = n } else n = ha, r.__jsaction = n } "maybe_click" == q && n.cli...[line - too - long]
2023 - 11 - 14T07: 21: 36.854Z "pointerover" == b.type && "pointerenter" == k || "pointerout" == b.type && "pointerleave" == k)|| u && (u === h || w(h, u))) l.action = "", l.actionElement = null;else { k = {}; for (var t in b) "function" !== typeof b[t] && "srcElement" !== t && "target" !== t && (k[t] = b[t]); k.type = "mouseover" == b.type ? "mouseenter" : "mouseout" == b.type ? "mouseleave" : "pointerover" == b.type ? "pointerenter" : "pointerleave"; k.target = k.srcElement = h; k.bubbles = !1; l.event = k; l.targetElement = h }
}else l.action = "", l.actionElement = null; h = l; a.i && !h.event.a11ysgd && (t = S(h.eventType, h.event, h.targetElement, h.action, h.actionElement, h.timeStamp), "clickonly" == t.eventType && (t.eventType = "click"), a.i(t, !0)); if (h.actionElement || "maybe_click" == h.eventType) {
if (a.i) { if (!h.actionElement || "A" != h.actionElement.tagName || "click" != h.eventType && "clickmod" != h.eventType || (b.preventDefault ? b.preventDefault() : b.returnValue = !1), (b = a.i(h)) && g) { m.call(this, b, !1); return } } else { if ((g = e.document) && !g.createEvent && g.createEventObject) try { var D = g.createEventObject(b) } catch (la) { D = b } else D = b; h.event = D; a.j.push(h) } H._aeh &&
2023 - 11 - 14T07: 21: 36.854Z H._aeh(h)
}
}
}, S = function (a, c, d, b, g, m) { return { eventType: a, event: c, targetElement: d, action: b, actionElement: g, timeStamp: m || Date.now() } }, ja = function (a, c) { return function (d) { var b = a, g = c, m = !1; "mouseenter" == b ? b = "mouseover" : "mouseleave" == b ? b = "mouseout" : "pointerenter" == b ? b = "pointerover" : "pointerleave" == b && (b = "pointerout"); if (d.addEventListener) { if ("focus" == b || "blur" == b || "error" == b || "load" == b || "toggle" == b) m = !0; d.addEventListener(b, g, m) } else d.attachEvent && ("focus" == b ? b = "focusin" : "blur" == b && (b = "focusout"), g = y(d, g), d.attachEvent("on" + b, g)); return { eventType: b, s: g, capture: m } } }, P = function (a, c) { if (!a.l.hasOwnProperty(c)) { var d = ia(a, c), b = ja(c, d); a.l[c] = d; a.v.push(b); for (d = 0; d < a.g.length; ++d) { var g = a.g[d]; g.h.push(b.call(null, g.g)) } "click" == c && P(a, "keydown") } }; Q.prototype.s = function (a) { return this.l[a] }; var W = function (a, c) { var d = new F(c); a: { for (var b = 0; b < a.g.length; b++)if (T(a.g[b].g, c)) { c = !0; break a } c = !1 } if (c) return a.h.push(d), d; U(a, d); a.g.push(d); V(a); return d }, V = function (a) {
for (var c = a.h.concat(a.g), d = [], b...[line-too - long]
2023 - 11 - 14T07: 21: 36.855Z function b(c) { var a; a: { for (a = c.target; a && a !== document.documentElement; a = a.parentElement)if ("A" === a.tagName && "1" === a.getAttribute("data-jsarwt")) break a; a = null } a && window.jsarwt(a, null, c); return !0 }; window.document.documentElement.addEventListener("mousedown", b, !0); window.document.documentElement.addEventListener("touchstart", b, !0);
}).call(this); (function () { window.rwt = function () { return !0 }; }).call(this); (function () {
2023 - 11 - 14T07: 21: 36.855Z var b = this || self; var d, e; a: { for (var f = ["CLOSURE_FLAGS"], g = b, h = 0; h < f.length; h++)if (g = g[f[h]], null == g) { e = null; break a } e = g } var k = e && e[610401301]; d = null != k ? k : !1; var l, m = b.navigator; l = m ? m.userAgentData || null : null; function n(c) { return d ? l ? l.brands.some(function (a) { return (a = a.brand) && -1 != a.indexOf(c) }) : !1 : !1 } function t(c) { var a; a: { if (a = b.navigator) if (a = a.userAgent) break a; a = "" } return -1 != a.indexOf(c) }; function u() { return d ? !!l && 0 < l.brands.length : !1 } function v() { return t("Safari") && !(w() || (u() ? 0 : t("Coast")) || (u() ? 0 : t("Opera")) || (u() ? 0 : t("Edge")) || (u() ? n("Microsoft Edge") : t("Edg/")) || (u() ? n("Opera") : t("OPR")) || t("Firefox") || t("FxiOS") || t("Silk") || t("Android")) } function w() { return u() ? n("Chromium") : (t("Chrome") || t("CriOS")) && !(u() ? 0 : t("Edge")) || t("Silk") }; var x = function (c) { return String(c).replace(/\-([a-z])/g, function (a, p) { return p.toUpperCase() }) }; var z = u() ? !1 : t("Trident") || t("MSIE"); !t("Android") || w(); w(); v(); var A = !z && !v(); window.jsarwt = function (c, a, p) {
if (!a) if (A && c.dataset) a = c.dataset; else {
a = {};...[line - too - long]
2023 - 11 - 14T07: 21: 36.856Z var h = this || self; var k, l = null != (k = h.mei) ? k : 1, n, p = null != (n = h.sdo) ? n : !0, q = 0, r, t = google.erd, v = t.jsr; google.ml = function (a, b, d, m, e) {
e = void 0 === e ? 2 : e; b && (r = a && a.message); void 0 === d && (d = {}); d.cad = "ple_" + google.ple + ".aple_" + google.aple; if (google.dl) return google.dl(a, e, d), null; if (0 > v) { window.console && console.error(a, d); if (-2 === v) throw a; b = !1 } else b = !a || !a.message || "Error loading script" === a.message || q >= l && !m ? !1 : !0; if (!b) return null; q++; d = d || {}; b = encodeURIComponent; var c = "/gen_204?atyp=i&ei=" + b(google.kEI); google.kEXPI && (c += "&jexpid=" + b(google.kEXPI)); c += "&srcpg=" + b(google.sn) + "&jsr=" + b(t.jsr) + "&bver=" +
2023 - 11 - 14T07: 21: 36.857Z b(t.bv); var f = a.lineNumber; void 0 !== f && (c += "&line=" + f); var g = a.fileName; g && (0 < g.indexOf("-extension:/") && (e = 3), c += "&script=" + b(g), f && g === window.location.href && (f = document.documentElement.outerHTML.split("\n")[f], c += "&cad=" + b(f ? f.substring(0, 300) : "No script found."))); google.ple && 1 === google.ple && (e = 2); c += "&jsel=" + e; for (var u in d) c += "&", c += b(u), c += "=", c += b(d[u]); c = c + "&emsg=" + b(a.name + ": " + a.message); c = c + "&jsst=" + b(a.stack || "N/A"); 12288 <= c.length && (c = c.substr(0, 12288)); a = c; m || google.log(0, "", a); return a
}; window.onerror = function (a, b, d, m, e) { r !== a && (a = e instanceof Error ? e : Error(a), void 0 === d || "lineNumber" in a || (a.lineNumber = d), void 0 === b || "fileName" in a || (a.fileName = b), google.ml(a, !1, void 0, !1, "SyntaxError" === a.name || "SyntaxError" === a.message.substring(0, 11) || -1 !== a.message.indexOf("Script error") ? 3 : 0)); r = null; p && q >= l && (window.onerror = null) };
}) (); var h = "function" == typeof Object.defineProperties ? Object.defineProperty : function (a, b, c) {
if (a == Array.prototype || a == Object.prototype) return a; a[b] = c.valu...[line - too - long]
2023 - 11 - 14T07: 21: 36.858Z c)) break a; c = c[e]
}a = a[a.length - 1]; d = c[a]; b = b(d); b != d && null != b && h(c, a, { configurable: !0, writable: !0, value: b })
}
}; m("String.prototype.startsWith", function (a) { return a ? a : function (b, c) { if (null == this) throw new TypeError("The 'this' value for String.prototype.startsWith must not be null or undefined"); if (b instanceof RegExp) throw new TypeError("First argument to String.prototype.startsWith must not be a regular expression"); var d = this + ""; b += ""; var e = d.length, g = b.length; c = Math.max(0, Math.min(c | 0, d.length)); for (var f = 0; f < g && c < e;)if (d[c++] != b[f++]) return !1; return f >= g } }); google.arwt = function (a) { a.href = document.getElementById(a.id.substring(a.id.startsWith("vcs") ? 3 : 1)).href; return !0 }; (function () {
google.eufsv = true; (function () {
var f = function (a) { var b = a.url; a = a.j; this.h = b; this.l = a; a = /[?&]dsh=1(&|$)/.test(b); this.i = !a && /[?&]ae=1(&|$)/.test(b); this.v = !a && /[?&]ae=2(&|$)/.test(b); if ((this.g = /[?&]adurl=([^&]*)/.exec(b)) && this.g[1]) { try { var d = decodeURIComponent(this.g[1]) } catch (c) { d = null } this.s = d } }, k = function (...[line- too - long]
2023 - 11 - 14T07: 21: 36.858Z var n = function (a) { this.g = a }; n.prototype.toString = function () { return this.g.toString() }; var p = function (a) { return a instanceof n && a.constructor === n ? a.g : "type_error:SafeUrl" }, q = {}, r = new n("about:invalid#zClosurez", q); var t = /^((market|itms|intent|itms-appss):\/\/)/i;
2023 - 11 - 14T07: 21: 36.859Z var u = "function" === typeof URL; function v(a) { a: if (u) { try { var b = new URL(a) } catch (d) { b = "https:"; break a } b = b.protocol } else b: { b = document.createElement("a"); try { b.href = a } catch (d) { b = void 0; break b } b = b.protocol; b = ":" === b || "" === b ? "https:" : b } if ("javascript:" !== b) return a }; var w = function (a) { this.B = a }; function x(a) { return new w(function (b) { return b.substr(0, a.length + 1).toLowerCase() === a + ":" }) } var y = [x("data"), x("http"), x("https"), x("mailto"), x("ftp"), new w(function (a) { return /^[^:]*([/?#]|$)/.test(a) })]; var z = function () { var a = { A: google.eufsv }, b = this; a = (void 0 === a ? {} : a).A; this.g = null; a && navigator.userAgentData && navigator.userAgentData.getHighEntropyValues && (a = navigator.userAgentData.getHighEntropyValues("platform platformVersion uaFullVersion architecture model bitness fullVersionList wow64".split(" "))) && a.then(function (d) { b.g = d }) }; z.prototype.handle = function (a) {
if (a.hasAttribute("data-ohref")) var b = a.getAttribute("data-ohref"); else b = a.href, a.setAttribute("data-ohref", b); var d = b; var c = { j: this.g }; c = ne...[line - too - long]
2023 - 11 - 14T07: 21: 36.859Z((google.eplfdd || google.ellfdd) && "_blank" !== a.target && (google.iutaicc ? (e = a.hasAttribute("data-ohref") ? a.getAttribute("data-ohref") : a.href, e = new f({ url: e, j: F.g }), e = e.l ? h(e, m(e)) : e.h, E(e)) : (e = a.hasAttribute("data-ohref") ? a.getAttribute("data-ohref") : a.href, E(e))), F.handle(a)); return !0
};
}).call(this);
})(); (function () {
var f = function (a) { var b = 0; return function () { return b < a.length ? { done: !1, value: a[b++] } : { done: !0 } } };
2023 - 11 - 14T07: 21: 36.860Z var g = this || self; var h = function (a, b) { if (b = "label" + (null != b ? "=" + encodeURIComponent(String(b)) : "")) { var c = a.indexOf("#"); 0 > c && (c = a.length); var d = a.indexOf("?"); if (0 > d || d > c) { d = c; var e = "" } else e = a.substring(d + 1, c); a = [a.slice(0, d), e, a.slice(c)]; c = a[1]; a[1] = b ? c ? c + "&" + b : b : c; b = a[0] + (a[1] ? "?" + a[1] : "") + a[2] } else b = a; return b }; function k(a) { for (; a && a != document.documentElement; a = a.parentElement)if ("A" == a.tagName) return a; return null }
2023 - 11 - 14T07: 21: 36.860Z function l() {
if ("visible" === document.visibilityState) google.ellfdd && m(), google.vcmd = "", google.cufph = ""; else if ("hidden" === document.visibilityState && google.cufph && google.vcmd) {
if (google.ellfdd) try { var a = JSON.parse(window.localStorage.getItem("uha") || "[]"); a.push(google.cufph + "," + google.vcmd); window.localStorage.setItem("uha", JSON.stringify(a)) } catch (b) { navigator && null != navigator.sendBeacon && navigator.sendBeacon(h(google.cufph, -1 != google.vcmd.indexOf("pagehide") ? "hph_v2" : "noph_v2")) } google.eplfdd &&
2023 - 11 - 14T07: 21: 36.861Z navigator && null != navigator.sendBeacon && navigator.sendBeacon(h(google.cufph, -1 != google.vcmd.indexOf("pagehide") ? "hph" : "noph"))
}
} function n() { google.cufph && google.vcmd && (google.vcmd += "+pagehide") } function p() { m() }
2023 - 11 - 14T07: 21: 36.861Z function m() { try { var a = JSON.parse(window.localStorage.getItem("uha") || "[]"); if (0 !== a.length) { if (navigator && null != navigator.sendBeacon) for (var b = 0; b < a.length; b++) { var c = a[b].split(","); if (2 === c.length) { var d = "undefined" != typeof Symbol && Symbol.iterator && c[Symbol.iterator]; if (d) var e = d.call(c); else if ("number" == typeof c.length) e = { next: f(c) }; else throw Error("a`" + String(c)); var r = e.next().value, t = e.next().value; navigator.sendBeacon(h(r, -1 != t.indexOf("pagehide") ? "hph_v2" : "noph_v2")) } } window.localStorage.removeItem("uha") } } catch (v) { } }
2023 - 11 - 14T07: 21: 36.862Z function q(a) { if (a = k(a.target)) switch (a.getAttribute("data-agdh")) { case "arwt": google.arwt(a); break; case "fvd3vc": g.J4LCUe(a); break; case "EdKoMd": (0, google.f.LmvwCb)(a) }return !0 } function u(a) { return "Enter" === a.key ? q(a) : !0 }; window.document.documentElement.addEventListener("mousedown", q, !0); window.document.documentElement.addEventListener("touchstart", q, !0); google.iokefur && window.document.documentElement.addEventListener("keydown", u, !0); window.document.documentElement.addEventListener("click", function (a) { var b = k(a.target); if (b) switch (b.getAttribute("data-agch")) { case "ausb": google.ausb(b); break; case "HJ3bqe": window.YvikHb(a, b); break; case "cqUJI": (0, google.f.DfwaCb)(b) }return !0 }, !0); google.eplfdd && google.ellfdd ? (window.document.addEventListener("visibilitychange", l, !0), window.addEventListener("pagehide", n, !0), window.addEventListener("load", p, !0)) : google.eplfdd ? (window.document.addEventListener("visibilitychange", l, !0), window.addEventListener("pagehide", n, !0)) : google.ellfdd && (window.document.a...[line - too - long]
2023 - 11 - 14T07: 21: 36.863Z </script>
<style>
html,
body,
h1,
input,
select {
font-family: Roboto, arial, sans-serif
}
body,
h1 {
font-size: 14px;
}
h1 {
font-weight: normal;
margin: 0;
padding: 0
}
h3 {
font-weight: normal;
margin: 0;
padding: 0;
font-size: 20px;
line-height: 1.3
}
body {
margin: 0;
background: #fff;
color: #202124;
}
a {
color: #1a0dab;
text-decoration: none;
-webkit-tap-highlight-color: rgba(0, 0, 0, .1)
}
a:visited {
color: #681da8
}
a:hover {
text-decoration: underline
}
a:hover h3 {
text-decoration: underline
}
a.a-no-hover-decoration:hover,
a.a-no-hover-decoration:hover h3 {
text-decoration: none
}
cite,
cite a:link,
cite a:visited {
color: #4d5156;
font-style: normal
}
button {
margin: 0
}
ol li {
list-style: none
}
ol,
ul,
li {
margin: 0;
padding: 0
}
input {
font-size: 14px
}
em {
font-weight: bold;
font-style: normal
}
.aCOpRe em,
.yXK7lf em {
color: #5f6368;
}
.aCOpRe a em {
color: inherit
}
@-webkit-keyframes qs-timer {
0% {}
}
html:not(.zAoYTe) [tabindex] {
outline: 0
}
html:not(.zAoYTe) [href],
html:not(.zAoYTe) button,
html:not(.zAoYTe) iframe,
html:not(.zAoYTe) input,
html:not(.zAoYTe) select,
html:not(.zAoYTe) textarea {
outline: ... [line-too-long] 2023-11-14T07:21:36.863Z !1;
m&&google.c.ubr( !1, f, h, !e)
}
;
}).call(this);
})();
</script></div><div class="MjjYud"><div jscontroller="SC7lYd" class="g Ww4FFb vt6azd tF2Cxc asEBEc" lang="ja" style="width:600px" jsaction="QyLbLe:OMITjf;ewaord:qsYrDe;xd28Mb:A6j43c" data-hveid="CCUQAA" data-ved="2ahUKEwjq6riY-sKCAxV5FFkFHUGeASMQFSgAegQIJRAA"><div class="N54PNb BToiNc cvP2Ce" data-snc="ih6Jnb_ubb9Ge"><div class="kb0PBd cvP2Ce jGGQ5e" data-snf="x5WNvb" data-snhf="0"><div class="yuRUbf"><div><span jscontroller="msmzHf" jsaction="rcuQ6b:npT2md;PYDNKe:bLV6Bd;mLt3mc"><a jsname="UWckNb" href="https://chat.openai.com/g/g-wE9SWrR22" data-jsarwt="1" data-usg="AOvVaw0-edKSToMFbStSM_XzJ66v" data-ved="2ahUKEwjq6riY-sKCAxV5FFkFHUGeASMQFnoECBMQAQ"><br><h3 class="LC20lb MBeuO DKV0Md">敏腕マンガ・ラノベ編集者お姉ちゃん - saysay.ai</h3><div class="notranslate TbwUpd NJjxre iUh30 ojE3Fb"><span class="H9lube"><div class="eqA2re NjwKYd Vwoesf" aria-hidden="true"><img class="XNo5Ab" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAEL0lE... [line-too-long]
2023-11-14T07:21:36.864Z var e=this||self,
f=function(a) {
return a
}
;
var g;
var h=function(a) {
this.g=a
}
;
h.prototype.toString=function() {
return this.g+""
}
;
var k= {}
;
var l=function() {
var a=document;
var b="SCRIPT";
"application/xhtml+xml"===a.contentType&&(b=b.toLowerCase());
return a.createElement(b)
}
;
2023-11-14T07:21:36.864Z function m(a, b) {
a.src=b instanceof h&&b.constructor===h?b.g: "type_error:TrustedResourceUrl";
var c,
d;
(c=(b=null==(d=(c=(a.ownerDocument&&a.ownerDocument.defaultView||window).document).querySelector)?void 0:d.call(c, "script[nonce]"))?b.nonce||b.getAttribute("nonce")||"":"")&&a.setAttribute("nonce", c)
}
;
function n(a) {
a=null===a?"null": void 0===a?"undefined":a;
if(void 0===g) {
var b=null;
var c=e.trustedTypes;
if(c&&c.createPolicy) {
try {
b=c.createPolicy("goog#html", {
createHTML:f, createScript:f, createScriptURL:f
})
}
catch(d) {
e.console&&e.console.error(d.message)
}
g=b
}
else g=b
}
a=(b=g)?b.createScriptURL(a):a;
return new h(a, k)
}
;
void 0===google.ps&&(google.ps=[]);
function p() {
var a=u,
b=function() {}
;
google.lx=google.stvsc?b:function() {
q(a);
google.lx=b
}
;
google.bx||google.lx()
}
function r(a, b) {
b&&m(a, n(b));
var c=a.onload;
a.onload=function(d) {
c&&c(d);
google.ps=google.ps.filter(function(t) {
return a !==t
})
}
;
google.ps.push(a);
document.body.appendChild(a)
}
google.as=r;
function q(a) {
google.timers&&google.timers.load&&g... [line-too-long] 2023-11-14T07:21:36.865Z (function() {
google.jl= {
blt:'none', chnk:0, dw:false, dwu:true, emtn:0, end:0, ico:false, ikb:0, ine:false, injs:'none', injt:0, injth:0, injv2:false, lls:'viewport', pdt:0, rep:0, snet:true, strt:0, ubm:false, uwp:true
}
;
})();
(function() {
var pmc='{\x22aa\x22:{},\x22abd\x22:{\x22abd\x22:false,\x22deb\x22:false,\x22det\x22:false},\x22async\x22:{},\x22attn\x22:{},\x22bgd\x22:{\x22ac\x22:true,\x22as\x22:true,\x22at\x22:0,\x22ea\x22:true,\x22ed\x22:0,\x22ei\x22:true,\x22el\x22:true,\x22ep\x22:true,\x22er\x22:true,\x22et\x22:0,\x22eu\x22:false,\x22wl\x22:false},\x22cdos\x22:{\x22cdobsel\x22:false},\x22cr\x22:{\x22qir\x22:false,\x22rctj\x22:true,\x22ref\x22:false,\x22uff\x22:false},\x22csi\x22:{},\x22d\x22:{},\x22foot\x22:{\x22dv\x22:\x220zpMMTozUq8QIDlq9acmfs5CJFDLvBg\x22},\x22gf\x22:{\x22pid\x22:196},\x22gwc\x22:{},\x22hsm\x22:{},\x22jsa\x22:{\x22csi\x22:true,\x22csir\x22:100},\x22kyn\x22:{},\x22lli\x22:{},\x22mb4ZUb\x22:{},\x22mu\x22:{\x22murl\x22:\x22https://adservice.google.com/adsid/google/ui\x22},\x22pHXghd\x... [line-too-long]
2023-11-14T07:21:36.865Z var e=this||self; var g, h; a: {
for(var k=["CLOSURE_FLAGS"], l=e, n=0; n<k.length; n++)if(l=l[k[n]], null==l) {
h=null; break a
}
h=l
}
var p=h&&h[610401301]; g=null !=p?p: !1; var q, r=e.navigator; q=r?r.userAgentData||null:null; function t(a) {
return g?q?q.brands.some(function(c) {
return(c=c.brand)&&-1 !=c.indexOf(a)
}): !1: !1
}
function u(a) {
var c; a: {
if(c=e.navigator)if(c=c.userAgent)break a; c=""
}
return-1 !=c.indexOf(a)
}
; function v() {
return g? ! !q&&0<q.brands.length: !1
}
function w() {
return u("Safari")&& !(x()||(v()?0:u("Coast"))||(v()?0:u("Opera"))||(v()?0:u("Edge"))||(v()?t("Microsoft Edge"):u("Edg/"))||(v()?t("Opera"):u("OPR"))||u("Firefox")||u("FxiOS")||u("Silk")||u("Android"))
}
function x() {
return v()?t("Chromium"):(u("Chrome")||u("CriOS"))&& !(v()?0:u("Edge"))||u("Silk")
}
function y() {
return u("Android")&& !(x()||u("Firefox")||u("FxiOS")||(v()?0:u("Opera"))||u("Silk"))
}
; var z=v()? !1:u("Trident")||u("MSIE"); y(); x(); w(); Object.freeze({}); var A= !z&& !w(), D=function(a) {
if(/-[a-z]/.test("ved"))return null; if(A&&a.dataset) {
if... [line-too-long] 2023-11-14T07:21:36.866Z a.closest("[data-ved]"))?D(f)||"": "";
f=f||"";
if(a.hasAttribute("jsname"))a=a.getAttribute("jsname");
else {
var C;
a=null==(C=a.closest("[jsname]"))?void 0: C.getAttribute("jsname")
}
google.log("rcm", "&ei=" +c+"&ved=" +f+"&jsname=" +(a||""))
}
}
else F=a,
E=[c]
}
window.document.addEventListener("DOMContentLoaded", function() {
document.body.addEventListener("click", G)
});
}).call(this);
var w=function(a) {
var b=0;
return function() {
return b<a.length? {
done: !1, value:a[b++]
}
: {
done: !0
}
}
}
;
window.jsl=window.jsl|| {}
;
window.jsl.dh=function(a, b, m) {
try {
var h=document.getElementById(a),
e;
if( !h&&(null==(e=google.stvsc)?0:e.dds)) {
e=[];
var f=e.concat,
c=google.stvsc.dds;
if(c instanceof Array)var n=c;
else {
var p="undefined" !=typeof Symbol&&Symbol.iterator&&c[Symbol.iterator];
if(p)var g=p.call(c);
else if("number"==typeof c.length)g= {
next: w(c)
}
;
else throw Error(String(c)+" is not an iterable or ArrayLike");
c=g;
var q;
for(g=[]; !(q=c.next()).done; )g.push(q.value);
n=g
}
var r=f.call(e, n);
for(f=0; f<r.length&& !(h=r[f].getElementById(a)); ... [line-too-long] 2023-11-14T07:21:36.866Z k:"Missing ID"),
!1,
d)
}
}
catch(x) {
google.ml(x, !0, {
"jsl.dh": !0
})
}
}
;
(function() {
var x=true; google.jslm=x?2:1;
})();
google.x(null, function() {
(function() {
(function() {
google.csct= {}
; google.csct.ps='AOvVaw1rQLZaUZvjrjpHPrXCUxp1\x26ust\x3d1700032896452675';
})();
})(); (function() {
(function() {
google.csct.rw=true;
})();
})(); (function() {
(function() {
google.csct.rl=true;
})();
})(); (function() {
(function() {
function f() {
for(var c="&cshid=" +window._cshid, d=document.querySelectorAll('[href^="/"]'), e=0, b; b=d[e++]; ) {
var a=b.getAttribute("href"); a.match(/[\?|&](ei|ved)=/)&&-1===a.indexOf("cshid=")&&(-1===a.search("#")?b.setAttribute("href", a+c):(a=a.split("#"), b.setAttribute("href", a[0]+c+"#" +a[1])))
}
d=document.querySelectorAll("[ping]"); for(e=0; b=d[e++]; )a=b.getAttribute("ping"), -1===a.indexOf("cshid=")&&b.setAttribute("ping", a+c)
}
; google.csh=google.csh|| {}
; google.csh.ict=function() {
window._cshid&&google.dclc(f)
}
;
}).call(this);
})(); (function() {
google.csh.ict();
})(); (function() {
window.jsl=window.jsl|| {}
; window.jsl.... [line-too-long] 2023-11-14T07:21:36.867Z try {
2023-11-14T07:21:36.867Z _._F_toggles_initialize=function(a) {
("undefined" !==typeof globalThis?globalThis:"undefined" !==typeof self?self:this)._F_toggles=a||[]
}
; (0, _._F_toggles_initialize)([]);
2023-11-14T07:21:36.868Z
/*
2023-11-14T07:21:36.868Z
2023-11-14T07:21:36.869Z Copyright The Closure Library Authors.
2023-11-14T07:21:36.870Z SPDX-License-Identifier: Apache-2.0
2023-11-14T07:21:36.870Z */
2023-11-14T07:21:36.871Z var fa, la, oa, pa, xa, ya, za, Aa, Ba, Da, Ea, Fa, Ia, Xa, Wa, $a, bb, ab, cb, db, lb; _.aa=function(a, b) {
if(Error.captureStackTrace)Error.captureStackTrace(this, _.aa); else {
const c=Error().stack; c&&(this.stack=c)
}
a&&(this.message=String(a)); void 0 !==b&&(this.cause=b)
}
; _.ba=function(a) {
_.q.setTimeout(()=> {
throw a;
}
, 0)
}
; _.ca=function() {
var a=_.q.navigator; return a&&(a=a.userAgent)?a:""
}
; fa=function(a) {
return da?ea?ea.brands.some(({
brand:b
})=>b&&-1 !=b.indexOf(a)): !1: !1
}
; _.t=function(a) {
return-1 !=_.ca().indexOf(a)
}
;
2023-11-14T07:21:36.872Z _.ha=function() {
return da? ! !ea&&0<ea.brands.length: !1
}
; _.ia=function() {
return _.ha()? !1:_.t("Opera")
}
; _.ja=function() {
return _.ha()? !1:_.t("Trident")||_.t("MSIE")
}
; _.ka=function() {
return _.t("Firefox")||_.t("FxiOS")
}
; _.ma=function() {
return _.t("Safari")&& !(la()||(_.ha()?0:_.t("Coast"))||_.ia()||(_.ha()?0:_.t("Edge"))||(_.ha()?fa("Microsoft Edge"):_.t("Edg/"))||(_.ha()?fa("Opera"):_.t("OPR"))||_.ka()||_.t("Silk")||_.t("Android"))
}
;
2023-11-14T07:21:36.872Z la=function() {
return _.ha()?fa("Chromium"):(_.t("Chrome")||_.t("CriOS"))&& !(_.ha()?0:_.t("Edge"))||_.t("Silk")
}
; _.na=function() {
return _.t("Android")&& !(la()||_.ka()||_.ia()||_.t("Silk"))
}
; oa=function() {
return da? ! !ea&& ! !ea.platform: !1
}
; pa=function() {
return _.t("iPhone")&& !_.t("iPod")&& !_.t("iPad")
}
; _.qa=function() {
return pa()||_.t("iPad")||_.t("iPod")
}
; _.ra=function() {
return oa()?"macOS"===ea.platform:_.t("Macintosh")
}
; _.ta=function(a, b) {
return 0<=_.sa(a, b)
}
;
2023-11-14T07:21:36.873Z _.ua=function(a) {
let b="", c=0; const d=a.length-10240; for(; c<d; )b+=String.fromCharCode.apply(null, a.subarray(c, c+=10240)); b+=String.fromCharCode.apply(null, c?a.subarray(c):a); return btoa(b)
}
; _.va=function(a) {
return null !=a&&a instanceof Uint8Array
}
; _.wa=function(a) {
return Array.prototype.slice.call(a)
}
; xa=function(a) {
const b=a[_.u]|0; 1 !==(b&1)&&(Object.isFrozen(a)&&(a=_.wa(a)), a[_.u]=b|1)
}
; ya=function() {
var a=[]; a[_.u]|=1; return a
}
; za=function(a, b) {
b[_.u]=(a|0)&-14591
}
;
2023-11-14T07:21:36.873Z Aa=function(a, b) {
b[_.u]=(a|34)&-14557
}
; Ba=function(a) {
a=a>>14&1023; return 0===a?536870912:a
}
; Da=function(a) {
return !( !a||"object" !==typeof a||a.Mi !==Ca)
}
; Ea=function(a) {
return null !==a&&"object"===typeof a&& !Array.isArray(a)&&a.constructor===Object
}
; Fa=function(a, b, c) {
if( !Array.isArray(a)||a.length)return !1; const d=a[_.u]|0; if(d&1)return !0; if( !(b&&(Array.isArray(b)?b.includes(c):b.has(c))))return !1; a[_.u]=d|1; return !0
}
; _.Ga=function(a) {
if(a&2)throw Error();
}
;
2023-11-14T07:21:36.874Z Ia=function(a, b) {
(b=_.Ha?b[_.Ha]:void 0)&&(a[_.Ha]=_.wa(b))
}
; _.Ka=function() {
const a=Error(); Ja(a, "incident"); _.ba(a)
}
; _.La=function(a) {
a=Error(a); Ja(a, "warning"); return a
}
; _.Ma=function(a) {
Number.isFinite(a)||_.Ka(); return a
}
; _.Na=function(a) {
if("number" !==typeof a)throw _.La("int32"); Number.isFinite(a)||_.Ka(); return a
}
; _.Oa=function(a) {
if(null !=a&&"string" !==typeof a)throw Error(); return a
}
; _.Pa=function(a) {
return null==a||"string"===typeof a?a:void 0
}
;
2023-11-14T07:21:36.875Z _.Ra=function(a, b, c) {
if(null !=a&&"object"===typeof a&&a.Od===_.Qa)return a; if(Array.isArray(a)) {
var d=a[_.u]|0, e=d; 0===e&&(e|=c&32); e|=c&2; e !==d&&(a[_.u]=e); return new b(a)
}
}
; _.Ta=function(a, b) {
Sa=b; a=new a(b); Sa=void 0; return a
}
;
2023-11-14T07:21:36.875Z _.Va=function(a, b, c) {
null==a&&(a=Sa); Sa=void 0; if(null==a) {
var d=96; c?(a=[c], d|=512):a=[]; b&&(d=d&-16760833|(b&1023)<<14)
}
else {
if( !Array.isArray(a))throw Error(); d=a[_.u]|0; if(d&64)return _.Ua&&delete a[_.Ua], a; d|=64; if(c&&(d|=512, c !==a[0]))throw Error(); a: {
c=d; if(d=a.length) {
const e=d-1; if(Ea(a[e])) {
c|=256; b=e-(+ ! !(c&512)-1); if(1024<=b)throw Error(); d=c&-16760833|(b&1023)<<14; break a
}
}
if(b) {
b=Math.max(b, d-(+ ! !(c&512)-1)); if(1024<b)throw Error(); d=c&-16760833|(b&1023)<<14
}
else d=c
}
}
a[_.u]=d; return a
}
;
2023-11-14T07:21:36.876Z Xa=function(a, b) {
return Wa(b)
}
; Wa=function(a) {
switch(typeof a) {
case "number":return isFinite(a)?a:String(a); case "boolean":return a?1:0; case "object":if(a) {
if(Array.isArray(a))return Ya|| !Fa(a, void 0, 9999)?a:void 0; if(_.va(a))return _.ua(a); if("function"==typeof _.Za&&a instanceof _.Za)return a.ng()
}
}
return a
}
; $a=function(a, b, c) {
const d=_.wa(a); var e=d.length; const f=b&256?d[e-1]:void 0; e+=f?-1:0; for(b=b&512?1:0; b<e; b++)d[b]=c(d[b]); if(f) {
b=d[b]= {}
; for(const g in f)b[g]=c(f[g])
}
Ia(d, a); return d
}
;
2023-11-14T07:21:36.876Z bb=function(a, b, c, d, e, f) {
if(null !=a) {
if(Array.isArray(a))a=e&&0==a.length&&(a[_.u]|0)&1?void 0:f&&(a[_.u]|0)&2?a:ab(a, b, c, void 0 !==d, e, f); else if(Ea(a)) {
const g= {}
; for(let h in a)g[h]=bb(a[h], b, c, d, e, f); a=g
}
else a=b(a, d); return a
}
}
; ab=function(a, b, c, d, e, f) {
const g=d||c?a[_.u]|0:0; d=d? ! !(g&32):void 0; const h=_.wa(a); for(let k=0; k<h.length; k++)h[k]=bb(h[k], b, c, d, e, f); c&&(Ia(h, a), c(g, h)); return h
}
; cb=function(a) {
return a.Od===_.Qa?a.toJSON():Wa(a)
}
;
2023-11-14T07:21:36.877Z db=function(a, b, c=Aa) {
if(null !=a) {
if(a instanceof Uint8Array)return b?a:new Uint8Array(a); if(Array.isArray(a)) {
var d=a[_.u]|0; if(d&2)return a; b&&(b=0===d|| ! !(d&32)&& !(d&64|| !(d&16))); return b?(a[_.u]=(d|34)&-12293, a):ab(a, db, d&4?Aa:c, !0, !1, !0)
}
a.Od===_.Qa&&(c=a.ma, d=c[_.u], a=d&2?a:_.Ta(a.constructor, _.eb(c, d, !0))); return a
}
}
; _.eb=function(a, b, c) {
const d=c||b&2?Aa:za, e= ! !(b&32); a=$a(a, b, f=>db(f, e, d)); a[_.u]=a[_.u]|32|(c?2:0); return a
}
;
2023-11-14T07:21:36.877Z _.fb=function(a) {
const b=a.ma, c=b[_.u]; return c&2?_.Ta(a.constructor, _.eb(b, c, !1)):a
}
; _.gb=function(a, b, c, d, e) {
var f=Ba(b); if(c>=f||e) {
e=b; if(b&256)f=a[a.length-1]; else {
if(null==d)return e; f=a[f+(+ ! !(b&512)-1)]= {}
; e|=256
}
f[c]=d; e !==b&&(a[_.u]=e); return e
}
a[c+(+ ! !(b&512)-1)]=d; b&256&&(a=a[a.length-1], c in a&&delete a[c]); return b
}
; _.hb=function(a, b) {
return null !=a?a:b
}
;
2023-11-14T07:21:36.878Z lb=function(a, b, c) {
const d=a.constructor.ya; var e=(c?a.ma:b)[_.u], f=Ba(e), g= !1; if(d&&Ya) {
if( !c) {
b=_.wa(b); var h; if(b.length&&Ea(h=b[b.length-1]))for(g=0; g<d.length; g++)if(d[g]>=f) {
Object.assign(b[b.length-1]= {}
, h); break
}
g= !0
}
f=b; c= !c; h=a.ma[_.u]; a=Ba(h); h=+ ! !(h&512)-1; var k; for(let M=0; M<d.length; M++) {
var m=d[M]; if(m<a) {
m+=h; var n=f[m]; null==n?f[m]=c?_.ib:ya():c&&n !==_.ib&&xa(n)
}
else {
if( !k) {
var p=void 0; f.length&&Ea(p=f[f.length-1])?k=p:f.push(k= {})
}
n=k[m]; null==k[m]?k[m]=c?_.ib:ya():c&&n !==_.ib&& 2023-11-14T07:21:36.878Z xa(n)
}
}
}
k=b.length; if( !k)return b; let v, r; if(Ea(p=b[k-1])) {
a: {
var z=p; f= {}
; c= !1; for(var E in z) {
a=z[E]; if(Array.isArray(a)) {
h=a; if( !jb&&Fa(a, d, +E)|| !kb&&Da(a)&&0===a.size)a=null; a !=h&&(c= !0)
}
null !=a?f[E]=a:c= !0
}
if(c) {
for(let M in f) {
z=f; break a
}
z=null
}
}
z !=p&&(v= !0); k--
}
for(e=+ ! !(e&512)-1; 0<k; k--) {
E=k-1; p=b[E]; if( !(null==p|| !jb&&Fa(p, d, E-e)|| !kb&&Da(p)&&0===p.size))break; r= !0
}
if( !v&& !r)return b; var K; g?K=b:K=Array.prototype.slice.call(b, 0, k); b=K; g&&(b.length=k); z&&b.push(z); return b
}
;
2023-11-14T07:21:36.879Z _.w=function(a, b) {
return null !=a? ! !a: ! !b
}
; _.x=function(a, b) {
void 0==b&&(b=""); return null !=a?a:b
}
; _.mb=function(a, b) {
void 0==b&&(b=0); return null !=a?a:b
}
; _.ob=function(a, b) {
let c, d; for(let e=1; e<arguments.length; e++) {
d=arguments[e]; for(c in d)a[c]=d[c]; for(let f=0; f<nb.length; f++)c=nb[f], Object.prototype.hasOwnProperty.call(d, c)&&(a[c]=d[c])
}
}
; var rb, sb, yb, zb; _.pb=_.pb|| {}
; _.q=this||self; rb=function(a, b) {
var c=_.qb("WIZ_global_data.oxN3nb"); a=c&&c[a]; return null !=a?a:b
}
; sb=_.q._F_toggles||[]; _.qb=function(a, b) {
a=a.split("."); b=b||_.q; for(var c=0; c<a.length; c++)if(b=b[a[c]], null==b)return null; return b
}
; _.tb=function(a) {
var b=typeof a; return"object" !=b?b:a?Array.isArray(a)?"array":b:"null"
}
; _.ub=function(a) {
var b=typeof a; return"object"==b&&null !=a||"function"==b
}
; _.vb="closure_uid_" +(1E9*Math.random()>>>0);
2023-11-14T07:21:36.880Z yb=function(a, b, c) {
return a.call.apply(a.bind, arguments)
}
; zb=function(a, b, c) {
if( !a)throw Error(); if(2<arguments.length) {
var d=Array.prototype.slice.call(arguments, 2); return function() {
var e=Array.prototype.slice.call(arguments); Array.prototype.unshift.apply(e, d); return a.apply(b, e)
}
}
return function() {
return a.apply(b, arguments)
}
}
; _.y=function(a, b, c) {
_.y=Function.prototype.bind&&-1 !=Function.prototype.bind.toString().indexOf("native code")?yb:zb; return _.y.apply(null, arguments)
}
;
2023-11-14T07:21:36.880Z _.A=function(a, b) {
a=a.split("."); var c=_.q; a[0]in c||"undefined"==typeof c.execScript||c.execScript("var " +a[0]); for(var d; a.length&&(d=a.shift()); )a.length||void 0===b?c[d]&&c[d] !==Object.prototype[d]?c=c[d]:c=c[d]= {}
:c[d]=b
}
; _.B=function(a, b) {
function c() {}
c.prototype=b.prototype; a.V=b.prototype; a.prototype=new c; a.prototype.constructor=a; a.Fi=function(d, e, f) {
for(var g=Array(arguments.length-2), h=2; h<arguments.length; h++)g[h-2]=arguments[h]; return b.prototype[e].apply(d, g)
}
}
; _.B(_.aa, Error); _.aa.prototype.name="CustomError"; _.Ab=String.prototype.trim?function(a) {
return a.trim()
}
:function(a) {
return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]
}
; var Bb= ! !(sb[0]&512), Cb= ! !(sb[0]&16), Db= ! !(sb[0]&1024), Eb= ! !(sb[0]&8); var Fb=rb(1, !0), da=Bb?Db:rb(610401301, !1), Gb=Bb?Cb|| !Eb:rb(572417392, Fb); var ea, Hb=_.q.navigator; ea=Hb?Hb.userAgentData||null:null; _.sa=function(a, b) {
return Array.prototype.indexOf.call(a, b, void 0)
}
; _.Ib=function(a, b, c) {
Array.prototype.forEach.call(a, b, c)
}
; _.Jb=function(a) {
_.Jb[" "]... [line-too-long] 2023-11-14T07:21:36.881Z a: {
var Yb="", Zb=function() {
var a=_.ca(); if(_.Nb)return/rv:([^\); ]+)(\)|; )/.exec(a); if(_.Lb)return/Edge\/([\d\.]+)/.exec(a); if(_.C)return/\b(?:MSIE|rv)[:]([^\); ]+)(\)|; )/.exec(a); if(_.Ob)return/WebKit\/(\S+)/.exec(a); if(_.Kb)return/(?:Version)[ \/]?(\S+)/.exec(a)
}
(); Zb&&(Yb=Zb?Zb[1]:""); if(_.C) {
var $b=Wb(); if(null !=$b&&$b>parseFloat(Yb)) {
Xb=String($b); break a
}
}
Xb=Yb
}
_.ac=Xb; if(_.q.document&&_.C) {
var cc=Wb(); bc=cc?cc:parseInt(_.ac, 10)||void 0
}
else bc=void 0; _.dc=bc; _.ec=_.ka(); _.fc=pa()||_.t("iPod"); _.ic=_.t("iPad"); _.jc=_.na(); _.kc=la(); _.lc=_.ma()&& !_.qa(); var kb= !Gb, jb= !Gb; _.mc="undefined" !==typeof TextDecoder; _.nc="undefined" !==typeof TextEncoder; _.u=Symbol(); var Ca, oc, Ya, pc; _.Qa= {}
; Ca= {}
; Ya= !Gb; pc=[]; pc[_.u]=55; _.ib=Object.freeze(pc); var Ja=function(a, b) {
a.__closure__error__context__984382||(a.__closure__error__context__984382= {}); a.__closure__error__context__984382.severity=b
}
; var Sa; Object.freeze({}); _.D=function(a, b) {
a=a.ma; return _.qc(a, a[_.u], b)
}
; _.qc=function(a, b, c, d) {
if(-1===c)r... [line-too-long] 2023-11-14T07:21:36.882Z _.sc=function(a, b, c, d) {
a=a.ma; let e=a[_.u]; const f=_.qc(a, e, c, d); b=_.Ra(f, b, e); b !==f&&null !=b&&_.gb(a, e, c, b, d); return b
}
; _.G=function(a, b, c, d= !1) {
b=_.sc(a, b, c, d); if(null==b)return b; a=a.ma; let e=a[_.u]; if( !(e&2)) {
const f=_.fb(b); f !==b&&(b=f, _.gb(a, e, c, b, d))
}
return b
}
; _.H=function(a, b, c) {
null==c&&(c=void 0); return _.rc(a, b, c)
}
; _.I=function(a, b) {
return _.Pa(_.D(a, b))
}
; _.J=function(a, b) {
return _.hb(_.F(a, b), !1)
}
;
2023-11-14T07:21:36.882Z _.tc=function(a, b, c=0) {
a=a.ma; let d=a[_.u]; const e=_.qc(a, d, b); var f=null==e?e:"number"===typeof e||"NaN"===e||"Infinity"===e||"-Infinity"===e?Number(e):void 0; null !=f&&f !==e&&_.gb(a, d, b, f); return _.hb(f, c)
}
; _.L=function(a, b) {
return _.hb(_.I(a, b), "")
}
; _.N=function(a, b, c) {
if(null !=c) {
if("boolean" !==typeof c)throw Error("q`" +_.tb(c)+"`" +c); c= ! !c
}
return _.rc(a, b, c)
}
; _.O=function(a, b, c) {
return _.rc(a, b, null==c?c:_.Na(c))
}
; _.P=function(a, b, c) {
return _.rc(a, b, _.Oa(c))
}
;
2023-11-14T07:21:36.883Z _.Q=function(a, b, c) {
return _.rc(a, b, null==c?c:_.Ma(c))
}
; _.R=class {
constructor(a, b, c) {
this.ma=_.Va(a, b, c)
}
toJSON() {
if(oc)var a=lb(this, this.ma, !1); else a=ab(this.ma, cb, void 0, void 0, !1, !1), a=lb(this, a, !0); return a
}
Ia() {
oc= !0; try {
return JSON.stringify(this.toJSON(), Xa)
}
finally {
oc= !1
}
}
yc() {
return ! !((this.ma[_.u]|0)&2)
}
}
; _.R.prototype.Od=_.Qa; _.R.prototype.toString=function() {
return lb(this, this.ma, !1).toString()
}
; _.uc=Symbol(); _.vc=Symbol(); _.wc=Symbol(); _.xc=Symbol(); _.yc=Symbol(); var zc=class extends _.R {
constructor() {
super()
}
}
; _.Ac=class extends _.R {
constructor() {
super()
}
yd(a) {
return _.O(this, 3, a)
}
}
; var Bc=class extends _.R {
constructor(a) {
super(a)
}
}
; var Cc=class extends _.R {
constructor(a) {
super(a)
}
Pc(a) {
return _.P(this, 24, a)
}
}
; _.Dc=class extends _.R {
constructor(a) {
super(a)
}
}
; _.Ec=function() {
this.Fa=this.Fa; this.na=this.na
}
; _.Ec.prototype.Fa= !1; _.Ec.prototype.isDisposed=function() {
return this.Fa
}
; _.Ec.prototype.oa=function() {
this.Fa||(this.Fa= !0, this.N())
}
; _.Ec.prototype.N=function() {
if(thi... [line-too-long] 2023-11-14T07:21:36.883Z _.Rc=function(a) {
if(a instanceof _.Mc)return a; a="object"==typeof a&&a.Bb?a.nb():String(a); Pc.test(a)?a=_.Qc(a):(a=String(a).replace(/(%0A|%0D)/g, ""), a=a.match(Oc)?_.Qc(a):null); return a
}
; try {
new URL("s://g"), Sc= !0
}
catch(a) {
Sc= !1
}
_.Tc=Sc; Uc= {}
; _.Qc=function(a) {
return new _.Mc(a, Uc)
}
; _.Vc=_.Qc("about:invalid#zClosurez"); var Wc, $c, Zc; _.Xc=function(a) {
let b; b=window.google&&window.google.logUrl?"":"https://www.google.com"; b+="/gen_204?use_corp=on&"; b+=a.Ia(2040-b.length); Wc(_.Rc(b)||_.Vc)
}
; Wc=function(a) {
var b=new Image, c=Zc; b.onerror=b.onload=b.onabort=function() {
c in $c&&delete $c[c]
}
; $c[Zc++]=b; b.src=_.Nc(a)
}
; $c=[]; Zc=0; _.ad=class {
constructor() {
this.data= {}
}
Ia(a) {
var b=[], c; for(c in this.data)b.push(encodeURIComponent(c)+"=" +encodeURIComponent(String(this.data[c]))); return("atyp=i&zx=" +(new Date).getTime()+"&" +b.join("&")).substr(0, a)
}
}
; var bd=class extends _.ad {
constructor(a) {
super(); var b=_.G(a, Bc, 8)||new Bc; window.google&&window.google.kEI&&(this.data.ei=window.google.kEI); this.data.sei... [line-too-long] 2023-11-14T07:21:36.884Z (this.data.ved=e.ved, delete e.ved); a=[]; for(var f in e)0 !=a.length&&a.push(","), a.push(fd(f)), a.push("."), a.push(fd(e[f])); e=a.join(""); "" !=e&&(this.data.ogad=e)
}
}
}
, dd=null; var hd=class extends _.R {
constructor(a) {
super(a)
}
}
; var ld=class {
constructor() {
var a=id, b=jd, c=kd; this.i=a; this.s=b; this.o=_.mb(_.tc(a, 2, 1E-4), 1E-4); this.B=_.mb(_.tc(a, 3, 1), 1); b=Math.random(); this.j=_.w(_.F(a, 1))&&b<this.o; this.v=_.w(_.F(a, 1))&&b<this.B; a=0; _.w(_.F(c, 1))&&(a|=1); _.w(_.F(c, 2))&&(a|=2); _.w(_.F(c, 3))&&(a|=4); this.A=a
}
log(a, b) {
try {
if(ed(a)?this.v:this.j) {
const c=new gd(this.s, this.i, a, this.A, b); _.Xc(c)
}
}
catch(c) {}
}
}
; var nd; _.md=function(a) {
if(0<a.j.length) {
var b=void 0 !==a.ua, c=void 0 !==a.i; if(b||c) {
b=b?a.o:a.s; c=a.j; a.j=[]; try {
_.Ib(c, b, a)
}
catch(d) {
console.error(d)
}
}
}
}
; _.od=class {
constructor(a) {
this.ua=a; this.i=void 0; this.j=[]
}
then(a, b, c) {
this.j.push(new nd(a, b, c)); _.md(this)
}
resolve(a) {
if(void 0 !==this.ua||void 0 !==this.i)throw Error("v"); this.ua=a; _.md(this)
}
o(a) {
a.j&&a.j.call(a.i, this.ua)
}
s(a) {
a.o&&a.o.c... [line-too-long] 2023-11-14T07:21:36.884Z
}
catch(e) {
_._DumpException(e)
}
2023-11-14T07:21:36.885Z try {
2023-11-14T07:21:36.885Z _.Dd=class extends _.R {
constructor(a) {
super(a)
}
}
;
2023-11-14T07:21:36.886Z
}
catch(e) {
_._DumpException(e)
}
2023-11-14T07:21:36.886Z try {
2023-11-14T07:21:36.887Z var Ed=class extends _.R {
constructor() {
super()
}
}
; var Fd=class extends _.Ec {
constructor() {
super(); this.j=[]; this.i=[]
}
o(a, b) {
this.j.push({
features:a, options:b
})
}
init(a, b, c) {
window.gapi= {}
; var d=window.___jsl= {}
; d.h=_.x(_.I(a, 1)); null !=_.F(a, 12)&&(d.dpo=_.w(_.J(a, 12))); d.ms=_.x(_.I(a, 2)); d.m=_.x(_.I(a, 3)); d.l=[]; _.L(b, 1)&&(a=_.I(b, 3))&&this.i.push(a); _.L(c, 1)&&(c=_.I(c, 2))&&this.i.push(c); _.A("gapi.load", (0, _.y)(this.o, this)); return this
}
}
; var Gd=_.G(_.rd, _.Ic, 14); if(Gd) {
var Hd=_.G(_.rd, _.Dd, 9)||new _.Dd, Id=new Ed, Jd=new Fd; Jd.init(Gd, Hd, Id); _.zd("gs", Jd)
}
;
2023-11-14T07:21:36.888Z
}
catch(e) {
_._DumpException(e)
}
2023-11-14T07:21:36.888Z
})(this.gbar_);
2023-11-14T07:21:36.889Z // Google Inc.
2023-11-14T07:21:36.890Z;
});
})();
(function() {
window.jsl.dh('tsuid_3', '\x3cg-snackbar jsname\x3d\x22Fd92vb\x22 jscontroller\x3d\x22OZLguc\x22 style\x3d\x22display:none\x22 data-dismiss\x3d\x22\x22 jsshadow\x3d\x22\x22 jsaction\x3d\x22rcuQ6b:npT2md\x22\x3e\x3cdiv jsname\x3d\x22sM5MNb\x22 aria-live\x3d\x22polite\x22 class\x3d\x22LH3wG\x22 style\x3d\x22z-index:2000\x22\x3e\x3cdiv jsname\x3d\x22Ng57nc\x22 class\x3d\x22yK6jqe\x22 data-ved\x3d\x220ahUKEwjq6riY-sKCAxV5FFkFHUGeASMQ4G8IBg\x22\x3e\x3cdiv class\x3d\x22b77HKf\x22\x3e\x3cdiv class\x3d\x22rIxsve\x22 jsslot\x3d\x22\x22\x3e\x3cspan class\x3d\x22Txngnb wHYlTd yUTMj\x22\x3eCouldn\u2019t set your preference. Try again.\x3c/span\x3e\x3c/div\x3e\x3c/div\x3e\x3c/div\x3e\x3c/div\x3e\x3c/g-snackbar\x3e');
})();
(function() {
window.jsl.dh('_ACBTZerqGPmo5NoPwbyGmAI_5', '\x3cdiv jscontroller\x3d\x22w4UyN\x22 class\x3d\x22fLciMb\x22 data-po\x3d\x22360\x22 aria-label\x3d\x22Settings\x22 role\x3d\x22button\x22 tabindex\x3d\x220\x22 jsaction\x3d\x22rcuQ6b:npT2md;HfCvm;mouseenter:eG... [line-too-long]
2023-11-14T07:21:36.890Z (new Image()).src=_url;
})();
})();
(function() {
window.jsl.dh('spch', '\x3cbutton class\x3d\x22close-button\x22 id\x3d\x22spchx\x22 aria-label\x3d\x22close\x22\x3e\x26times;\x3c/button\x3e\x3cdiv class\x3d\x22spchc\x22 id\x3d\x22spchc\x22\x3e\x3cdiv class\x3d\x22inner-container\x22\x3e\x3cdiv class\x3d\x22button-container\x22\x3e\x3cspan class\x3d\x22r8s4j\x22 id\x3d\x22spchl\x22\x3e\x3c/span\x3e\x3cspan class\x3d\x22LgbsSe\x22 id\x3d\x22spchb\x22\x3e\x3cdiv class\x3d\x22microphone\x22\x3e\x3cspan class\x3d\x22receiver\x22\x3e\x3c/span\x3e\x3cdiv class\x3d\x22wrapper\x22\x3e\x3cspan class\x3d\x22stem\x22\x3e\x3c/span\x3e\x3cspan class\x3d\x22shell\x22\x3e\x3c/span\x3e\x3c/div\x3e\x3c/div\x3e\x3c/span\x3e\x3c/div\x3e\x3cdiv class\x3d\x22text-container\x22\x3e\x3cspan class\x3d\x22spcht\x22 style\x3d\x22color:#70757a\x22 id\x3d\x22spchi\x22\x3e\x3c/span\x3e\x3cspan class\x3d\x22spcht\x22 style\x3d\x22color:#000\x22 id\x3d\x22spchf\x22\x3e\x3c/span\x3e\x3c/div\x3e\x3cdiv class\x3d\x22google-log... [line-too-long]
2023-11-14T07:21:36.891Z try {
2023-11-14T07:21:36.891Z _.Kd=function(a, b, c) {
if( !a.j)if(c instanceof Array)for(var d of c)_.Kd(a, b, d); else {
d=(0, _.y)(a.A, a, b); const e=a.s+c; a.s++; b.dataset.eqid=e; a.B[e]=d; b&&b.addEventListener?b.addEventListener(c, d, !1):b&&b.attachEvent?b.attachEvent("on" +c, d):a.o.log(Error("s`" +b))
}
}
;
2023-11-14T07:21:36.892Z
}
catch(e) {
_._DumpException(e)
}
2023-11-14T07:21:36.893Z try {
2023-11-14T07:21:36.893Z _.Ld=function() {
if( !_.q.addEventListener|| !Object.defineProperty)return !1; var a= !1, b=Object.defineProperty({}
, "passive", {
get:function() {
a= !0
}
}); try {
const c=()=> {}
; _.q.addEventListener("test", c, b); _.q.removeEventListener("test", c, b)
}
catch(c) {}
return a
}
();
2023-11-14T07:21:36.894Z
}
catch(e) {
_._DumpException(e)
}
2023-11-14T07:21:36.897Z try {
2023-11-14T07:21:36.905Z var Md=document.querySelector(".gb_l .gb_d"), Nd=document.querySelector("#gb.gb_Uc"); Md&& !Nd&&_.Kd(_.wd, Md, "click");
2023-11-14T07:21:36.907Z
}
catch(e) {
_._DumpException(e)
}
2023-11-14T07:21:36.907Z try {
2023-11-14T07:21:36.908Z _.zh=function(a) {
const b=[]; let c=0; for(const d in a)b[c++]=a[d]; return b
}
; _.Ah=function(a) {
if(a.o)return a.o; for(const b in a.i)if(a.i[b].qa()&&a.i[b].B())return a.i[b]; return null
}
; _.Bh=function(a, b) {
a.i[b.J()]=b
}
; var Ch=new class extends _.Ec {
constructor() {
var a=_.Gc; super(); this.B=a; this.o=null; this.j= {}
; this.A= {}
; this.i= {}
; this.s=null
}
v(a) {
this.i[a]&&(_.Ah(this)&&_.Ah(this).J()==a||this.i[a].O( !0))
}
Wa(a) {
this.s=a; for(const b in this.i)this.i[b].qa()&&this.i[b].Wa(a)
}
tc(a) {
return a in this.i?this.i[a]:null
}
}
; _.zd("dd", Ch);
2023-11-14T07:21:36.908Z
}
catch(e) {
_._DumpException(e)
}
2023-11-14T07:21:36.908Z try {
2023-11-14T07:21:36.909Z _.jj=function(a, b) {
return _.N(a, 36, b)
}
;
2023-11-14T07:21:36.909Z
}
catch(e) {
_._DumpException(e)
}
2023-11-14T07:21:36.910Z try {
2023-11-14T07:21:36.910Z var kj=document.querySelector(".gb_b .gb_d"), lj=document.querySelector("#gb.gb_Uc"); kj&& !lj&&_.Kd(_.wd, kj, "click");
2023-11-14T07:21:36.910Z
}
catch(e) {
_._DumpException(e)
}
2023-11-14T07:21:36.911Z
})(this.gbar_);
2023-11-14T07:21:36.911Z // Google Inc.
2023-11-14T07:21:36.912Z; this.gbar_=this.gbar_|| {}
; (function(_) {
var window=this;
2023-11-14T07:21:36.912Z try {
2023-11-14T07:21:36.912Z var Pd, Sd; _.Od=function(a) {
const b=a.length; if(0<b) {
const c=Array(b); for(let d=0; d<b; d++)c[d]=a[d]; return c
}
return[]
}
; Pd=function(a) {
return a
}
; _.Qd=function(a) {
var b=null, c=_.q.trustedTypes; if( !c|| !c.createPolicy)return b; try {
b=c.createPolicy(a, {
createHTML:Pd, createScript:Pd, createScriptURL:Pd
})
}
catch(d) {
_.q.console&&_.q.console.error(d.message)
}
return b
}
; _.Rd=function(a, b) {
return 0==a.lastIndexOf(b, 0)
}
; _.Td=function() {
void 0===Sd&&(Sd=_.Qd("ogb-qtm#html")); return Sd
}
; try {
(new self.OffscreenCanvas(0, 0)).getContext("2d")
}
catch(a) {}
; _.Ud= {}
; _.Vd=class {
constructor(a) {
this.i=a; this.Bb= !0
}
nb() {
return this.i
}
toString() {
return this.i.toString()
}
}
; _.Wd=new _.Vd("", _.Ud); _.Xd=RegExp("^[-+,.\"'%_!#/ a-zA-Z0-9\\[\\]]+$"); _.Yd=RegExp("\\b(url\\([ \t\n]*)('[ -&(-\\[\\]-~]*'|\"[ !#-\\[\\]-~]*\"|[!#-&*-\\[\\]-~]*)([ \t\n]*\\))", "g"); _.Zd=RegExp("\\b(calc|cubic-bezier|fit-content|hsl|hsla|linear-gradient|matrix|minmax|radial-gradient|repeat|rgb|rgba|(rotate|scale|translate)(X|Y|Z|3d)?|steps|var)\\([-+*/0-... [line-too-long]
2023-11-14T07:21:36.913Z _.he=function(a) {
a=(a||_.q).document; return a.querySelector?(a=a.querySelector('style[nonce],link[rel="stylesheet"][nonce]'))&&(a=a.nonce||a.getAttribute("nonce"))&&ge.test(a)?a:"":""
}
; _.ie=function(a, b) {
this.width=a; this.height=b
}
; _.l=_.ie.prototype; _.l.aspectRatio=function() {
return this.width/this.height
}
; _.l.Hb=function() {
return !(this.width*this.height)
}
; _.l.ceil=function() {
this.width=Math.ceil(this.width); this.height=Math.ceil(this.height); return this
}
; _.l.floor=function() {
this.width=Math.floor(this.width); this.height=Math.floor(this.height); return this
}
; _.l.round=function() {
this.width=Math.round(this.width); this.height=Math.round(this.height); return this
}
; _.S=function(a, b) {
var c=b||document; if(c.getElementsByClassName)a=c.getElementsByClassName(a)[0]; else {
c=document; var d=b||c; a=d.querySelectorAll&&d.querySelector&&a?d.querySelector(a?"." +a:""):_.je(c, a, b)[0]||null
}
return a||null
}
;
2023-11-14T07:21:36.913Z _.je=function(a, b, c) {
var d; a=c||a; if(a.querySelectorAll&&a.querySelector&&b)return a.querySelectorAll(b?"." +b:""); if(b&&a.getElementsByClassName) {
var e=a.getElementsByClassName(b); return e
}
e=a.getElementsByTagName("*"); if(b) {
var f= {}
; for(c=d=0; a=e[c]; c++) {
var g=a.className; "function"==typeof g.split&&_.ta(g.split(/\s+/), b)&&(f[d++]=a)
}
f.length=d; return f
}
return e
}
; _.le=function(a) {
return _.ke(document, a)
}
;
2023-11-14T07:21:36.913Z _.ke=function(a, b) {
b=String(b); "application/xhtml+xml"===a.contentType&&(b=b.toLowerCase()); return a.createElement(b)
}
; _.me=function(a) {
for(var b; b=a.firstChild; )a.removeChild(b)
}
; _.ne=function(a) {
return 9==a.nodeType?a:a.ownerDocument||a.document
}
;
2023-11-14T07:21:36.914Z
}
catch(e) {
_._DumpException(e)
}
2023-11-14T07:21:36.914Z try {
2023-11-14T07:21:36.915Z var Je, Le; _.Ee=function(a) {
if(null==a)return a; if("string"===typeof a) {
if( !a)return; a=+a
}
if("number"===typeof a)return a
}
; _.Fe=function(a, b) {
var c=Array.prototype.slice.call(arguments, 1); return function() {
var d=c.slice(); d.push.apply(d, arguments); return a.apply(this, d)
}
}
; _.Ge=function(a, b) {
return _.Ee(_.D(a, b))
}
; _.He=function(a, b) {
if(void 0 !==a.ua||void 0 !==a.i)throw Error("v"); a.i=b; _.md(a)
}
; _.Ie=class extends _.R {
constructor(a) {
super(a)
}
}
; Je=class extends _.Ad {}
;
2023-11-14T07:21:36.915Z _.Ke=function(a, b) {
if(b in a.i)return a.i[b]; throw new Je;
}
; Le=0; _.Me=function(a) {
return Object.prototype.hasOwnProperty.call(a, _.vb)&&a[_.vb]||(a[_.vb]=++Le)
}
; _.Ne=function(a) {
return _.Ke(_.xd.i(), a)
}
;
2023-11-14T07:21:36.916Z
}
catch(e) {
_._DumpException(e)
}
2023-11-14T07:21:36.916Z try {
2023-11-14T07:21:36.917Z
/*
2023-11-14T07:21:36.917Z
2023-11-14T07:21:36.917Z SPDX-License-Identifier: Apache-2.0
2023-11-14T07:21:36.918Z */
2023-11-14T07:21:36.918Z var qj, rj; qj=function(a) {
return new _.pj(b=>b.substr(0, a.length+1).toLowerCase()===a+":")
}
; rj= {}
; _.sj=class {
constructor(a) {
this.i=a
}
toString() {
return this.i+""
}
}
; _.sj.prototype.Bb= !0; _.sj.prototype.nb=function() {
return this.i.toString()
}
; _.tj=function(a) {
return a instanceof _.sj&&a.constructor===_.sj?a.i:"type_error:TrustedResourceUrl"
}
; _.uj=function(a) {
const b=_.Td(); a=b?b.createScriptURL(a):a; return new _.sj(a, rj)
}
; _.vj="function"===typeof URL; _.pj=class {
constructor(a) {
this.Og=a
}
}
; _.wj=[qj("data"), qj("http"), qj("https"), qj("mailto"), qj("ftp"), new _.pj(a=>/^[^:]*([/?#]|$)/.test(a))];
2023-11-14T07:21:36.919Z
}
catch(e) {
_._DumpException(e)
}
2023-11-14T07:21:36.919Z try {
2023-11-14T07:21:36.919Z _.xj=function(a) {
var b; let c; const d=null==(c=(b=(a.ownerDocument&&a.ownerDocument.defaultView||window).document).querySelector)?void 0:c.call(b, "script[nonce]"); (b=d?d.nonce||d.getAttribute("nonce")||"":"")&&a.setAttribute("nonce", b)
}
; _.yj=function(a, b) {
return(b||document).getElementsByTagName(String(a))
}
;
2023-11-14T07:21:36.920Z
}
catch(e) {
_._DumpException(e)
}
2023-11-14T07:21:36.920Z try {
2023-11-14T07:21:36.921Z _.zj=class extends _.R {
constructor(a) {
super(a)
}
}
;
2023-11-14T07:21:36.921Z
}
catch(e) {
_._DumpException(e)
}
2023-11-14T07:21:36.922Z try {
2023-11-14T07:21:36.922Z var Bj=function(a, b, c) {
a<b?Aj(a+1, b):_.Gc.log(Error("W`" +a+"`" +b), {
url:c
})
}
, Aj=function(a, b) {
if(Cj) {
const c=_.le("SCRIPT"); c.async= !0; c.type="text/javascript"; c.charset="UTF-8"; c.src=_.tj(Cj); _.xj(c); c.onerror=_.Fe(Bj, a, b, c.src); _.yj("HEAD")[0].appendChild(c)
}
}
, Dj=class extends _.R {
constructor(a) {
super(a)
}
}
; var Ej=_.G(_.rd, Dj, 17)||new Dj, Fj, Cj=(Fj=_.G(Ej, _.zj, 1))?_.uj(_.I(Fj, 4)||""):null, Gj, Hj=(Gj=_.G(Ej, _.zj, 2))?_.uj(_.I(Gj, 4)||""):null, Ij=function() {
Aj(1, 2); if(Hj) {
const b=_.le("LINK"); b.setAttribute("type", "text/css"); b.rel="stylesheet"; b.href=_.tj(Hj).toString(); var a=_.he(b.ownerDocument&&b.ownerDocument.defaultView); a&&b.setAttribute("nonce", a); (a=_.he())&&b.setAttribute("nonce", a); _.yj("HEAD")[0].appendChild(b)
}
}
; (function() {
const a=_.sd(); if(_.F(a, 18))Ij(); else {
const b=_.Ge(a, 19)||0; window.addEventListener("load", ()=> {
window.setTimeout(Ij, b)
})
}
})();
2023-11-14T07:21:36.923Z
}
catch(e) {
_._DumpException(e)
}
2023-11-14T07:21:36.923Z
})(this.gbar_);
2023-11-14T07:21:36.923Z // Google Inc.
2023-11-14T07:21:36.924Z;
});
})();
(function() {
google.drty&&google.drty(undefined, true);
})();
});
</script><div></div><div jscontroller="EO13pd" class="fp-nh" id="TWfxFb" jsaction="rcuQ6b:npT2md;Egr1he:f0xwYb;vKbCb:dwOkab"><div jsname="J7OdWb" data-jiis="up" data-async-type="vpkg" id="QPwIld" class="yp"></div></div><div id="lfootercc"><div id="Un6H4"></div><script nonce="y2OjbVllSX8ctIpIzyZ8iw">(function() {
var footerDebugCommentsCssId='Un6H4'; let debugComments=document.getElementById('dc'); let footerDebugComments=document.getElementById(footerDebugCommentsCssId); if (debugComments && footerDebugComments) {
debugComments.appendChild(footerDebugComments);
}
2023-11-14T07:21:36.924Z
})();
</script><script nonce="y2OjbVllSX8ctIpIzyZ8iw">(function() {
for(var i in google.iir|| {}) {
_setImagesSrc([i], google.iir[i]);
}
google.iir= {}
;
})();
google.jslm=3;
</script><script nonce="y2OjbVllSX8ctIpIzyZ8iw">(function() {
var xsrfTokens='{\x22UPgwmc\x22:\x22ALook6yd_2vJQm8M0qHBijeLlnU03zLDAQ:1699946496607\x22}'; google.xsrf=JSON.parse(xsrfTokens);
})();
</script><div id="reviewDialog" data-async-context="async_id_prefix:" data-jiis="up" data-async-type="reviewDialog" data-async-context-required="async_id_prefix" class="yp"></div><div id="dbg_"></div></div></body></html>

package.json

{
"name": "GPTs-scraper",
"version": "0.0.1",
"type": "module",
"description": "This is a boilerplate of an Apify actor.",
"engines": {
"node": ">=18.0.0"
},
"dependencies": {
"@apify/google-extractors": "^1.2.5",
"apify": "^3.1.10",
"crawlee": "^3.5.4"
},
"devDependencies": {
"@apify/eslint-config-ts": "^0.3.0",
"@apify/tsconfig": "^0.1.0",
"@typescript-eslint/eslint-plugin": "^6.7.2",
"@typescript-eslint/parser": "^6.7.2",
"eslint": "^8.50.0",
"ts-node": "^10.9.1",
"typescript": "^5.2.2"
},
"scripts": {
"start": "npm run start:dev",
"start:prod": "node dist/main.js",
"start:dev": "node --no-warnings=ExperimentalWarning --loader ts-node/esm/transpile-only src/main.ts",
"build": "tsc",
"lint": "eslint ./src --ext .ts",
"lint:fix": "eslint ./src --ext .ts --fix",
"test": "echo \"Error: oops, the actor has no tests yet, sad!\" && exit 1"
},
"author": "It's not you it's me",
"license": "ISC"
}

tsconfig.json

{
"extends": "@apify/tsconfig",
"compilerOptions": {
"module": "ES2022",
"target": "ES2022",
"outDir": "dist",
"noUnusedLocals": false,
"lib": ["DOM"]
},
"include": [
"./src/**/*"
]
}

.actor/Dockerfile

# Specify the base Docker image. You can read more about
# the available images at https://crawlee.dev/docs/guides/docker-images
# You can also use any other image from Docker Hub.
FROM apify/actor-node:18 AS builder
# Copy just package.json and package-lock.json
# to speed up the build using Docker layer cache.
COPY package*.json ./
# Install all dependencies. Don't audit to speed up the installation.
RUN npm install --include=dev --audit=false
# Next, copy the source files using the user set
# in the base image.
COPY . ./
# Install all dependencies and build the project.
# Don't audit to speed up the installation.
RUN npm run build
# Create final image
FROM apify/actor-node:18
# Copy just package.json and package-lock.json
# to speed up the build using Docker layer cache.
COPY package*.json ./
# Install NPM packages, skip optional and development dependencies to
# keep the image small. Avoid logging too much and print the dependency
# tree for debugging
RUN npm --quiet set progress=false \
&& npm install --omit=dev --omit=optional \
&& echo "Installed NPM packages:" \
&& (npm list --omit=dev --all || true) \
&& echo "Node.js version:" \
&& node --version \
&& echo "NPM version:" \
&& npm --version \
&& rm -r ~/.npm
# Copy built JS files from builder image
COPY --from=builder /usr/src/app/dist ./dist
# Next, copy the remaining files and directories with the source code.
# Since we do this after NPM install, quick build will be really fast
# for most source file changes.
COPY . ./
# Run the image.
CMD npm run start:prod --silent

.actor/actor.json

{
"actorSpecification": 1,
"name": "GPTs-scraper",
"title": "GPTs-scraper",
"description": "Use this scrapper to collect data about GPTs url, title, description and more.",
"version": "0.0",
"meta": {
"templateId": "ts-crawlee-cheerio"
},
"input": "./input_schema.json",
"dockerfile": "./Dockerfile"
}

.actor/input_schema.json

{
"title": "GPTs-scraper Input Schema",
"type": "object",
"schemaVersion": 1,
"properties": {
"gptsUrls": {
"title": "Apps url(s)",
"type": "array",
"description": "Url of the GPTs you want to crawl, leave empty to crawl the latest 400 GPTs from Google SERP",
"editor": "requestListSources"
},
"maxItems": {
"title": "Max items",
"type": "integer",
"description": "Maximum number of apps you want to scrape, scrape all if not set.",
"editor": "number"
},
"proxyConfiguration": {
"title": "Proxy configuration",
"type": "object",
"description": "Select proxies to be used by your crawler.",
"prefill": {
"useApifyProxy": true,
"apifyProxyCountry": "US"
},
"editor": "proxy"
}
},
"required": []
}

src/main.ts

1// Apify SDK - toolkit for building Apify Actors (Read more at https://docs.apify.com/sdk/js/)
2import { Actor, ProxyConfigurationOptions } from 'apify';
3import { CheerioCrawler, Dataset, log } from 'crawlee';
4import fs from 'fs'
5import { GPTS } from './types';
6
7interface Input {
8 maxItems: number;
9 gptsUrls: string[]
10 proxyConfiguration: ProxyConfigurationOptions
11}
12
13// The init() call configures the Actor for its environment. It's recommended to start every Actor with an init()
14await Actor.init();
15
16
17
18// Structure of input is defined in input_schema.json
19const { maxItems, gptsUrls, proxyConfiguration: proxyConfigurationOptions } = await Actor.getInput<Input>() ?? {} as Input;
20
21const selectors: { [key: string]: string } = {
22 url: 'a[href]',
23 title: 'a',
24 text: 'span > span',
25 links: 'div#search div[class=g]',
26 next: 'a[aria-label="More results"]',
27};
28
29
30const BASEURL = 'https://www.google.com'
31
32let urls: string[] = []
33let currentPage = 0
34
35const proxyConfiguration = await Actor.createProxyConfiguration(proxyConfigurationOptions);
36
37if (!gptsUrls) {
38 const googleCrawler = new CheerioCrawler({
39 maxConcurrency: 1,
40 maxRequestRetries: 3,
41 async requestHandler({ request, $ }) {
42 const links = $(selectors['url'])
43 .map((_, el) => $(el).attr('href'))
44 .get().filter(item => {
45 return item.startsWith('https://chat.openai.com/g/')
46 })
47
48 urls.push(...links)
49
50
51 const nextPage = $(selectors['next']).attr('href')
52 if (!nextPage) {
53 if (links.length) {
54 const prevUrl = request.loadedUrl
55 const page = (currentPage + 1) * 10
56 const nextUrl = prevUrl?.replace(/start=\d+/, `start=${page}`);
57 if (nextUrl) {
58 currentPage++
59 await googleCrawler.addRequests([nextUrl]);
60 }
61 }
62 } else {
63 const nextUrl = BASEURL + nextPage;
64 if (nextUrl) {
65 console.log(nextUrl)
66 currentPage++
67 await googleCrawler.addRequests([nextUrl]);
68 }
69 }
70 },
71 failedRequestHandler({ request }) {
72 log.error(`Request for url ${request.url} failed.`);
73 }
74 });
75 await googleCrawler.run([BASEURL + '/search?q=site://chat.openai.com/g/']);
76} else {
77 urls = gptsUrls
78}
79
80
81
82const crawler = new CheerioCrawler({
83 proxyConfiguration,
84 minConcurrency: 1,
85 maxConcurrency: 5,
86 maxRequestRetries: 5,
87
88 // Increase the timeout for processing of each page.
89 requestHandlerTimeoutSecs: 30,
90 persistCookiesPerSession: true,
91
92 sessionPoolOptions: {
93 maxPoolSize: 10,
94 sessionOptions: {
95 maxErrorScore: 3,
96 maxUsageCount: 100
97 },
98 },
99 useSessionPool: true,
100
101 requestHandler: async ({ $, request }) => {
102 const element = $('#__NEXT_DATA__');
103 const json = JSON.parse(element.html() || '') as GPTS;
104 const { author, display, id } = json.props.pageProps.gizmo.gizmo
105
106 await Actor.pushData({
107 title: display.name,
108 author: author.display_name,
109 description: display.description,
110 logoUrl: display.profile_picture_url,
111 welcomeMessage: display.welcome_message,
112 id: id,
113 url: request.loadedUrl
114 });
115 },
116 failedRequestHandler({ request }) {
117 log.error(`Request for url ${request.url} failed.`);
118 }
119});
120
121// Reduce the number of apps to crawl
122if (maxItems && maxItems > 0) {
123 urls = urls.slice(0, maxItems);
124}
125
126await crawler.run(urls);
127// for testing
128// await crawler.run(['https://chat.openai.com/g/g-N1SJLto6i-elsa']);
129
130await Actor.exit();

src/types.ts

1export interface GPTS {
2 props: Props
3 page: string
4 query: Query
5 buildId: string
6 assetPrefix: string
7 isFallback: boolean
8 gssp: boolean
9 scriptLoader: any[]
10}
11
12export interface Props {
13 pageProps: PageProps
14 __N_SSP: boolean
15}
16
17export interface PageProps {
18 kind: string
19 gizmo: Gizmo
20}
21
22export interface Gizmo {
23 gizmo: Gizmo2
24 tools: Tool[]
25 files: any[]
26 product_features: ProductFeatures
27}
28
29export interface Gizmo2 {
30 id: string
31 organization_id: string
32 short_url: string
33 author: Author
34 voice: Voice
35 workspace_id: any
36 model: any
37 instructions: any
38 settings: any
39 display: Display
40 share_recipient: string
41 updated_at: string
42 last_interacted_at: any
43 tags: string[]
44 version: any
45 live_version: any
46 training_disabled: any
47 allowed_sharing_recipients: any
48 review_info: any
49 appeal_info: any
50 vanity_metrics: any
51}
52
53export interface Author {
54 user_id: string
55 display_name: string
56 link_to: any
57 selected_display: string
58 is_verified: boolean
59}
60
61export interface Voice {
62 id: string
63}
64
65export interface Display {
66 name: string
67 description: string
68 welcome_message: string
69 prompt_starters: any
70 profile_picture_url: string
71 categories: any[]
72}
73
74export interface Tool {
75 id: string
76 type: string
77 settings: any
78 metadata: any
79}
80
81export interface ProductFeatures {
82 attachments: Attachments
83}
84
85export interface Attachments {
86 type: string
87 accepted_mime_types: string[]
88 image_mime_types: string[]
89 can_accept_all_mime_types: boolean
90}
91
92export interface Query {
93 gizmoId: string
94}