(use_closest=True)
return cfg
Get Scrapy config file as a ConfigParser
Get Scrapy config file as a ConfigParser
Get Scrapy config file as a ConfigParser
def get_config(use_closest=True):
    """Get Scrapy config file as a ConfigParser"""
    sources = get_sources(use_closest)
    cfg = ConfigParser()
    cfg.read(sources)
    return cfg
def get_config ( use_closest = True ) : sources = get_sources ( use_closest ) cfg = ConfigParser ( ) cfg . read ( sources ) return cfg