Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@draganfilipovic/anketa

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@draganfilipovic/anketa

NodeJs script for totalpoll

  • 2.1.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
14
Maintainers
1
Weekly downloads
 
Created
Source

anketa

Headless browser nodejs script

Requirement

NodeJs v8+

Info

During first install additional time is needed in order to download Chromium. If you use it without install (with npx), Chromium will be downloaded each time.

If you see a lot of errors when opening a page:

ERROR: opening page ... 14

Page is probably broken, so there is no response. Please stop script manually:

CTRL + c

Install

npm i @draganfilipovic/anketa -g

Run

anketa ne -u https://vozdovac.rs/anketa

Usage (without install)

npx @draganfilipovic/anketa ne -u https://vozdovac.rs/anketa

How to use

Usage: anketa <vote> [options]

Options:

  -V, --version              output the version number
  -u, --url <url>            Page url (required)
  -v, --votes [votes]        Number of votes, default 12 (default: 12)
  -t, --timeout [timeout]    Time to wait after page load, default 10, in seconds (default: 10)
  -r, --response [response]  Time to wait for form response, default 10, in seconds (default: 10)
  -l, --limit [limit]        Limit number of browsers to open at once, default 10 (default: 10)
  -c, --cookie [cookie]      Name of the cookie, default `tpc_1539354118305` (default: "tpc_1539354118305")
  -h, --headless [headless]  is browser headless, default true (default: true)
  -h, --help                 output usage information

###The only required params are vote and -u <url>.

Keywords

FAQs

Package last updated on 23 Dec 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc