scrachy.addons.try_import
- scrachy.addons.try_import(module_name: str, addon_name)[source]
Try importing a module by name and raise a
scrapy.exceptions.NotConfigured
error if it can’t be found.- Parameters:
module_name – The full path to the module.
addon_name – The name of the addon.