plugins

Home

Plugins

GitHub

Blog

ld-fetch-word

version: 0.0.11 |  date: 06/27/2021 |  Fetch phrases from longman |  source code

# ld-fetch-word

Fetch phrases from longman


# INSTALL

  s6 --install ld-fetch-word

# USAGE

    # grasp phrases for word "set in", store the content into /tmp/out.txt file
    # sleep 2 seconds, before making request
  
    $ s6 --plg-run ld-fetch-word@word=set-in,out=/tmp/out.txt,sleep=2

# Parameters

## word

Word to fetch.

## out

Where to write fetched phrases, default vaule is `/dev/null`

## sleep

Sleep `sleep` second before making http request.

## cache

Path to cache directory. If cache exists the plugin quits quirky doing nothing.

    ,cache=/tmp/cache-dir/

# Author

Alexey Melezhik