ValueError: Invalid control character

Posted over 7 years ago by ma

Post a topic
Answered

I seem to have an issue with a simple Sitemap scraper with extruct.

There should be some wordpress plugin that creates wrong jsonld so that scrapy crashes.

I checked stackoverflow, and apparently someone else has similar issues, but got no answer. 

Also the error from lxml isn't very clear, since response[802] doesn't show any risky char (new line , utf8 letters or \ / ' ).


Any Idea? 

ValueError: Invalid control character at: line 14 column 170 (char 802)

0 Votes

vaz

vaz posted over 7 years ago Best Answer

Hi ma,


seems a script issue. Unfortunately we don't provide coding assistance, but you can ask in reddit or Stack overflow using "scrapy" tag. Many of our best developers contribute there actively.


Best,


Pablo

0 Votes


1 Comments

vaz

vaz posted over 7 years ago Answer

Hi ma,


seems a script issue. Unfortunately we don't provide coding assistance, but you can ask in reddit or Stack overflow using "scrapy" tag. Many of our best developers contribute there actively.


Best,


Pablo

0 Votes

Login to post a comment