def get_scrapy_item_classes():
"""
Get a list of tuples containing (1) the class name and (2) the class for all of the Scrapy item
classes defined in the crawling module.
:return: A list of tuples containing (1) the class name and (2) the class for all of the Scrapy item
classes defined in the crawling module.
"""
import lib.inspection.web.crawling.item
import scrapy
return list(set(IntrospectionHelper.get_all_classes_of_type(
to_find=scrapy.Item,
path="lib/inspection/web/crawling",
)))
评论列表
文章目录