Skip to content
This repository has been archived by the owner on Jan 1, 2023. It is now read-only.

Help with download pdf from a website #165

Open
sebastienextrabat opened this issue Feb 9, 2022 · 0 comments
Open

Help with download pdf from a website #165

sebastienextrabat opened this issue Feb 9, 2022 · 0 comments

Comments

@sebastienextrabat
Copy link

Hello :)

I need to download from a website a pdf file (inside a link like : pdf

It seems I can do it with pupeteer :

const page = await browser.newPage();
await page._client.send('Page.setDownloadBehavior', {
behavior: 'allow', downloadPath: path});

But I have no idea how to do with puphpeteer ?

Thank you,
Sebastien

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant