basabuuka_prototyp/venv/lib/python3.5/site-packages/scrapy/extension.py

16 lines
396 B
Python
Raw Normal View History

2020-08-16 19:36:44 +02:00
"""
The Extension Manager
See documentation in docs/topics/extensions.rst
"""
from scrapy.middleware import MiddlewareManager
from scrapy.utils.conf import build_component_list
class ExtensionManager(MiddlewareManager):
component_name = 'extension'
@classmethod
def _get_mwlist_from_settings(cls, settings):
return build_component_list(settings.getwithbase('EXTENSIONS'))