diff --git a/docs/topics/spiders.rst b/docs/topics/spiders.rst index 5e69055d1..9e27614d8 100644 --- a/docs/topics/spiders.rst +++ b/docs/topics/spiders.rst @@ -80,6 +80,8 @@ scrapy.Spider allowed to crawl. Requests for URLs not belonging to the domain names specified in this list (or their subdomains) won't be followed if :class:`~scrapy.spidermiddlewares.offsite.OffsiteMiddleware` is enabled. + .. note:: If you are scraping an url ``https://www.example.com/1.html`` + you should add ``'example.com'`` to allowed_domains list. .. attribute:: start_urls