Tip

To add Scrapy settings to a project, define them in your Scrapy Cloud project settings or add them to your settings.py file.

settings.py
MY_SETTING = ...

To add settings to a spider, define them in your Scrapy Cloud spider-specific settings (open a spider in Scrapy Cloud and select the Settings tab) or add it to your spider code with the update_settings method or the custom_settings class variable:

spiders/myspider.py
class MySpider:
    custom_settings = {
        "MY_SETTING": ...,
    }