Skip to content

lxmx/PyPlucker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyPlucker

It's 2022 and you need a Palm!

This is an updated version of the Python based Plucker parser from the original repository. The parser downloads your favorite web pages or converts local files for the Plucker app.

Updates from the original parser:

  • Has been ported to Python 3
  • Some legacy bits have been removed: OS/2 support, non-working image parser versions
  • The default image parser is now based on Pillow which doesn't require any third-party dependencies and adds WebP support as a bonus.

Installation

pip install PyPlucker

Optionally, populate the example config file and home.html:

cp examples/pluckerrc ~/.pluckerrc
mkdir ~/.plucker
cp examples/home.html ~/.plucker/

Usage

plucker-build --bpp=4 --maxdepth=1 --doc-file=PythonCompileAllDoc -H https://docs.python.org/3/library/compileall.html

See ~/.pluckerrc for the options and parameters.

In Practice

Since it's been a while since Plucker's HTML processing and cleanup code was last updated, it's a good idea to run more complex pages through a modern Readability filter like percollate first. See examples/pluck.sh for a working script.

References

About

Web and document parser, converter and scraper for Plucker, the Palm OS app

Topics

Resources

License

Stars

Watchers

Forks

Languages