Mention the deprecation of TestSpider.

This commit is contained in:
Andrey Rakhmatullin 2025-04-25 20:16:26 +05:00
parent 095140f134
commit 4aba7e5f66
1 changed files with 5 additions and 0 deletions

View File

@ -149,6 +149,11 @@ Deprecations
If you need to use them in your tests or code, you can copy the code from Scrapy.
(:issue:`6696`)
- ``scrapy.utils.test.TestSpider`` is deprecated. If you need an empty spider
class you can use :class:`scrapy.utils.spider.DefaultSpider` or create your
own subclass of :class:`scrapy.Spider`.
(:issue:`6678`)
- ``scrapy.downloadermiddlewares.ajaxcrawl.AjaxCrawlMiddleware`` is
deprecated. It was disabled by default and isn't useful for most of the
existing websites.