Updated code relying on deprecated module scrapy.settings with the newer
get_project_settings method.