def _get_spider_loader(settings):
 if settings.get('SPIDER_MANAGER_CLASS'):
  warnings.warn('SPIDER_MANAGER_CLASS option is deprecated. Please use SPIDER_LOADER_CLASS.', category=ScrapyDeprecationWarning, stacklevel=2)
 cls_path = settings.get('SPIDER_MANAGER_CLASS', settings.get('SPIDER_LOADER_CLASS'))
 loader_cls = load_object(cls_path)
 try:
  verifyClass(ISpiderLoader, loader_cls)
 except DoesNotImplement:
  warnings.warn('SPIDER_LOADER_CLASS (previously named SPIDER_MANAGER_CLASS) does not fully implement scrapy.interfaces.ISpiderLoader interface. Please add all missing methods to avoid unexpected runtime errors.', category=ScrapyDeprecationWarning, stacklevel=2)
 return loader_cls.from_settings(settings.frozencopy())

def _get_spider_loader ( settings ) : if settings . get ( 'SPIDER_MANAGER_CLASS' ) : warnings . warn ( 'SPIDER_MANAGER_CLASS option is deprecated. Please use SPIDER_LOADER_CLASS.' , category = ScrapyDeprecationWarning , stacklevel = 2 ) cls_path = settings . get ( 'SPIDER_MANAGER_CLASS' , settings . get ( 'SPIDER_LOADER_CLASS' ) ) loader_cls = load_object ( cls_path ) try : verifyClass ( ISpiderLoader , loader_cls ) except DoesNotImplement : warnings . warn ( 'SPIDER_LOADER_CLASS (previously named SPIDER_MANAGER_CLASS) does not fully implement scrapy.interfaces.ISpiderLoader interface. Please add all missing methods to avoid unexpected runtime errors.' , category = ScrapyDeprecationWarning , stacklevel = 2 ) return loader_cls . from_settings ( settings . frozencopy ( ) )
get spiderloader instance from settings .