(How) can I archieve that scrapy only downloads the header data of a website (for check purposes etc.)
I've tried to disable some download-middlewares but it doesn't seem to work.
(How) can I archieve that scrapy only downloads the header data of a website (for check purposes etc.)
I've tried to disable some download-middlewares but it doesn't seem to work.
Like @alexce said, you can issue HEAD Requests instead of the default GET:
UPDATE: If you want to use HEAD requests for your
start_urls
you will need to override the make_requests_from_url method: