Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

scrapy access settings from spider

from scrapy.utils.project import get_project_settings

settings=get_project_settings()
print settings.get('NAME')
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #scrapy #access #settings #spider
ADD COMMENT
Topic
Name
3+6 =