rival-black•12mo ago
Save a webpage to a PDF file using Actor.setValue()
Hi, I'm new to PuppeteerCrawler. I'm trying to create a simple script to save a webpage as a PDF. For this purpose, I created a new Actor from the Crawlee - Puppeteer - TypeScript template in Apify. This is my main.ts code:
It seems that
Actor.setValue
doesn't want to consume the sent PDF buffer. What am I doing wrong?
Thanks
3 Replies
View post on community site
This post has been pushed to the community knowledgebase. Any replies in this thread will be synced to the community site.
Apify Community
Page.pdf() method | Puppeteer
Generates a PDF of the page with the print CSS media type.
rival-blackOP•12mo ago
Great, that works. Thanks