strawpoll-bots-alekrabbe

1.1.4 • Public • Published

strawpoll-bots

A npm package for botting polls on strawpoll.me

Features (Watch 'test' folder)

  • Works on IP Limitation Checking polls (with socks proxies)
  • Works on No Limitation Checking polls
  • Doesn't works with polls that have captcha protection

Installation

npm i strawpoll-bots | yarn add strawpoll-bots

Parameters (Options) (Watch 'test' folder)

  • URL: Poll url (eg: http://www.strawpoll.me/15100511)
  • Option ID: For example 1st option id/value is 0 (starts from 0) then the 2nd option id/value is 1 etc...
  • Protection: Set it to true if the poll uses ip limitation checking and false if the poll have no limitation checking
  • SocksFilePath (only if 'protection' is true): Path to the socks list file
  • Amount (only if 'protection' is false): Amount approx of the votes to the poll

Usage

IP Limitation Checking Example

const botPoll = require('strawpoll-bots').default;
const { join } = require('path');
 
// Args: (url, optionID, protection, socksFilePath, amount)
botPoll('http://www.strawpoll.me/15100511', 1, true, join(__dirname, 'socks.txt'));

No Limitation Checking Example

const botPoll = require('strawpoll-bots').default;
 
// Args: (url, optionID, protection, socksFilePath, amount)
botPoll('http://www.strawpoll.me/15100521', 1, false, null, 5000)

License

MIT license

Package Sidebar

Install

npm i strawpoll-bots-alekrabbe

Weekly Downloads

5

Version

1.1.4

License

MIT

Unpacked Size

145 kB

Total Files

20

Last publish

Collaborators

  • alekrabbe