New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

suck

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

suck

Simple crawler tree of patterns.

latest
Source
npmnpm
Version
0.0.7
Version published
Weekly downloads
7
133.33%
Maintainers
1
Weekly downloads
 
Created
Source

Suck

Get the tree of anchors based into an pattern.

Installation

[sudo] npm install -g suck

Usage

Target

suck -t [host] // the address of place you get extract

List of Patterns

suck -t [host] -l [pattern] // list of patterns, who you need to extract

Output

suck -t [host] -l [pattern] -o [filename] // the json has a array structure

Errors

// erro.json has the information of the process `[todo:improve-errors]`

Limit

suck -t [host] -l [pattern] -o [filename] -e [filename] -e [number] // number of times to turn back

Verbose

suck -t [host] -l [pattern] -o [filename] -e [filename] -e [number] -v // verbose mode, show the progress information

Example of usage

suck -t http://pt.wikipedia.org/wiki/El_Chavo_del_Ocho -l imdb -v -e 1 

Next

- Create the documentation of API

- Add RegExp support to match patterns

- Add ignore patterns support

- Cluster crawling

- Add Jug support


- Move the methods of `bin/index.js` to `lib/index.js`, to make more reusable. [ OK ]

Author and the license

Kaique da Silva <kaique.developer@gmail.com>, under <BSD-license>

Keywords

cli

FAQs

Package last updated on 15 Sep 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts