Fermé

PERL Script + JavaScript: Replace PhantomJS with a Current Headless Browser

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.

Compétences : JavaScript, Perl, Architecture Logicielle, MySQL, Linux

En voir plus : perl script extract javascript html, javascript chech perl script finished, javascript check perl script finished, javascript replace script tag php, perl script html replace, perl script sample replace, perl script replace sections html, perl script replace file, perl script replace number, javascript return data perl script, perl script linux find replace string, perl script replace tags, perl strip javascript script tags, php headless browser javascript, phantomjs headless browser, headless browser phantomjs, write a small script using phantomjs headless browser

Concernant l'employeur :
( 12 commentaires ) Orange, Thailand

Nº du projet : #30598986

11 freelances font une offre moyenne de 504 $ pour ce travail

techplusintl

Hi there, ★★★ PERL / JavaScript Expert ★★★ 8+ Years of Experience ★★★ I've read requirements and ready to replace PhantomJS with a Current Headless Browser. What we can do for you: ✔️ Add features in existing app. ✔️ Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 7 jours
(138 Commentaires)
7.5
dslc

I have examined both your Perl script and the PhantomJS script. Would you consider using Chrome Headless? As far as I know Chrome supports the 'WeakMap' feature you refer to. I have experience with Perl, DBI and Li Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 7 jours
(15 Commentaires)
6.4
rnawaz

Hi there, I have gone over your project and found it very interesting. I am experienced in Perl and JavaScript both so please get in touch with quick solution. Best regards Rab

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 7 jours
(28 Commentaires)
5.7
nizamfarhas

Hello! I have just read your project PERL Script + JavaScript: Replace PhantomJS with a Current Headless Browser and very interested in it. I am a web expert who well skilled for this project and skills Perl, Softwa Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 3 jours
(12 Commentaires)
5.1
spx2

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

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 7 jours
(3 Commentaires)
3.4
marcopinero3

Grreetings. I have read your scripts. I understand you have a list of web page to save screenshot of page into pdf and then send it to each target email. I think we can work on this. Let me know if I can help with this Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 7 jours
(2 Commentaires)
2.7
normanburtonfree

Dear client I've just checked your requirements carefully. I am a senior full-stack developer with rich development experience. This is my last experiences: -Knowledge of CMS concepts like Wordpress , Magento ,Shopify, Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 7 jours
(2 Commentaires)
2.6
programming2482

Hi, I am expert Perl, C and C++ programmer on software side. I have expertise of both Linux and windows development in Perl, C and C++ and have developed back ends using MSSQL, MySQL, PostgreSQL. I have the knowledge Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 30 jours
(3 Commentaires)
1.8
dealzdekho

Hello, I have just gone through your requirement which is mentioned in your project (PERL Script + JavaScript: Replace PhantomJS with a Current Headless Browser) and would like to work on your project. I have fully und Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(2 Commentaires)
0.0
Allexparteam

?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???

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 5 jours
(0 Commentaires)
0.0
ethedford

I have many years experience in Perl, MySQL and many flavors of Linux. After reviewing your script I can see how I can either replace with NightmareJS or use another option without modifying much of your existing Perl Plus

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 7 jours
(0 Commentaires)
0.0