Skip to content

Scrapy, a fast high-level web crawling & scraping framework for Python.

dont check guid in RobustScrapedItem.validate. Instead, raise NotImplemented.

molveyra6524def4b8e6
diff --git a/scrapy/contrib/item/models.py b/scrapy/contrib/item/models.py
index 9be21cc93..f172d808a 100644
--- a/scrapy/contrib/item/models.py
+++ b/scrapy/contrib/item/models.py
@@ -196,8 +196,7 @@ class RobustScrapedItem(ScrapedItem):
def validate(self):
"""Method used to validate item attributes data"""
- if not self.guid:
- raise ValidationError('A guid is required')
+ raise NotImplemented
@property
def version(self):