Tomer Ben Ezra
Tomer Ben Ezra
Hey, we use it to generate many small screenshots. Basically small HTMLs to JPEGs. The problem is that we have high volumes. We found puppeteer-cluster and with the right configuration,...
Here is our configuration for puppeteer-cluster which works very well: ``` { concurrency: Cluster.CONCURRENCY_CONTEXT, maxConcurrency: 10, puppeteerOptions: {args: ['--no-sandbox', '--headless', '--disable-gpu']} } ``` We don't see any memory leak from...
@luckydonald Is it possible to use inline bots such as @bold bot with this API?
Was this ever handled? Is there a work around that will cause the memory to go down?
Thanks @dcohenb , How should i define the path to the fonts which are locally in the project?
what about using "file://"? It worked great with the ``
I had local images i wanted to show in the HTML, the server is listening to 1 specific URL and nothing else, therefore using "http://localhost...." like you offered is not...
Nope, Believe it or not its possible :) Since its not public yet, i can't elaborate at the moment.
so how do you suggest i tell Phantom/webShot to use a local image/font inside my HTML String?
Hey @dcohenb , I tried your approach: ``` @font-face { font-family: MyFont; src: url('http://localhsot:3000/assets/fonts/MyFont.otf'); } .cls { font-family: MyFont; } My awesome font! ``` But it didn't work. I verified...