From 3ad7d29fa96e2ff5acb3b94df32a1067f0dbe096 Mon Sep 17 00:00:00 2001 From: Adrian Chaves Date: Wed, 5 Aug 2026 06:43:19 +0200 Subject: [PATCH] Fix docs-tests --- docs/topics/download-handlers.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/topics/download-handlers.rst b/docs/topics/download-handlers.rst index a160f1ee6..a271d6204 100644 --- a/docs/topics/download-handlers.rst +++ b/docs/topics/download-handlers.rst @@ -60,6 +60,10 @@ for them through the :reqmeta:`download_handler` metadata key: "playwright": "scrapy_playwright.handler.ScrapyPlaywrightDownloadHandler", } +.. invisible-code-block: python + + from scrapy import Request + .. code-block:: python Request("https://example.com", meta={"download_handler": "playwright"})