GithubHelp home page GithubHelp logo

lynxbot's Introduction

LynxBot README
===================

LynxBot is a bash library to help creating webbot beyond the lynx browser.
It parses and analyse the output of the lynx browser and send him commands.

(NB: you need the lynx browser to use LynxBot)


----- Installation -----

    $ ./configure && make
    # make install      (root right needed)


--------- Use ----------

In a first Terminal launch:
    $ lynxbot.sh [an url]

In a second Terminal, source the bash library and begin to play with its functions :
    $ source /usr/local/lib/lynxbot/init_lynxbot
    $ echo "$LB_Help_startlynxbot"
    $ LB_startlynxbot
    ...

IMPORTANT:
  To properly works, the 2 terminals should run in the same working directory.
  (removing such condition is a TODO)

Notes:

 * The bash completion will help you to list functions and help messages in this API:
   All function match "LB_*" pattern, while all help messages are in variable matching
   "LB_Help_*" pattern.

 * If you don't care about lynx output and want to run all in one script, you may use
   setsid. Example:
    $ setsid lynxbot.sh -useragent "My Mozilla, etc..." "http://example.com" </dev/null >&0 2>&0 &

 * The behaviour may depend on LINES and COLUMNS and change with such variables (which are unset when redirecting lynxbot.sh to /dev/null). A common mistake is to assume that first link is always selected after an LB_go_link, which is not always the case. To prevent this, always use LB_go_firstl to select the first link.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.