Documentation has been updated: see help center and changelog in one place.

ChatGPT

了解如何使用网页爬虫 API 抓取 ChatGPT。查找全面的代码示例和输出样本。

chatgpt source 旨在提交提示并获取 ChatGPT 会话式响应。它会返回完整的 ChatGPT 响应文本以及其结构化的元数据。

请求示例

以下代码示例演示如何提交提示并获取带有解析结果的 ChatGPT 响应。

curl 'https://realtime.oxylabs.io/v1/queries' \
--user 'USERNAME:PASSWORD' \
-H 'Content-Type: application/json' \
-d '{
        "source": "chatgpt",
        "prompt": "best supplements for better sleep",
        "parse": true,
        "search": true,
        "geo_location": "United States"
    }'

我们的示例使用同步 Realtime 集成方法。如果你希望使用 Proxy Endpoint 或异步 Push-Pull 集成,请参阅 集成方法 页面。

请求参数值

针对抓取 ChatGPT 的基础设置与自定义选项。

参数
说明
默认值

source

设置爬虫。

chatgpt

prompt

要提交给 ChatGPT 的提示或问题。必须少于 4000 个符号。

-

search

通过点击相关界面按钮,触发 ChatGPT 为该提示执行 Web 搜索。

true

render

对于 chatgpt. 更多信息.

-

parse

当设置为 true.

false

geo_location

指定发送提示所用的国家/地区。 更多信息.

-

callback_url

你的回调端点的 URL。 更多信息.

-

- 必填参数

结构化数据

网页爬虫API 能够提取包含 ChatGPT 输出的 HTML 或 JSON 对象,为结果页的各个元素提供结构化数据。

