Re:SlimerJS: a replacement for PhantomJS using recent Firefox
by deedubaya on Monday March 05, 2018 @07:07PM
(#16525790)
I built https://github.com/danielwestendorf/pdf-bot-pro a few days ago, a scalable 1-click heroku deploy rewrite of pdf-bot. It's fully functional, except I built the background queuing on Faktory, and there is not working Faktory add-on available for heroku yet (and thus, no real promotion of the project yet). You could set up a faktory server elsewhere and define the URL as an ENV var and it would work today.
[ Parent
| on HN ]
Re:SlimerJS: a replacement for PhantomJS using recent Firefox
by dchuk on Monday March 05, 2018 @07:47PM
(#16525981)
Nice thanks for the link. So if I'm understanding correctly, your app essentially runs as a standalone api, receiving pdf requests, queueing them, processing them, then hitting a specific webhook url on success for other systems to then query the pdf tool to get the resulting pdf.
This is approximately how I was thinking of settings thing up as well, so thanks for this!
Re:SlimerJS: a replacement for PhantomJS using recent Firefox
by deedubaya on Monday March 05, 2018 @08:37PM
(#16526215)
Yup, exactly.
Re:SlimerJS: a replacement for PhantomJS using recent Firefox
by africajam on Monday March 05, 2018 @10:46PM
(#16526719)
Nice, thanks for sharing! I built a simple scraper and I need to add background processing etc:
https://github.com/RealEstateWebTools/property_web_scraper
Will dig into your code to see what I can learn.