Spider returns page with unreadable source code.

Posted about 6 years ago by Artem M

Post a topic
Answered
A
Artem M

When i scrape this URL locally - it works all fine.

When i scrape it from SH - it returns unreadable source code.

How do I fix it?

image


0 Votes

nestor

nestor posted about 6 years ago Admin Best Answer

It's gzipped content. I can't reproduce it. If it works locally, make sure that your environment matches the one you deploy on Scrapy Cloud via stacks.

0 Votes


1 Comments

nestor

nestor posted about 6 years ago Admin Answer

It's gzipped content. I can't reproduce it. If it works locally, make sure that your environment matches the one you deploy on Scrapy Cloud via stacks.

0 Votes

Login to post a comment