Contents · Overview

Contents

Render and extract clean text from any public URL — the same pipeline that powers our Search results.

Endpoint

POSThttps://chat-api.you.com/contents

Output formats

  • markdown — main-content extraction in clean Markdown.
  • html — sanitized HTML with scripts stripped.
  • text — plain text body.

Example

Python
res = you.contents.fetch(url="https://example.com/article", format="markdown")
print(res.markdown)