网页抓取 API 可以返回 Markdown 格式的响应
# update 'TOKEN VALUE' with your authorization token curl --request 'POST' \ --url 'https://scraper-api.decodo.com/v2/scrape' \ --header 'Accept: application/json' \ --header 'Authorization: Basic TOKEN VALUE' \ --header 'Content-Type: application/json' \ --data ' { "url": "https://dummyjson.com/", "headless": "html", "markdown": true } '
# Example Domain\\n\\nThis domain is for use in illustrative examples in documents. You may use this\\ndomain in literature without prior coordination or asking for permission.\\n\\n[More information...](https://www.iana.org/domains/example)
此页面对您有帮助吗?