там еще ниже есть про "The settings attribute is set in the base Spider class after the spider is initialized. If you want to use the settings before the initialization (e.g., in your spider’s init() method), you’ll need to override the from_crawler() method."