Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Get "ParseError" with Scrapy

Most time scraper works normally, but sometimes I get

2014-08-28 11:02:27-0700 [aqicn] DEBUG: Retrying <GET http://site_address_com/> (failed 1 times): [<twisted.python.failure.Failure <class 'twisted.web._newclient.ParseError'>>]

I cannot understand why it happening. Who have same problem? May be it twisted bug? I try find something, but I got only partial official documentation.

like image 779
skhalymon Avatar asked Jul 11 '26 00:07

skhalymon


2 Answers

I think you are running into this bug. As you can see there is no official fix right now, just a monkey patch on the ticket.

like image 154
nramirezuy Avatar answered Jul 13 '26 14:07

nramirezuy


As were thinking @nramirezuy and @B.Mr.W scraper was banned on site. I use TOR and now I don't get this error. Thank you guys for help.

like image 43
skhalymon Avatar answered Jul 13 '26 15:07

skhalymon



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!