dtrx-py / dtrx

Do The Right Extraction
GNU General Public License v3.0
224 stars 10 forks source link

Add brotli support #26

Closed noahp closed 2 years ago

noahp commented 2 years ago

Sub-task to enable extension list output, see #23.

Brotli is available on python3.x mimetype lists, but not python2.7, so to simplify the --list-extensions patch, add brotli support.

Requires a little bit of extra effort, because by default the brotli command line tool will decompress in the intput file directory, so instead explicitly set --output= when extracting.