Help on dumping har file with filtering content-type

Hey everyone!
I want to export har file with these filters
just ignore the all the images, videos, streams
so currently I am running the mitmdump like this:
mitmdump -p 8080 -w ./dump.har -s ./ --set hardump=./dump.har ‘!(~t “( application/octet-stream | image* | video*)”)’
but I went through the har file the large videos contents are there.
can anyone point me what im missing here?