Saturday 20 May 2017

Interpreting Error Code -102 Nightmare.js Scraping

I'm just getting started with Nightmare.js. I'm building off of their demo, which targeted duckduckgo.com and worked beautifully. I set my sights on imdb.com and got . . .

{ message: 'navigation error',
  code: -102,
  details: 'ERR_CONNECTION_REFUSED',
  url: 'https://imdb.com/' } 

My questions are 1) whether or not this came up because imdb.com knew it was being scraped or some other reason and 2) is it a Nightmare thing, a Node.js thing, or an Electron thing? I've tried googling about for the specific code and gotten very nonspecific answers. Any thoughts?



via Ryan

No comments:

Post a Comment