Skip to content

Cannot get response headers #220

Closed
Closed
@ejkitchen

Description

When I do this

result = await crawler.arun(url=url, bypass_cache=False)

result.response_headers is always {}

It appears here:
62 async def arun(
....
131: crawl_result.response_headers = async_response.response_headers if async_response else {}

It appears that async_response is always None. Is there a way to get the headers? Am I missing a flag? I have never been able to get the headers and this is baffling to me.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions