Available Commands
The Scrapling CLI offers the following main commands:Install
Install all Scrapling fetcher dependencies including Playwright browsers:-f,--force- Force reinstall all dependencies
Shell
Launch an interactive scraping console:-c,--code- Evaluate code in the shell, print result and exit-L,--loglevel- Set log level (debug, info, warning, error, critical, fatal)
Extract
Fetch web pages and extract content as HTML, Markdown, or text:get- Perform GET requestspost- Perform POST requestsput- Perform PUT requestsdelete- Perform DELETE requestsfetch- Use browser automation (DynamicFetcher)stealthy-fetch- Use stealth browser automation (StealthyFetcher)
MCP Server
Run Scrapling’s Model Context Protocol (MCP) server:--http- Use streamable-http transport instead of stdio--host- Host address (default: 0.0.0.0)--port- Port number (default: 8000)
Output Formats
All extract commands support multiple output formats based on file extension:.html- Raw HTML content.md- Markdown conversion of HTML.txt- Plain text content
Common Options
Most extract commands support these options:--headers,-H- HTTP headers in format “Key: Value”--cookies- Cookie string “name1=value1; name2=value2”--timeout- Request timeout in seconds/milliseconds--proxy- Proxy URL “http://username:password@host:port”--css-selector,-s- CSS selector for specific content--params,-p- Query parameters “key=value”
Next Steps
Interactive Shell
Learn about the interactive shell features
Extract Commands
Detailed guide on extract commands