Skip to content

jamadam/WWW-Flatten

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

98 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WWW::Flatten

This software is considered to be alpha quality and isn't recommended for regular usage.

WWW::Flatten is a web crawling tool for freezing pages into standalone. I believe this works better than wget or "Saving as, complete" in browsers.

  • Covers assets beyond CSSs.
  • Publish-ready name of files.

INSTALLATION

$ cpanm WWW::Flatten

USAGE

wwwflatten command is available. You can brows out directory localy or upload it to web servers as is.

$ wwwflatten --basedir ./out/ http://github.com/

Or the following example generates mojolicious app at once.

$ wwwflatten --mojo-app --basedir ./out/ http://github.com/
$ ./out/myapp.pl daemon

Then you can see the archive in browser with port 3000

http://127.0.0.1:3000/

The app is also portable so it can be deployed to app servers.

See also Command line API

CLASS USAGE

This tool is powerd by a class based perl module included in the repository. With the module, you can easily make a custom ruling crawler for your demand.

See also WWW::Flatten API

REPOSITORY

https://github.com/jamadam/WWW-Flatten

SEE ALSO

https://github.com/jamadam/WWW-Crawler-Mojo

COPYRIGHT AND LICENSE

Copyright (c) jamadam

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

About

Flatten a web pages deeply and make it portable

Resources

Stars

Watchers

Forks

Packages

 
 
 

Languages