标签: scrapy python-3.5
是否可以在蜘蛛运行期间更改蜘蛛的设置?我试图改变它,但我收到了错误,例如:
In [4]: settings.set('SPIDER_MODULES', ['a']) TypeError: Trying to modify an immutable Settings object In [5]: settings.update('SPIDER_MODULES', ['a']) TypeError: Trying to modify an immutable Settings object