From 036304088427dc2d6e7f8e85270628e9db4096b4 Mon Sep 17 00:00:00 2001 From: Pablo Hoffman Date: Mon, 24 Aug 2009 13:56:44 -0300 Subject: [PATCH] doc: added FAQ entry about Accept-Language --- docs/faq.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/faq.rst b/docs/faq.rst index cf8a41836..e3bda2e3c 100644 --- a/docs/faq.rst +++ b/docs/faq.rst @@ -86,3 +86,10 @@ Can I use Basic HTTP Authentication in my spiders? Yes, see :class:`~scrapy.contrib.downloadermiddleware.httpauth.HttpAuthMiddleware`. +Why does Scrapy download pages in English instead of my native language? +------------------------------------------------------------------------ + +Try changing the default `Accept-Language`_ request header by overriding the +:setting:`DEFAULT_REQUEST_HEADERS` setting. + +.. _Accept-Language: http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.4