Skip to content

Commit

Permalink
Merge pull request #10047 from MPMG-DCC-UFMG/correcao-middleware
Browse files Browse the repository at this point in the history
Corrige middlewares.py do sistema legado
  • Loading branch information
rennancl authored Feb 16, 2023
2 parents a97a2d7 + 9dbeed2 commit 9f35eae
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 9f35eae

Please sign in to comment.