Skip to content
NodeJS tool to get data from site or API and concatenate to a file.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
test
.babelrc
.editorconfig
.gitignore Added dependency 📦 Jan 17, 2016
.jshintrc
.travis.yml Added travis-ci file Feb 10, 2016
LICENSE
README.md
package.json

README.md

Build Status

chupa-cabra

Javascript tool built in NodeJS to automatically get body's content from HTTP/HTTPS request and concatenate to a file.

Installing

npm install -g chupa-cabra 

How to use

Just run the chupa-cabra and when it asks for the URL you can:

1) Use an interval notation
https://www.google.com.br/search?q=test&start=[0,100,10]

It means from 0 to 100 incremented by 10. All the 10 pages will be dumped into a text file, in this case, as HTML.

http://api.example.com/resource?page=[0,1000,100]

In this case from 0 to 1000 incremented by 100. The JSON result will be appended into a txt file.

2) Or single URL
https://www.google.com

Gets the HTML content for just this page.

Todo: Check the issues!

You can’t perform that action at this time.