quickwiki

0.0.2 • Public • Published

Scrapper for Wikipedia that can be used as CLI or module.

Console example

Build Status

Usage

CLI

$ qw --help
 
  Usage: qw [names]
 
  Options:
 
    -h, --help            output usage information
    -V, --version         output the version number
    -i --input <path>     File with names
    -o --output <path>    Output file
    -s --server <server>  For example: en, ru, fr
 

Examples

qw github
# Will output same as on screenshot 
 
qw github -output result.txt
# Will save result to result.txt 
 
qw -i queries.txt
# Will take words separated by space and get info about each 

Module

var wiki = require('quickwiki');
 
wiki('github', { "server": "en" }, function(response) {
  console.log(response);
});

Dev

git clone https://github.com/G07cha/QuickWiki.git
npm install
npm test

License

MIT © Konstantin Azizov

Readme

Keywords

Package Sidebar

Install

npm i quickwiki

Weekly Downloads

2

Version

0.0.2

License

MIT

Last publish

Collaborators

  • g07cha