I'm able to set an HTTP proxy just fine for NightmareJS but how do I specify the type (http/socks5/socks4)? Here's the code I use to set an HTTP proxy:  const nightmare = Nightmare({             show:true,             switches: {...
I can't seem to get nightmare.js to work on an Ubuntu Linux 14.04 server [via DigitalOcean].  I've installed PhantomJS (1.9.8) and Node (4.2.4), and they are working well as far as I can tell.   For example, when I run this:  phantomjs loadsp...
I'm attempting to scrape dynamic paging websites with Nightmare / Electron. I don't see a way to perform a do... until with nightmare functions OR a way to chain evaluate calls with logic.   Here's a simple code example that merely Google...
I'm trying to pass a variable to .evaluate so I can use them in the scope of the web page but I can't get it to work.  await nightmare.evaluate(function() {         let links = document.querySelectorAll('div.fsl a');         return Ar...
I am using NightmareJs for getting the pdf contents from an Amazon link. Because my link is secure so its ask for username and password for authentication.  Link1:     https://central.amazon.in/fp/reports/lab/17627.pdf?ie=UTF8&&requestID=1229...
I'm trying to scrape some informations from an instagram profile page with nightmarejs (a phantomjs derivate using electron as a browser).  The goal is to get the alt tags of all images on the profile (for examples sake I focus only on the images...
I wanted to know how can i click a button with nightmare with this attributes .  <a class="auth_button leftbtn" href="javascript:SubmitAuthCode( 'enter a friendly name here' );">         <h3>Submit</h3>...
I'm building a web crawler that will cover 200+ sites. The current code I have runs on top of an external JSON file I've built of a dozen sites. Sample:  [   {     "company": "My Company",     "url": "http://exampl...
I have this code:  nightmare   .goto('https://xxxdsfdx.com')   .type('#ap_email', '[email protected]')   .type('#ap_password', 'passsword')   .click('#signInSubmit')   .wait('#report-wrapper')   .c...
How to run nightmarejs by pm2 or something like that on the server, because nightmare use the electron and electron need graphic now i'm using xvfb-run npm start, but this sol° needs that i stay connected by ssh to the server have you any sugges...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.