From 5862216bb1c4717b5f4eebe8c410ad8cef60c6d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A1n=20Chaves?= Date: Tue, 5 Nov 2024 19:55:28 +0100 Subject: [PATCH] Fix docs example --- docs/topics/autothrottle.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/topics/autothrottle.rst b/docs/topics/autothrottle.rst index fbfdd0647..9f9114e83 100644 --- a/docs/topics/autothrottle.rst +++ b/docs/topics/autothrottle.rst @@ -57,7 +57,7 @@ request metadata key to ``True``: .. code-block:: python - yield Request("https://example.com", meta={"dont_throttle": True}) + Request("https://example.com", meta={"dont_throttle": True}) Note, however, that AutoThrottle still determines the starting delay of every slot by setting the ``download_delay`` attribute on the running spider. You