The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

wwwflatten - Command line interface to WWW::Flatten

SYNOPSIS

wwwflatten [options] <starting URL>

OPTIONS

    -b, --basedir       : output directory defalts to ./output
    -s, --target-single : set target uri to single page and assets
    -p, --target-path   : set target uri under path and assets
    -d, --depth         : max depth to crawl defaults to 10
    -r, --max-retry     : max re-try in case server is in-responsible defaults to 3
    -c, --max-conn      : max connection defaults to 1
    -ch, --max-conn-per-host : max connection per host defaults to 1
    -ma, --mojo-app     : output as a mojolicious application
    -ck, --cookie       : set cookie for every requests
    -v, --version       : print the version of dancer being used
    -h, --help          : print what you are currently reading

DESCRIPTION

WWW-Flatten flattens web pages recursively with assets. This crawling covers not only single page but also beyond the links.

EXAMPLE

    wwwflatten http://github.com/
    wwwflatten --depth=2 -max-conn=4 http://example.com/
    wwwflatten --target-single http://example.com/only-this-page.html
    wwwflatten --target-path http://example.com/under-this-path/
    wwwflatten --mojo-app http://example.com/

SEE ALSO