Have ideas to improve npm?Join in the discussion! »

bast

1.0.1 • Public • Published

bast

Bitcoin Address Scraping Tool

Build Status Greenkeeper badge

Install

$ npm install -g bast

Usage

Simple tool based on jsdom. Takes two arguments on command line; a url and a selector string and outputs bitcoin addresses to stdout. For example:

$ bast 'http://bitkoinmama.com/2014/03/07/pierwsza-bitmonetka-milibits-giveaway/#comments'
'#comments > ol.comment-list > li.comment > article.comment-body > div.comment-content > p'

Gives the following output:

1GhbjNiuCJnAFQamvdGhzbEzjZAPpCs1Dd
1v7CxKCYwmXrrJF7nL1pFEnbGGzD5mbSt
1Ej7uZMxvoyy8g1zvQGmZrJZU4jDsHEcGH
.
.
1GoRE1oP6htfWjRNfx1w2x9oGyD3Q2rkBH
1ChsdvfgSsfkUruNSjBWNSauncVFXCAMqH
1L47E1wYYdvw2PE9a2D33NPxTYaSAXLaER

License

MIT

Install

npm i bast

DownloadsWeekly Downloads

5

Version

1.0.1

License

MIT

Unpacked Size

3.72 kB

Total Files

5

Last publish

Collaborators

  • avatar