py-streamhtmlparser is a Cython-based wrapper for the streamhtmlparser library. It is a core component of SwiperProxy and maintained by the same development team.

The wrapper itself is left as abstract as possible, and has been properly split off into a separate project, and thus can be used in other projects as desired.


After compiling streamhtmlparser, clone the repository to streamhtmlparser/src/py-streamhtmlparser. From this location, various streamhtmlparser source files are referenced.

Run git tag and checkout the latest release, then use make to compile, and make install to install to /usr/local/lib.

This will install the wrapper to python's dist-packages. Keep in mind that local dist-packages are often not included in the Python path on various distributions.

View source on GitHub