Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Scrapy Diagram GeneratorNew to Visual Studio Code? Get it now.
Scrapy Diagram Generator

Scrapy Diagram Generator

Scrapy Spider Flow Diagram (Mermaid)

|
3 installs
| (0) | Free
Generate Mermaid flowchart diagrams for Scrapy spiders using GitHub Copilot.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Scrapy Diagram Generator

Automatically generate Mermaid flowchart diagrams for your Scrapy spiders using GitHub Copilot.

Features

  • Open any Scrapy spider .py file
  • Right-click in the editor or on spider file and select Generate Scrapy Spider Visual
  • A diagram-<spider-name>.md file is created in the same folder, containing the full spider execution flow as a mermaid fenced code block
  • Visualize request-callback-parse chains, pagination loops, conditional branches, and item extraction at a glance

Requirements

  • GitHub Copilot must be installed and signed in
  • A Mermaid viewer extension is needed to render the diagram visually (search "Mermaid Preview" in the Extensions marketplace)

Usage

  1. Open a Scrapy spider Python file (or right-click it in the Explorer sidebar)
  2. Right-click anywhere in the editor and select Generate Scrapy Spider Visual (or use the Command Palette: Ctrl+Shift+P then type Generate Scrapy Spider Visual)
  3. A diagram-<spider-name>.md file is created and opened in the same folder as the spider

Viewing the Diagram

The generated .md file contains the flowchart inside a mermaid code block.

  • With a Mermaid viewer installed, the diagram renders automatically in the preview pane
  • Without a viewer, open the file and copy the mermaid code to any online Mermaid renderer

Release Notes

0.0.1

Initial release of Scrapy Diagram Generator.

Known Issues

  • Very large spiders may produce diagrams that need manual layout adjustments
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft