Skip to content Skip to sidebar Skip to footer

Scrapy: No Module Named Items, Scraping Images

I'm trying a example that use scrapy to download images form a web pages. This is the spider file: from scrapy import Spider, Item, Field, Request from items import TrousersItem cl

Solution 1:

You need to import items from your project package:

from yourproject.itemsimportTrousersItem

Assuming regular Scrapy project structure.

Post a Comment for "Scrapy: No Module Named Items, Scraping Images"