Skip to content

Commit

Permalink
Update middlewares.py
Browse files Browse the repository at this point in the history
  • Loading branch information
rennancl authored Feb 14, 2023
1 parent a97a2d7 commit 9dbeed2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scrapy_puppeteer/scrapy_puppeteer/middlewares.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ async def _process_request(self, request, spider):
self.browser = await launch({
'executablePath': chromium_executable(),
'headless': True,
'args': ['--no-sandbox'], # '--single-process', '--no-zygote',
'args': ['--no-sandbox', '--single-process', '--no-zygote'], # '--single-process', '--no-zygote',
'dumpio': True
})
await self.browser.newPage()
Expand Down

0 comments on commit 9dbeed2

Please sign in to comment.