Skip to content

Scrapy, a fast high-level web crawling & scraping framework for Python.

Add the missing import to the docs example

Adrián Chavesb244ea7ac028
diff --git a/docs/topics/autothrottle.rst b/docs/topics/autothrottle.rst
index 9f9114e83..48d742f63 100644
--- a/docs/topics/autothrottle.rst
+++ b/docs/topics/autothrottle.rst
@@ -57,6 +57,8 @@ request metadata key to ``True``:
.. code-block:: python
+ from scrapy import Request
+
Request("https://example.com", meta={"dont_throttle": True})
Note, however, that AutoThrottle still determines the starting delay of every