From bbe17fd511b5890fb4554447e23d666f6c13b745 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Wed, 15 Jan 2014 02:42:39 +0000 Subject: Add support for zipfiles! --- MAT/strippers.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'MAT/strippers.py') diff --git a/MAT/strippers.py b/MAT/strippers.py index 5fd4e08..aea98da 100644 --- a/MAT/strippers.py +++ b/MAT/strippers.py @@ -14,6 +14,8 @@ import subprocess STRIPPERS = { 'application/x-tar': archive.TarStripper, 'application/x-bzip2': archive.Bzip2Stripper, + 'application/x-gzip': archive.GzipStripper, + 'application/zip': archive.ZipStripper, 'audio/mpeg': audio.MpegAudioStripper, 'application/x-bittorrent': misc.TorrentStripper, 'application/opendocument': office.OpenDocumentStripper, -- cgit v1.3