chatgpt 结构化输出
{
    "results": [
        {
            "content": {
                "prompt": "best supplements for better sleep",
                "llm_model": "gpt-4o",
                "markdown_json": [
                    {
                        "type": "blank_line"
                    },
                    {
                        "raw": "          通过补充剂改善睡眠可能有帮助,但最好配合健康的睡眠习惯。以下是一些常用于促进更好睡眠的优秀补充剂:",
                        "type": "block_code",
                        "style": "indent"
                    },
                    {
                        "type": "heading",
                        "attrs": {
                            "level": 3
                        },
                        "style": "atx",
                        "children": [
                            {
                                "raw": "1. ",
                                "type": "text"
                            },
                            {
                                "type": "strong",
                                "children": [
                                    {
                                        "raw": "Melatonin",
                                        "type": "text"
                                    }
                                ]
                            }
                        ]
                    },
                    {
                        "type": "blank_line"
                    },
                    {
                        "type": "list",
                        "attrs": {
                            "depth": 0,
                            "ordered": false
                        },
                        "tight": true,
                        "bullet": "*",
                        "children": [
                            {
                                "type": "list_item",
                                "children": [
                                    {
                                        "type": "block_text",
                                        "children": [
                                            {
                                                "type": "strong",
                                                "children": [
                                                    {
                                                        "raw": "What it is",
                                                        "type": "text"
                                                    }
                                                ]
                                            },
                                            {
                                                "raw": ": 身体自然分泌、用于调节睡眠-觉醒周期的激素。",
                                                "type": "text"
                                            }
                                        ]
                                    }
                                ]
                            },
                            {
                                "type": "list_item",
                                "children": [
                                    {
                                        "type": "block_text",
                                        "children": [
                                            {
                                                "type": "strong",
                                                "children": [
                                                    {
                                                        "raw": "How it helps",
                                                        "type": "text"
                                                    }
                                                ]
                                            },
                                            {
                                                "raw": ": 如果你正面临时差或倒班等睡眠紊乱,褪黑素补充剂可能有帮助。它会向身体发出入睡信号。",
                                                "type": "text"
                                            }
                                        ]
                                    }
                                ]
                            },
                            {
                                "type": "list_item",
                                "children": [
                                    {
                                        "type": "block_text",
                                        "children": [
                                            {
                                                "type": "strong",
                                                "children": [
                                                    {
                                                        "raw": "Dosage",
                                                        "type": "text"
                                                    }
                                                ]
                                            },
                                            {
                                                "raw": ": 一般在睡前 30–60 分钟服用 0.5–3 mg 有效。",
                                                "type": "text"
                                            }
                                        ]
                                    }
                                ]
                            }
                        ]
                    },
                    {
                        "type": "heading",
                        "attrs": {
                            "level": 3
                        },
                        "style": "atx",
                        "children": [
                            {
                                "raw": "2. ",
                                "type": "text"
                            },
                            {
                                "type": "strong",
                                "children": [
                                    {
                                        "raw": "Magnesium",
                                        "type": "text"
                                    }
                                ]
                            }
                        ]
                    },
                    {
                        "type": "blank_line"
                    },
                    {
                        "type": "list",
                        "attrs": {
                            "depth": 0,
                            "ordered": false
                        },
                        "tight": true,
                        "bullet": "*",
                        "children": [
                            {
                                "type": "list_item",
                                "children": [
                                    {
                                        "type": "block_text",
                                        "children": [
                                            {
                                                "type": "strong",
                                                "children": [
                                                    {
                                                        "raw": "What it is",
                                                        "type": "text"
                                                    }
                                                ]
                                            },
                                            {
                                                "raw": ": 一种参与体内数百种过程的必需矿物质,包括肌肉功能与放松。",
                                                "type": "text"
                                            }
                                        ]
                                    }
                                ]
                            },
                            {
                                "type": "list_item",
                                "children": [
                                    {
                                        "type": "block_text",
                                        "children": [
                                            {
                                                "type": "strong",
                                                "children": [
                                                    {
                                                        "raw": "How it helps",
                                                        "type": "text"
                                                    }
                                                ]
                                            },
                                            {
                                                "raw": ": 镁有助于促进放松并减轻压力,从而更容易入睡。",
                                                "type": "text"
                                            }
                                        ]
                                    }
                                ]
                            },
                            {
                                "type": "list_item",
                                "children": [
                                    {
                                        "type": "block_text",
                                        "children": [
                                            {
                                                "type": "strong",
                                                "children": [
                                                    {
                                                        "raw": "Dosage",
                                                        "type": "text"
                                                    }
                                                ]
                                            },
                                            {
                                                "raw": ": 每日约 200–400 mg。甘氨酸镁吸收率高,且对胃更温和。",
                                                "type": "text"
                                            }
                                        ]
                                    }
                                ]
                            }
                        ]
                    },
                    {
                        "type": "heading",
                        "attrs": {
                            "level": 3
                        },
                        "style": "atx",
                        "children": [
                            {
                                "raw": "3. ",
                                "type": "text"
                            },
                            {
                                "type": "strong",
                                "children": [
                                    {
                                        "raw": "L-Theanine",
                                        "type": "text"
                                    }
                                ]
                            }
                        ]
                    },
                    {
                        "type": "blank_line"
                    },
                    {
                        "type": "list",
                        "attrs": {
                            "depth": 0,
                            "ordered": false
                        },
                        "tight": true,
                        "bullet": "*",
                        "children": [
                            {
                                "type": "list_item",
                                "children": [
                                    {
                                        "type": "block_text",
                                        "children": [
                                            {
                                                "type": "strong",
                                                "children": [
                                                    {
                                                        "raw": "What it is",
                                                        "type": "text"
                                                    }
                                                ]
                                            },
                                            {
                                                "raw": ": 一种在茶叶(尤其是绿茶)中发现的氨基酸。",
                                                "type": "text"
                                            }
                                        ]
                                    }
                                ]
                            },
                            {
                                "type": "list_item",
                                "children": [
                                    {
                                        "type": "block_text",
                                        "children": [
                                            {
                                                "type": "strong",
                                                "children": [
                                                    {
                                                        "raw": "How it helps",
                                                        "type": "text"
                                                    }
                                                ]
                                            },
                                            {
                                                "raw": ": L-茶氨酸可促进放松并减少焦虑,有助于放松身心并改善睡眠质量。",
                                                "type": "text"
                                            }
                                        ]
                                    }
                                ]
                            },
                            {
                                "type": "list_item",
                                "children": [
                                    {
                                        "type": "block_text",
                                        "children": [
                                            {
                                                "type": "strong",
                                                "children": [
                                                    {
                                                        "raw": "Dosage",
                                                        "type": "text"
                                                    }
                                                ]
                                            },
                                            {
                                                "raw": ": 100–200 mg,睡前约 30 分钟服用。",
                                                "type": "text"
                                            }
                                        ]
                                    }
                                ]
                            }
                        ]
                    },
                    {
                        "type": "heading",
                        "attrs": {
                            "level": 3
                        },
                        "style": "atx",
                        "children": [
                            {
                                "raw": "4. ",
                                "type": "text"
                            },
                            {
                                "type": "strong",
                                "children": [
                                    {
                                        "raw": "Valerian Root",
                                        "type": "text"
                                    }
                                ]
                            }
                        ]
                    },
                    {
                        "type": "blank_line"
                    },
                    {
                        "type": "list",
                        "attrs": {
                            "depth": 0,
                            "ordered": false
                        },
                        "tight": true,
                        "bullet": "*",
                        "children": [
                            {
                                "type": "list_item",
                                "children": [
                                    {
                                        "type": "block_text",
                                        "children": [
                                            {
                                                "type": "strong",
                                                "children": [
                                                    {
                                                        "raw": "What it is",
                                                        "type": "text"
                                                    }
                                                ]
                                            },
                                            {
                                                "raw": ": 一种草本补充剂,几百年来被用作助眠与缓解焦虑的天然疗法。",
                                                "type": "text"
                                            }
                                        ]
                                    }
                                ]
                            },
                            {
                                "type": "list_item",
                                "children": [
                                    {
                                        "type": "block_text",
                                        "children": [
                                            {
                                                "type": "strong",
                                                "children": [
                                                    {
                                                        "raw": "How it helps",
                                                        "type": "text"
                                                    }
                                                ]
                                            },
                                            {
                                                "raw": ": 缬草根可能提高大脑中具有镇静作用的神经递质 GABA 的水平,从而促进睡眠。",
                                                "type": "text"
                                            }
                                        ]
                                    }
                                ]
                            },
                            {
                                "type": "list_item",
                                "children": [
                                    {
                                        "type": "block_text",
                                        "children": [
                                            {
                                                "type": "strong",
                                                "children": [
                                                    {
                                                        "raw": "Dosage",
                                                        "type": "text"
                                                    }
                                                ]
                                            },
                                            {
                                                "raw": ": 睡前 30 分钟至 2 小时服用 300–600 mg。",
                                                "type": "text"
                                            }
                                        ]
                                    }
                                ]
                            }
                        ]
                    },
                    {
                        "type": "heading",
                        "attrs": {
                            "level": 3
                        },
                        "style": "atx",
                        "children": [
                            {
                                "raw": "5. ",
                                "type": "text"
                            },
                            {
                                "type": "strong",
                                "children": [
                                    {
                                        "raw": "CBD (Cannabidiol)",
                                        "type": "text"
                                    }
                                ]
                            }
                        ]
                    },
                    {
                        "type": "blank_line"
                    },
                    {
                        "type": "list",
                        "attrs": {
                            "depth": 0,
                            "ordered": false
                        },
                        "tight": true,
                        "bullet": "*",
                        "children": [
                            {
                                "type": "list_item",
                                "children": [
                                    {
                                        "type": "block_text",
                                        "children": [
                                            {
                                                "type": "strong",
                                                "children": [
                                                    {
                                                        "raw": "What it is",
                                                        "type": "text"
                                                    }
                                                ]
                                            },
                                            {
                                                "raw": ": 源自工业大麻的非精神活性化合物。",
                                                "type": "text"
                                            }
                                        ]
                                    }
                                ]
                            },
                            {
                                "type": "list_item",
                                "children": [
                                    {
                                        "type": "block_text",
                                        "children": [
                                            {
                                                "type": "strong",
                                                "children": [
                                                    {
                                                        "raw": "How it helps",
                                                        "type": "text"
                                                    }
                                                ]
                                            },
                                            {
                                                "raw": ": CBD 可能减轻焦虑与压力,促进放松,并提升整体睡眠质量。它不会引起“high”。",
                                                "type": "text"
                                            }
                                        ]
                                    }
                                ]
                            },
                            {
                                "type": "list_item",
                                "children": [
                                    {
                                        "type": "block_text",
                                        "children": [
                                            {
                                                "type": "strong",
                                                "children": [
                                                    {
                                                        "raw": "Dosage",
                                                        "type": "text"
                                                    }
                                                ]
                                            },
                                            {
                                                "raw": ": 通常 25–50 mg 的 CBD 油或胶囊是不错的起始剂量。",
                                                "type": "text"
                                            }
                                        ]
                                    }
                                ]
                            }
                        ]
                    },
                    {
                        "type": "heading",
                        "attrs": {
                            "level": 3
                        },
                        "style": "atx",
                        "children": [
                            {
                                "raw": "6. ",
                                "type": "text"
                            },
                            {
                                "type": "strong",
                                "children": [
                                    {
                                        "raw": "GABA (Gamma-Aminobutyric Acid)",
                                        "type": "text"
                                    }
                                ]
                            }
                        ]
                    },
                    {
                        "type": "blank_line"
                    },
                    {
                        "type": "list",
                        "attrs": {
                            "depth": 0,
                            "ordered": false
                        },
                        "tight": true,
                        "bullet": "*",
                        "children": [
                            {
                                "type": "list_item",
                                "children": [
                                    {
                                        "type": "block_text",
                                        "children": [
                                            {
                                                "type": "strong",
                                                "children": [
                                                    {
                                                        "raw": "What it is",
                                                        "type": "text"
                                                    }
                                                ]
                                            },
                                            {
                                                "raw": ": 一种在抑制神经活动与促进放松方面发挥关键作用的神经递质。",
                                                "type": "text"
                                            }
                                        ]
                                    }
                                ]
                            },
                            {
                                "type": "list_item",
                                "children": [
                                    {
                                        "type": "block_text",
                                        "children": [
                                            {
                                                "type": "strong",
                                                "children": [
                                                    {
                                                        "raw": "How it helps",
                                                        "type": "text"
                                                    }
                                                ]
                                            },
                                            {
                                                "raw": ": GABA 补充剂可帮助维持平静放松的状态,更容易入睡。",
                                                "type": "text"
                                            }
                                        ]
                                    }
                                ]
                            },
                            {
                                "type": "list_item",
                                "children": [
                                    {
                                        "type": "block_text",
                                        "children": [
                                            {
                                                "type": "strong",
                                                "children": [
                                                    {
                                                        "raw": "Dosage",
                                                        "type": "text"
                                                    }
                                                ]
                                            },
                                            {
                                                "raw": ": 100–500 mg,睡前约 30–60 分钟服用。",
                                                "type": "text"
                                            }
                                        ]
                                    }
                                ]
                            }
                        ]
                    },
                    {
                        "type": "heading",
                        "attrs": {
                            "level": 3
                        },
                        "style": "atx",
                        "children": [
                            {
                                "raw": "7. ",
                                "type": "text"
                            },
                            {
                                "type": "strong",
                                "children": [
                                    {
                                        "raw": "Chamomile",
                                        "type": "text"
                                    }
                                ]
                            }
                        ]
                    },
                    {
                        "type": "blank_line"
                    },
                    {
                        "type": "list",
                        "attrs": {
                            "depth": 0,
                            "ordered": false
                        },
                        "tight": true,
                        "bullet": "*",
                        "children": [
                            {
                                "type": "list_item",
                                "children": [
                                    {
                                        "type": "block_text",
                                        "children": [
                                            {
                                                "type": "strong",
                                                "children": [
                                                    {
                                                        "raw": "What it is",
                                                        "type": "text"
                                                    }
                                                ]
                                            },
                                            {
                                                "raw": ": 常见草本疗法,通常以茶饮用,也有补充剂形式。",
                                                "type": "text"
                                            }
                                        ]
                                    }
                                ]
                            },
                            {
                                "type": "list_item",
                                "children": [
                                    {
                                        "type": "block_text",
                                        "children": [
                                            {
                                                "type": "strong",
                                                "children": [
                                                    {
                                                        "raw": "How it helps",
                                                        "type": "text"
                                                    }
                                                ]
                                            },
                                            {
                                                "raw": ": 甘菊具有温和的镇静特性,有助于安神静心。",
                                                "type": "text"
                                            }
                                        ]
                                    }
                                ]
                            },
                            {
                                "type": "list_item",
                                "children": [
                                    {
                                        "type": "block_text",
                                        "children": [
                                            {
                                                "type": "strong",
                                                "children": [
                                                    {
                                                        "raw": "Dosage",
                                                        "type": "text"
                                                    }
                                                ]
                                            },
                                            {
                                                "raw": ": 200–400 mg,通常在睡前服用。",
                                                "type": "text"
                                            }
                                        ]
                                    }
                                ]
                            }
                        ]
                    },
                    {
                        "type": "heading",
                        "attrs": {
                            "level": 3
                        },
                        "style": "atx",
                        "children": [
                            {
                                "raw": "8. ",
                                "type": "text"
                            },
                            {
                                "type": "strong",
                                "children": [
                                    {
                                        "raw": "5-HTP (5-Hydroxytryptophan)",
                                        "type": "text"
                                    }
                                ]
                            }
                        ]
                    },
                    {
                        "type": "blank_line"
                    },
                    {
                        "type": "list",
                        "attrs": {
                            "depth": 0,
                            "ordered": false
                        },
                        "tight": true,
                        "bullet": "*",
                        "children": [
                            {
                                "type": "list_item",
                                "children": [
                                    {
                                        "type": "block_text",
                                        "children": [
                                            {
                                                "type": "strong",
                                                "children": [
                                                    {
                                                        "raw": "What it is",
                                                        "type": "text"
                                                    }
                                                ]
                                            },
                                            {
                                                "raw": ": 5-羟色氨酸的前体,参与情绪调节与睡眠的神经递质。",
                                                "type": "text"
                                            }
                                        ]
                                    }
                                ]
                            },
                            {
                                "type": "list_item",
                                "children": [
                                    {
                                        "type": "block_text",
                                        "children": [
                                            {
                                                "type": "strong",
                                                "children": [
                                                    {
                                                        "raw": "How it helps",
                                                        "type": "text"
                                                    }
                                                ]
                                            },
                                            {
                                                "raw": ": 5-HTP 可帮助调节睡眠节律并改善情绪,因为血清素会在大脑中转化为褪黑素。",
                                                "type": "text"
                                            }
                                        ]
                                    }
                                ]
                            },
                            {
                                "type": "list_item",
                                "children": [
                                    {
                                        "type": "block_text",
                                        "children": [
                                            {
                                                "type": "strong",
                                                "children": [
                                                    {
                                                        "raw": "Dosage",
                                                        "type": "text"
                                                    }
                                                ]
                                            },
                                            {
                                                "raw": ": 50–100 mg,睡前服用。",
                                                "type": "text"
                                            }
                                        ]
                                    }
                                ]
                            }
                        ]
                    },
                    {
                        "type": "heading",
                        "attrs": {
                            "level": 3
                        },
                        "style": "atx",
                        "children": [
                            {
                                "raw": "9. ",
                                "type": "text"
                            },
                            {
                                "type": "strong",
                                "children": [
                                    {
                                        "raw": "Ashwagandha",
                                        "type": "text"
                                    }
                                ]
                            }
                        ]
                    },
                    {
                        "type": "blank_line"
                    },
                    {
                        "type": "list",
                        "attrs": {
                            "depth": 0,
                            "ordered": false
                        },
                        "tight": true,
                        "bullet": "*",
                        "children": [
                            {
                                "type": "list_item",
                                "children": [
                                    {
                                        "type": "block_text",
                                        "children": [
                                            {
                                                "type": "strong",
                                                "children": [
                                                    {
                                                        "raw": "What it is",
                                                        "type": "text"
                                                    }
                                                ]
                                            },
                                            {
                                                "raw": ": 一种常见于阿育吠陀医学的适应原草药。",
                                                "type": "text"
                                            }
                                        ]
                                    }
                                ]
                            },
                            {
                                "type": "list_item",
                                "children": [
                                    {
                                        "type": "block_text",
                                        "children": [
                                            {
                                                "type": "strong",
                                                "children": [
                                                    {
                                                        "raw": "How it helps",
                                                        "type": "text"
                                                    }
                                                ]
                                            },
                                            {
                                                "raw": ": 南非醉茄有助于降低压力、焦虑与皮质醇水平,从而可能改善睡眠质量。",
                                                "type": "text"
                                            }
                                        ]
                                    }
                                ]
                            },
                            {
                                "type": "list_item",
                                "children": [
                                    {
                                        "type": "block_text",
                                        "children": [
                                            {
                                                "type": "strong",
                                                "children": [
                                                    {
                                                        "raw": "Dosage",
                                                        "type": "text"
                                                    }
                                                ]
                                            },
                                            {
                                                "raw": ": 300–600 mg,通常在傍晚服用。",
                                                "type": "text"
                                            }
                                        ]
                                    }
                                ]
                            }
                        ]
                    },
                    {
                        "type": "heading",
                        "attrs": {
                            "level": 3
                        },
                        "style": "atx",
                        "children": [
                            {
                                "raw": "10. ",
                                "type": "text"
                            },
                            {
                                "type": "strong",
                                "children": [
                                    {
                                        "raw": "Tryptophan",
                                        "type": "text"
                                    }
                                ]
                            }
                        ]
                    },
                    {
                        "type": "blank_line"
                    },
                    {
                        "type": "list",
                        "attrs": {
                            "depth": 0,
                            "ordered": false
                        },
                        "tight": true,
                        "bullet": "*",
                        "children": [
                            {
                                "type": "list_item",
                                "children": [
                                    {
                                        "type": "block_text",
                                        "children": [
                                            {
                                                "type": "strong",
                                                "children": [
                                                    {
                                                        "raw": "What it is",
                                                        "type": "text"
                                                    }
                                                ]
                                            },
                                            {
                                                "raw": ": 一种存在于火鸡和乳制品等食物中的氨基酸,是血清素与褪黑素的前体。",
                                                "type": "text"
                                            }
                                        ]
                                    }
                                ]
                            },
                            {
                                "type": "list_item",
                                "children": [
                                    {
                                        "type": "block_text",
                                        "children": [
                                            {
                                                "type": "strong",
                                                "children": [
                                                    {
                                                        "raw": "How it helps",
                                                        "type": "text"
                                                    }
                                                ]
                                            },
                                            {
                                                "raw": ": 色氨酸补充可能有助于提升血清素与褪黑素的生成,从而促进更好的睡眠。",
                                                "type": "text"
                                            }
                                        ]
                                    }
                                ]
                            },
                            {
                                "type": "list_item",
                                "children": [
                                    {
                                        "type": "block_text",
                                        "children": [
                                            {
                                                "type": "strong",
                                                "children": [
                                                    {
                                                        "raw": "Dosage",
                                                        "type": "text"
                                                    }
                                                ]
                                            },
                                            {
                                                "raw": ": 睡前约 30–60 分钟服用 500–1,000 mg。",
                                                "type": "text"
                                            }
                                        ]
                                    }
                                ]
                            }
                        ]
                    },
                    {
                        "type": "thematic_break"
                    },
                    {
                        "type": "blank_line"
                    },
                    {
                        "type": "heading",
                        "attrs": {
                            "level": 3
                        },
                        "style": "atx",
                        "children": [
                            {
                                "raw": "Tips:",
                                "type": "text"
                            }
                        ]
                    },
                    {
                        "type": "blank_line"
                    },
                    {
                        "type": "list",
                        "attrs": {
                            "depth": 0,
                            "ordered": false
                        },
                        "tight": true,
                        "bullet": "*",
                        "children": [
                            {
                                "type": "list_item",
                                "children": [
                                    {
                                        "type": "block_text",
                                        "children": [
                                            {
                                                "type": "strong",
                                                "children": [
                                                    {
                                                        "raw": "Consistency",
                                                        "type": "text"
                                                    }
                                                ]
                                            },
                                            {
                                                "raw": ": 规律使用能使补充剂效果更佳,至少持续使用几周以评估其有效性。",
                                                "type": "text"
                                            }
                                        ]
                                    }
                                ]
                            },
                            {
                                "type": "list_item",
                                "children": [
                                    {
                                        "type": "block_text",
                                        "children": [
                                            {
                                                "type": "strong",
                                                "children": [
                                                    {
                                                        "raw": "Timing",
                                                        "type": "text"
                                                    }
                                                ]
                                            },
                                            {
                                                "raw": ": 服用时间至关重要。例如,褪黑素最好在睡前 30–60 分钟服用,而镁更适合在傍晚稍早时服用。",
                                                "type": "text"
                                            }
                                        ]
                                    }
                                ]
                            },
                            {
                                "type": "list_item",
                                "children": [
                                    {
                                        "type": "block_text",
                                        "children": [
                                            {
                                                "type": "strong",
                                                "children": [
                                                    {
                                                        "raw": "Lifestyle Factors",
                                                        "type": "text"
                                                    }
                                                ]
                                            },
                                            {
                                                "raw": ": 补充剂不能替代良好的睡眠卫生(如凉爽、黑暗的环境,睡前不看屏幕等),但可作为有益补充。",
                                                "type": "text"
                                            }
                                        ]
                                    }
                                ]
                            }
                        ]
                    },
                    {
                        "type": "paragraph",
                        "children": [
                            {
                                "raw": "你是否有特定的睡眠问题想要解决(如入睡困难、易醒或睡眠质量)?这有助于缩小最适合你的补充剂范围!",
                                "type": "text"
                            }
                        ]
                    },
                    {
                        "type": "blank_line"
                    }
                ],
                "markdown_text": "\n              通过补充剂改善睡眠可能有帮助,但最好配合健康的睡眠习惯。以下是一些常用于促进更好睡眠的优秀补充剂:\n\n### 1. **Melatonin**\n\n* **What it is**: 身体自然分泌、用于调节睡眠-觉醒周期的激素。\n* **How it helps**: 如果你正面临时差或倒班等睡眠紊乱,褪黑素补充剂可能有帮助。它会向身体发出入睡信号。\n* **Dosage**: 一般在睡前 30–60 分钟服用 0.5 到 3 mg 有效。\n\n### 2. **Magnesium**\n\n* **What it is**: 一种参与体内数百种过程的必需矿物质,包括肌肉功能与放松。\n* **How it helps**: 镁有助于促进放松并减轻压力,从而更容易入睡。\n* **Dosage**: 每日约 200–400 mg。甘氨酸镁吸收率高,且对胃更温和。\n\n### 3. **L-Theanine**\n\n* **What it is**: 一种在茶叶(尤其是绿茶)中发现的氨基酸。\n* **How it helps**: L-茶氨酸可促进放松并减少焦虑,有助于放松身心并改善睡眠质量。\n* **Dosage**: 100–200 mg,睡前约 30 分钟服用。\n\n### 4. **Valerian Root**\n\n* **What it is**: 一种草本补充剂,几百年来被用作助眠与缓解焦虑的天然疗法。\n* **How it helps**: 缬草根可能提高大脑中具有镇静作用的神经递质 GABA 的水平,从而促进睡眠。\n* **Dosage**: 睡前 30 分钟至 2 小时服用 300–600 mg。\n\n### 5. **CBD (Cannabidiol)**\n\n* **What it is**: 源自工业大麻的非精神活性化合物。\n* **How it helps**: CBD 可能减轻焦虑与压力,促进放松,并提升整体睡眠质量。它不会引起 \"high\"。\n* **Dosage**: 通常 25–50 mg 的 CBD 油或胶囊是不错的起始剂量。\n\n### 6. **GABA (Gamma-Aminobutyric Acid)**\n\n* **What it is**: 一种在抑制神经活动与促进放松方面发挥关键作用的神经递质。\n* **How it helps**: GABA 补充剂可帮助维持平静放松的状态,更容易入睡。\n* **Dosage**: 100–500 mg,睡前约 30–60 分钟服用。\n\n### 7. **Chamomile**\n\n* **What it is**: 常见草本疗法,通常以茶饮用,也有补充剂形式。\n* **How it helps**: 甘菊具有温和的镇静特性,有助于安神静心。\n* **Dosage**: 200–400 mg,通常在睡前服用。\n\n### 8. **5-HTP (5-Hydroxytryptophan)**\n\n* **What it is**: 5-羟色氨酸的前体,参与情绪调节与睡眠的神经递质。\n* **How it helps**: 5-HTP 可帮助调节睡眠节律并改善情绪,因为血清素会在大脑中转化为褪黑素。\n* **Dosage**: 50–100 mg,睡前服用。\n\n### 9. **Ashwagandha**\n\n* **What it is**: 一种常见于阿育吠陀医学的适应原草药。\n* **How it helps**: 南非醉茄有助于降低压力、焦虑与皮质醇水平,从而可能改善睡眠质量。\n* **Dosage**: 300–600 mg,通常在傍晚服用。\n\n### 10. **Tryptophan**\n\n* **What it is**: 一种存在于火鸡和乳制品等食物中的氨基酸,是血清素与褪黑素的前体。\n* **How it helps**: 色氨酸补充可能有助于提升血清素与褪黑素的生成,从而促进更好的睡眠。\n* **Dosage**: 睡前约 30–60 分钟服用 500–1,000 mg。\n\n---\n\n### Tips:\n\n* **Consistency**: 规律使用能使补充剂效果更佳,至少持续使用几周以评估其有效性。\n* **Timing**: 服用时间至关重要。例如,褪黑素最好在睡前 30–60 分钟服用,而镁更适合在傍晚稍早时服用。\n* **Lifestyle Factors**: 补充剂不能替代良好的睡眠卫生(如凉爽、黑暗的环境,睡前不看屏幕等),但可作为有益补充。\n\n你是否有特定的睡眠问题想要解决(如入睡困难、易醒或睡眠质量)?这有助于缩小最适合你的补充剂范围!\n\n              ",
                "response_text": "\n          通过补充剂改善睡眠可能有帮助,但最好配合健康的睡眠习惯。以下是一些常用于促进更好睡眠的优秀补充剂:\n\n1. Melatonin\n\n\nWhat it is: 身体自然分泌、用于调节睡眠-觉醒周期的激素。\n\nHow it helps: 如果你正面临时差或倒班等睡眠紊乱,褪黑素补充剂可能有帮助。它会向身体发出入睡信号。\n\nDosage: 一般在睡前 30–60 分钟服用 0.5 到 3 mg 有效。\n\n\n\n2. Magnesium\n\n\nWhat it is: 一种参与体内数百种过程的必需矿物质,包括肌肉功能与放松。\n\nHow it helps: 镁有助于促进放松并减轻压力,从而更容易入睡。\n\nDosage: 每日约 200–400 mg。甘氨酸镁吸收率高,且对胃更温和。\n\n\n\n3. L-Theanine\n\n\nWhat it is: 一种在茶叶(尤其是绿茶)中发现的氨基酸。\n\nHow it helps: L-茶氨酸可促进放松并减少焦虑,有助于放松身心并改善睡眠质量。\n\nDosage: 100–200 mg,睡前约 30 分钟服用。\n\n\n\n4. Valerian Root\n\n\nWhat it is: 一种草本补充剂,几百年来被用作助眠与缓解焦虑的天然疗法。\n\nHow it helps: 缬草根可能提高大脑中具有镇静作用的神经递质 GABA 的水平,从而促进睡眠。\n\nDosage: 睡前 30 分钟至 2 小时服用 300–600 mg。\n\n\n\n5. CBD (Cannabidiol)\n\n\nWhat it is: 源自工业大麻的非精神活性化合物。\n\nHow it helps: CBD 可能减轻焦虑与压力,促进放松,并提升整体睡眠质量。它不会引起 \"high\"。\n\nDosage: 通常 25–50 mg 的 CBD 油或胶囊是不错的起始剂量。\n\n\n\n6. GABA (Gamma-Aminobutyric Acid)\n\n\nWhat it is: 一种在抑制神经活动与促进放松方面发挥关键作用的神经递质。\n\nHow it helps: GABA 补充剂可帮助维持平静放松的状态,更容易入睡。\n\nDosage: 100–500 mg,睡前约 30–60 分钟服用。\n\n\n\n7. Chamomile\n\n\nWhat it is: 常见草本疗法,通常以茶饮用,也有补充剂形式。\n\nHow it helps: 甘菊具有温和的镇静特性,有助于安神静心。\n\nDosage: 200–400 mg,通常在睡前服用。\n\n\n\n8. 5-HTP (5-Hydroxytryptophan)\n\n\nWhat it is: 5-羟色氨酸的前体,参与情绪调节与睡眠的神经递质。\n\nHow it helps: 5-HTP 可帮助调节睡眠节律并改善情绪,因为血清素会在大脑中转化为褪黑素。\n\nDosage: 50–100 mg,睡前服用。\n\n\n\n9. Ashwagandha\n\n\nWhat it is: 一种常见于阿育吠陀医学的适应原草药。\n\nHow it helps: 南非醉茄有助于降低压力、焦虑与皮质醇水平,从而可能改善睡眠质量。\n\nDosage: 300–600 mg,通常在傍晚服用。\n\n\n\n10. Tryptophan\n\n\nWhat it is: 一种存在于火鸡和乳制品等食物中的氨基酸,是血清素与褪黑素的前体。\n\nHow it helps: 色氨酸补充可能有助于提升血清素与褪黑素的生成,从而促进更好的睡眠。\n\nDosage: 睡前约 30–60 分钟服用 500–1,000 mg。\n\n\n\n\n\n\nTips:\n\n\nConsistency: 规律使用能使补充剂效果更佳,至少持续使用几周以评估其有效性。\n\nTiming: 服用时间至关重要。例如,褪黑素最好在睡前 30–60 分钟服用,而镁更适合在傍晚稍早时服用。\n\nLifestyle Factors: 补充剂不能替代良好的睡眠卫生(如凉爽、黑暗的环境,睡前不看屏幕等),但可作为有益补充。\n\n\n\n你是否有特定的睡眠问题想要解决(如入睡困难、易醒或睡眠质量)?这有助于缩小最适合你的补充剂范围!\n\n\n",
                "parse_status_code": 12000
            },
            "created_at": "2025-07-21 09:44:41",
            "updated_at": "2025-07-21 09:45:17",
            "page": 1,
            "url": "https://chatgpt.com/?hints=search",
            "job_id": "7352996936896485377",
            "is_render_forced": false,
            "status_code": 200,
            "parser_type": "chatgpt",
            "parser_preset": null,
            "_request": {
                "cookies": [],
                "headers": {
                    "Accept": "*/*",
                    "Referer": "https://chat.openai.com/",
                    "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:125.0) Gecko/20100101 Firefox/125.0",
                    "Sec-Fetch-Dest": "empty",
                    "Sec-Fetch-Mode": "cors",
                    "Sec-Fetch-Site": "cross-site",
                    "Accept-Encoding": "gzip, deflate, br",
                    "Accept-Language": "en-US,en;q=0.8"
                }
            },
            "_response": {
                "cookies": [
                    {
                        "key": "__cf_bm",
                        "path": "/",
                        "value": "8p_bO1S1FHojsABBQGDlZGjEV71zyZHR7MgnBeuYwtY-1753091085-1.0.1.1-V5pHHjoVcrJgK0z32boibyZVJhaoJixNqPPgDjCLQZx3XN8c7QPiZ7WtOHIjKxCuL7ikMp9gwclU.1MOAM_2XRf02EJt0HqyBZEGPSfdGZg",
                        "domain": ".chatgpt.com",
                        "secure": true,
                        "comment": "",
                        "expires": 1753092885,
                        "max-age": "",
                        "version": "",
                        "httponly": "",
                        "samesite": ""
                    },
                    {
                        "key": "_cfuvid",
                        "path": "/",
                        "value": "pBe2gTUFEhqINJ64L9TjtoasbchypLHIoHJyu5QbGKU-1753091085801-0.0.1.1-604800000",
                        "domain": ".chatgpt.com",
                        "secure": true,
                        "comment": "",
                        "expires": -1,
                        "max-age": "",
                        "version": "",
                        "httponly": "",
                        "samesite": ""
                    },
                    {
                        "key": "__Host-next-auth.csrf-token",
                        "path": "/",
                        "value": "b5d09ebb69a56f89056c5b85efe11830ba5ea0d63930b9a2521856b991ccfb21%7C9429a6a1e6e6f066d0ef9f5598c20cd44d944137415f21868cdf3a3d313e61fb",
                        "domain": "chatgpt.com",
                        "secure": true,
                        "comment": "",
                        "expires": -1,
                        "max-age": "",
                        "version": "",
                        "httponly": "",
                        "samesite": ""
                    },
                    {
                        "key": "__Secure-next-auth.callback-url",
                        "path": "/",
                        "value": "https%3A%2F%2Fchatgpt.com",
                        "domain": "chatgpt.com",
                        "secure": true,
                        "comment": "",
                        "expires": -1,
                        "max-age": "",
                        "version": "",
                        "httponly": "",
                        "samesite": ""
                    },
                    {
                        "key": "oai-did",
                        "path": "/",
                        "value": "8872fb51-5150-4124-94cc-c2b2c873d246",
                        "domain": ".chatgpt.com",
                        "secure": false,
                        "comment": "",
                        "expires": 1784195085,
                        "max-age": "",
                        "version": "",
                        "httponly": "",
                        "samesite": ""
                    },
                    {
                        "key": "__cflb",
                        "path": "/",
                        "value": "0H28vzvP5FJafnkHxihEjGoKqQYKLzgWn6SrwLTizhZ",
                        "domain": "chatgpt.com",
                        "secure": true,
                        "comment": "",
                        "expires": 1753094685,
                        "max-age": "",
                        "version": "",
                        "httponly": "",
                        "samesite": ""
                    },
                    {
                        "key": "cf_clearance",
                        "path": "/",
                        "value": "xuEaBnXwdEzDr3meJ4DVRoNa5ivEhPDp45igBtQPBGk-1753091089-1.2.1.1-oRl.I4.TRZvshWUEp8WB9eefELVoQ3mDqvWgOr0ygQi3OAH1Q9IlBF4SmCIMkHOFaXDnM6PqGgkMyEPXgVFmbX0DA9PIkboFDM8RTNn4J_71ZQh7Myt_6uI5XvW50Zw6.oTpur3dvssvFYybrJ91XIXLAR_Gp100upEez.7tUJ7ZHsD_lXyFU_f5FhWM.Ge_6t21dYPF5.YcsB8A7l.ZQHZ6AweZrAobTg.jmx77.VE",
                        "domain": ".chatgpt.com",
                        "secure": true,
                        "comment": "",
                        "expires": 1784627089,
                        "max-age": "",
                        "version": "",
                        "httponly": "",
                        "samesite": ""
                    },
                    {
                        "key": "_dd_s",
                        "path": "/",
                        "value": "rum=0&expire=1753091989776&logs=1&id=85811739-0629-4bed-8737-dc9445dc71e1&created=1753091089776",
                        "domain": "chatgpt.com",
                        "secure": false,
                        "comment": "",
                        "expires": 1753091989,
                        "max-age": "",
                        "version": "",
                        "httponly": "",
                        "samesite": ""
                    },
                    {
                        "key": "oai-sc",
                        "path": "/",
                        "value": "0gAAAAABofgwSO7ucm3ZwfjJxTYiQqdti8ySUpz67OKqDqGb7eNdKXZk5WkujZyDg_NbbqApn3uF9cTJsTB3m3VLscXV3lnQ2tzUy1gZTmxmreH7-SxYtUhu3p7LDvNrnM6jshusJHSY-3nl_EIbSyzpg-kxJMmhSOc2DhrI89B5D699Ub__hQ5ww_uv0JL702tfYUUmx5kfOYIYE9plbFHYELirLNRm0_9VRDEzuk1UnuQJRPG6VjSs",
                        "domain": ".chatgpt.com",
                        "secure": true,
                        "comment": "",
                        "expires": 1784627090,
                        "max-age": "",
                        "version": "",
                        "httponly": "",
                        "samesite": ""
                    }
                ],
                "headers": {
                    "date": "Mon, 21 Jul 2025 09:44:45 GMT",
                    "link": "<https://cdn.oaistatic.com/assets/root-gb2r8c6x.css>; rel=preload; as=style, <https://cdn.oaistatic.com/assets/conversation-small-k592qa8k.css>; rel=preload; as=style, <https://cdn.oaistatic.com/assets/iel47fc7grtlil6a.js>; rel=preload; as=script; crossorigin, <https://cdn.oaistatic.com/assets/juy90og0wtbp77qa.js>; rel=preload; as=script; crossorigin, <https://cdn.oaistatic.com/assets/ggkcjsw9vksljdkv.js>; rel=preload; as=script; crossorigin, <https://cdn.oaistatic.com/assets/m95fj1rn1mzao4sq.js>; rel=preload; as=script; crossorigin, <https://cdn.oaistatic.com/assets/kr05utw3008eg945.js>; rel=preload; as=script; crossorigin, <https://cdn.oaistatic.com/assets/iqfr5i09hbhccmuh.js>; rel=preload; as=script; crossorigin, <https://cdn.oaistatic.com/assets/ovm0ybgo1syx3f0p.js>; rel=preload; as=script; crossorigin, <https://cdn.oaistatic.com/assets/moy4mvglnalfrz8q.js>; rel=preload; as=script; crossorigin, <https://cdn.oaistatic.com/assets/ghw6xt5f1sk79ysd.js>; rel=preload; as=script; crossorigin, <https://cdn.oaistatic.com/assets/mi6f694cnocn4dti.js>; rel=preload; as=script; crossorigin, <https://cdn.oaistatic.com/assets/i3hpxg6e4b5a8als.js>; rel=preload; as=script; crossorigin, <https://cdn.oaistatic.com/assets/f74pg4kr6zomyhee.js>; rel=preload; as=script; crossorigin, <https://cdn.oaistatic.com/assets/cstszi108kecrn0g.js>; rel=preload; as=script; crossorigin, <https://cdn.oaistatic.com/assets/gk89tpvmawimrwuu.js>; rel=preload; as=script; crossorigin, <https://cdn.oaistatic.com/assets/h9h8cg16cegnz3eg.js>; rel=preload; as=script; crossorigin, <https://cdn.oaistatic.com/assets/fx2veoq58hii55a2.js>; rel=preload; as=script; crossorigin, <https://cdn.oaistatic.com/assets/bjoz78q9hyc7vmqq.js>; rel=preload; as=script; crossorigin, <https://cdn.oaistatic.com/assets/i77ly04l6zopmhcd.js>; rel=preload; as=script; crossorigin, <https://cdn.oaistatic.com/assets/j0lff2ng05zbgs7q.js>; rel=preload; as=script; crossorigin, <https://cdn.oaistatic.com/assets/pfit7pq9kxfsrq6e.js>; rel=preload; as=script; crossorigin, <https://cdn.oaistatic.com/assets/f75rbclk3h4jbj57.js>; rel=preload; as=script; crossorigin, <https://cdn.oaistatic.com/assets/cyi8lup1ra5lipwu.js>; rel=preload; as=script; crossorigin, <https://cdn.oaistatic.com/assets/flzh3nddyjgqbqe1.js>; rel=preload; as=script; crossorigin, <https://cdn.oaistatic.com/assets/pc2givv05uuq8g6l.js>; rel=preload; as=script; crossorigin, <https://cdn.oaistatic.com/assets/kpwvtz91dbad0va6.js>; rel=preload; as=script; crossorigin, <https://cdn.oaistatic.com/assets/4jrxuiu87ry95xka.js>; rel=preload; as=script; crossorigin, <https://cdn.oaistatic.com/assets/nrb3o16z9jokvloq.js>; rel=preload; as=script; crossorigin, <https://cdn.oaistatic.com/assets/o0whyuqzq13y0i9n.js>; rel=preload; as=script; crossorigin, <https://cdn.oaistatic.com/assets/h3gfcgsgetn4821r.js>; rel=preload; as=script; crossorigin, <https://cdn.oaistatic.com/assets/ljnobu2haq5a6djh.js>; rel=preload; as=script; crossorigin, <https://cdn.oaistatic.com/assets/nvfpw35mzunli75l.js>; rel=preload; as=script; crossorigin, <https://cdn.oaistatic.com/assets/ngweha7spcb6a8xk.js>; rel=preload; as=script; crossorigin, <https://cdn.oaistatic.com/assets/mv381zt3ezq17s3t.js>; rel=preload; as=script; crossorigin, <https://cdn.oaistatic.com/assets/kqp43verg3d5fj5u.js>; rel=preload; as=script; crossorigin, <https://cdn.oaistatic.com/assets/cmlgyrhs6cwm661e.js>; rel=preload; as=script; crossorigin",
                    "cf-ray": "9629c2f56f6674c0-MIA",
                    "server": "cloudflare",
                    "report-to": "{\"group\":\"chatgpt-csp-new\", \"max_age\":10886400, \"endpoints\":[{\"url\":\"https://browser-intake-datadoghq.com/api/v2/logs?dd-api-key=pub1f79f8ac903a5872ae5f53026d20a77c&dd-evp-origin=content-security-policy&ddsource=csp-report&ddtags=version%3Achatgpt-csp-new\"}]}",
                    "content-type": "text/html; charset=utf-8",
                    "x-robots-tag": "nofollow",
                    "x-firefox-spdy": "h2",
                    "cf-cache-status": "DYNAMIC",
                    "referrer-policy": "strict-origin-when-cross-origin",
                    "content-encoding": "br",
                    "x-content-type-options": "nosniff",
                    "content-security-policy": "default-src 'self'; script-src 'nonce-ef96b386-b45a-45ba-a589-4f4eb45ef5ce' 'self' 'wasm-unsafe-eval' chatgpt.com/ces https://*.chatgpt.com https://*.chatgpt.com/ https://*.js.stripe.com https://*.oaistatic.com https://chat.openai.com https://chatgpt.com https://chatgpt.com/ https://chatgpt.com/backend-anon https://chatgpt.com/backend-api https://chatgpt.com/backend/se https://chatgpt.com/public-api https://chatgpt.com/voice https://js.stripe.com https://oaistatic.com https://realtime.chatgpt.com https://snc.apps.openai.com wss://*.chatgpt.com wss://*.chatgpt.com/; script-src-elem 'nonce-ef96b386-b45a-45ba-a589-4f4eb45ef5ce' 'self' 'sha256-eMuh8xiwcX72rRYNAGENurQBAcH7kLlAUQcoOri3BIo=' auth0.openai.com blob: challenges.cloudflare.com chatgpt.com/ces https://*.chatgpt.com https://*.chatgpt.com/ https://*.js.stripe.com https://*.oaistatic.com https://apis.google.com https://chat.openai.com https://chatgpt.com https://chatgpt.com/ https://chatgpt.com/backend-anon https://chatgpt.com/backend-api https://chatgpt.com/backend/se https://chatgpt.com/public-api https://chatgpt.com/voice https://connect.facebook.net https://docs.google.com https://js.live.net/v7.2/OneDrive.js https://js.stripe.com https://oaistatic.com https://pixel-config.reddit.com https://realtime.chatgpt.com https://snc.apps.openai.com https://www-onepick-opensocial.googleusercontent.com https://www.redditstatic.com wss://*.chatgpt.com wss://*.chatgpt.com/; img-src 'self' * blob: data: https: https://docs.google.com https://drive-thirdparty.googleusercontent.com https://ssl.gstatic.com; style-src 'self' 'unsafe-inline' blob: chatgpt.com/ces https://*.chatgpt.com https://*.chatgpt.com/ https://*.oaistatic.com https://chat.openai.com https://chatgpt.com https://chatgpt.com/ https://chatgpt.com/backend-anon https://chatgpt.com/backend-api https://chatgpt.com/backend/se https://chatgpt.com/public-api https://chatgpt.com/voice https://oaistatic.com https://realtime.chatgpt.com https://snc.apps.openai.com wss://*.chatgpt.com wss://*.chatgpt.com/; font-src 'self' data: https://*.oaistatic.com https://cdn.openai.com https://fonts.gstatic.com; connect-src 'self' *.blob.core.windows.net *.oaiusercontent.com api.mapbox.com browser-intake-datadoghq.com chatgpt.com/ces events.mapbox.com https://*.chatgpt.com https://*.chatgpt.com/ https://*.oaistatic.com https://api.atlassian.com https://api.onedrive.com https://api.stripe.com https://chat.openai.com https://chatgpt.com https://chatgpt.com/ https://chatgpt.com/backend-anon https://chatgpt.com/backend-api https://chatgpt.com/backend/se https://chatgpt.com/public-api https://chatgpt.com/voice https://content.googleapis.com https://docs.google.com https://events.statsigapi.net https://featuregates.org https://graph.microsoft.com https://integrations.livekit.io/enc/v1/models/model_32.kw https://livekit.io/integrations/enc/v1 https://oaistatic.com https://pixel-config.reddit.com https://realtime.chatgpt-staging.com https://realtime.chatgpt.com https://snc.apps.openai.com https://transceiver.api.openai.com https://transceiver.api.openai.org https://www.googleapis.com https://www.redditstatic.com statsigapi.net wss://*.chatgpt.com wss://*.chatgpt.com/ wss://*.webpubsub.azure.com; frame-src 'self' challenges.cloudflare.com https://*.js.stripe.com https://*.sharepoint.com https://content.googleapis.com https://docs.google.com https://hooks.stripe.com https://js.stripe.com https://onedrive.live.com https://web-sandbox.oaiusercontent.com js.stripe.com player.vimeo.com www.youtube.com; worker-src 'self' blob:; media-src 'self' *.oaiusercontent.com blob: https://cdn.openai.com https://persistent.oaistatic.com; frame-ancestors 'self' chrome-extension://iaiigpefkbhgjcmcmffmfkpmhemdhdnj; base-uri 'none'; report-to chatgpt-csp-new; report-uri https://browser-intake-datadoghq.com/api/v2/logs?dd-api-key=pub1f79f8ac903a5872ae5f53026d20a77c&dd-evp-origin=content-security-policy&ddsource=csp-report&ddtags=version%3Achatgpt-csp-new",
                    "strict-transport-security": "max-age=31536000; includeSubDomains; preload",
                    "cross-origin-opener-policy": "same-origin-allow-popups"
                }
            },
            "session_info": {
                "id": null,
                "expires_at": null,
                "remaining": null
            }
        }
    ],
    "job": {
        "parse": true,
        "prompt": "best supplements for better sleep",
        "search": true,
        "source": "chatgpt",
        "callback_url": "https://realtime.oxylabs.io:443/api/done",
        "geo_location": "United States",
        "id": "7352996936896485377",
        "status": "done",
        "created_at": "2025-07-21 09:44:41",
        "updated_at": "2025-07-21 09:45:17",
        "_links": [
            {
                "rel": "self",
                "href": "http://data.oxylabs.io/v1/queries/7352996936896485377",
                "method": "GET"
            },
            {
                "rel": "results",
                "href": "http://data.oxylabs.io/v1/queries/7352996936896485377/results",
                "method": "GET"
            },
            {
                "rel": "results-content",
                "href_list": [
                    "http://data.oxylabs.io/v1/queries/7352996936896485377/results/1/content"
                ],
                "method": "GET"
            },
            {
                "rel": "results-html",
                "href": "http://data.oxylabs.io/v1/queries/7352996936896485377/results?type=raw",
                "method": "GET"
            },
            {
                "rel": "results-content-html",
                "href_list": [
                    "http://data.oxylabs.io/v1/queries/7352996936896485377/results/1/content?type=raw"
                ],
                "method": "GET"
            },
            {
                "rel": "results-parsed",
                "href": "http://data.oxylabs.io/v1/queries/7352996936896485377/results?type=parsed",
                "method": "GET"
            },
            {
                "rel": "results-content-parsed",
                "href_list": [
                    "http://data.oxylabs.io/v1/queries/7352996936896485377/results/1/content?type=parsed"
                ],
                "method": "GET"
            }
        ]
    }
}

