from scrapy.utils.project import get_project_settings
settings = get_project_settings()
user_agents = settings['USER_AGENTS']
from scrapy.utils.project import get_project_settings
settings = get_project_settings()
user_agents = settings['USER_AGENTS']