0.0.2 • Published 9 years ago
quickwiki v0.0.2
Scrapper for Wikipedia that can be used as CLI or module.
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