输出数据字典

HTML 示例

JSON 结构

结构化的 chatgpt 输出包含诸如以下字段 URL, 页面, 结果等。下表列出了我们解析的每个 ChatGPT 元素的详细清单,包括描述、数据类型和相关元数据。

特定结果类型的项目和字段数量可能会根据提交的提示而有所不同。

键 名称
说明
类型

url

ChatGPT 会话的 URL。

字符串

页面

页码。

整数

content

包含解析后 ChatGPT 响应数据的对象。

对象

content.prompt

提交给 ChatGPT 的原始提示。

字符串

content.llm_model

所使用的 ChatGPT 模型(例如:"gpt-4-o"、"gpt-3.5-turbo" 等)。

字符串

content.markdown_json

来自 ChatGPT 的完整响应 Markdown(以 JSON 格式)。

数组

content.markdown_text

来自 ChatGPT 的完整响应 Markdown 文本。

字符串

content.response_text

来自 ChatGPT 的完整响应文本。

字符串

content.citations

包含 URL 与文本的引用链接列表。

数组

content.links

响应中引用的外部链接列表。

数组

content.parse_status_code

解析操作的状态码。

整数

created_at

创建抓取任务的时间戳。

timestamp

updated_at

完成抓取任务的时间戳。

timestamp

job_id

与抓取任务关联的作业 ID。

字符串

geo_location

提交提示时所使用的代理位置。

字符串

status_code

抓取任务的状态码。您可以在此处查看爬虫状态码的说明 此处.

整数

parser_type

用于解析 HTML 内容的解析器类型。

字符串

最后更新于

这有帮助吗?