Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 467 Bytes

README.md

File metadata and controls

21 lines (13 loc) · 467 Bytes

soupmonkey

Userscript manager (and collection) for ELinks powered by BeautifulSoup library.

Prerequisites

Your ELinks needs to be compiled with Python scripting support. To check, see elinks -version.

Installation

  1. Clone this repository into your ~/.elinks/ directory.

  2. Create ~/.elinks/hooks.py with following contents:

    import soupmonkey

    @soupmonkey.inject
    def pre_format_html_hook(url, html):
        return html