


This package does not interfere with regular Scrapy workflows such as request scheduling or item processing. It can be used to handle pages that require JavaScript. To download files with Puppteer we can either the browser's fetch feature - which will download the file into a javascript variable - or find and click the download button which will download the file to the browser's save directory: // start puppeteerĬonst browser = await puppeteer.launch() Īwait page._nd('Page. Free software: MIT license (including the work distributed under the Apache 2.0 license) Documentation: Installation pyppeteer requires Python > 3. Pyppeteer integration for Scrapy This project provides a Scrapy Download Handler which performs requests using Pyppeteer.
