Skip to content

⭐ Hack your 🙈 vote out of 📈 Polldaddy surveys - used by 💰 BBC, Microsoft, Forbes, Pfizer, IBM

License

Notifications You must be signed in to change notification settings

hmrbarros/pollmommy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⭐ Hack your 🙈 vote out of 📈 Polldaddy surveys - used by 💰 BBC, Microsoft, Forbes, Pfizer, IBM

JavaScript Style Guide Build Status Coverage Status Greenkeeper badge Version Downloads

Uses a headless browser to visit a poll website and inject JavaScript code to perform the desired poll voting.

Features

  • Uses Nightmare.js 😱 to generate legit traffic on the poll website ✅
  • Supports Bluebird 🐦 promises ✅

How to install

npm install pollmommy -g

How to use

Fetch the required parameters

Parameter How to get it
URL The poll's website URL, Polldaddy's poll website or the embedded poll website.
Poll id The Polldaddy's poll identifier, inspect the website HTML code and search for this pattern PDI_containerNUMBER - NUMBER will be the id.
Poll option id The Polldaddy's poll option identifier, pick the desired option and inspect the website HTML code and search for this pattern PDI_answerNUMBER - NUMBER will be the id.

Use it in your terminal

pollmommy http://bbc.co.uk/should-trump-be-fired.html 324345 12939

Use it in your app

const Pollmommy = require('pollmommy')
const pollmommy = new Pollmommy()

pollmommy.vote('http://bbc.co.uk/should-trump-be-fired.html', 324345, 12939)
  .then(() => console.log('Voted successfully!'))
  .catch((error) => console.error(error.message))

Used by

About

⭐ Hack your 🙈 vote out of 📈 Polldaddy surveys - used by 💰 BBC, Microsoft, Forbes, Pfizer, IBM

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%