john-hu / untitled

0 stars 0 forks source link

Unknown decode error #100

Closed john-hu closed 2 years ago

john-hu commented 2 years ago
2021-12-27 20:54:36 [peeler.general.spiders.general_result] INFO: site: Simply Recipes in en
2021-12-27 20:54:36 [peeler.scrapy_utils.spiders.generator_base] ERROR: Parse url, https://www.simplyrecipes.com/cooking_gluten_free/,  4 / 15, error: JSONDecodeError("Expecting ',' delimiter: line 1 column 601 (char 600)")
2021-12-27 20:54:36 [scrapy.core.scraper] ERROR: Spider error processing <GET https://www.simplyrecipes.com/cooking_gluten_free/> (referer: None)
john-hu commented 2 years ago

It's wrong data absolutely. We should handle this kind of error and mark as error.

It uses double quotes in a string without escape: for "creative recipes and cooking tips from an experienced gluten-free chef". After