Skip to content

Commit

Permalink
v0.0.3302
Browse files Browse the repository at this point in the history
  • Loading branch information
sanzenwin committed Feb 19, 2024
1 parent 9bbd6b9 commit cc852b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scrapy_playwright/handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -380,8 +380,8 @@ async def _download_request(self, request: Request, spider: Spider) -> Response:
"spider": spider,
"context_name": context_name,
"scrapy_request_url": request.url,
"scrapy_request_method": request.method
}
"scrapy_request_method": request.method,
},
)
await page.close()
self.stats.inc_value("playwright/page_count/closed")
Expand Down

0 comments on commit cc852b5

Please sign in to comment.