Skip to main content
You are viewing the v1 (legacy) documentation. In v2, Markdownify has been replaced by scrape() with output_format="markdown". See the v2 documentation.

Overview

Markdownify converts any webpage into clean, formatted markdown.

Usage

from scrapegraph_py import Client

client = Client(api_key="your-api-key")

response = client.markdownify(
    website_url="https://example.com"
)

Parameters

ParameterTypeRequiredDescription
website_urlstringYesThe URL of the webpage to convert
wait_msnumberNoPage load wait time in ms
stealthbooleanNoEnable anti-detection mode
country_codestringNoProxy routing country code