I have a cron-based PERL script that in combination with MySQL and PhantomJS and a highly customized [login to view URL] file, does automated printing of web pages, with some added formatting (headers showing date, page#, URL, title) and saving them to PDF.
But on some jobs I get an error Error: ReferenceError: Can't find variable: WeakMap.
This error is basically due to PhantomJS being outdated and not being able to handle "WeakMap". After quite a bit of research on the matter, there appears to be no workaround other than switching from PhantomJS to a similar and more current tool.
This solution looked good, but there may be others:
"Ended up abandoning PhantomJS and implementing a new solution using NightmareJS and Electron in a headless environment with an optional Docker wrapper: [login to view URL]"
Whatever is selected, this is a PERL script, would prefer to keep it that way. And that everything is compatible with Linux (Ubuntu server most likely), MySQL, Cron.
11 freelancere byder i gennemsnit $504 timen for dette job
Hey, I'm interested to know more about your project You can find out more about my past Perl opensource contributions and work samples here [login to view URL] Best regards, Stefan
?I understand your work.? ??I can say with certainty I can do it,?? ⋆⋆⋆⋆⋆⋆You give me a message. I am dealing with all the requests with you⋆⋆⋆⋆⋆⋆ My name is Zahid? Good luck freelancer???