sockpuppet-liardeprecated

A Node.js framework for visitors simulation.

Usage no npm install needed!

<script type="module">
  import sockpuppetLiar from 'https://cdn.skypack.dev/sockpuppet-liar';
</script>

README

Sockpuppet Liar

A Node.js framework for visitors simulation.

Installation

Using yarn:

yarn add sockpuppet-liar

Using npm:

npm i sockpuppet-liar

Using cnpm:

cnpm i -S sockpuppet-liar

Usage

search.js

module.exports = async () => {
  await page.goto('https://www.baidu.com/')
  await page.keyboard.type('duang')
  await page.keyboard.press('Enter')
  await page.waitFor(2000)
}

package.json

{
  "scripts": {
    "search": "sockpuppet-liar search --duration 5 --daily-quota 5000"
  }
}