Skip to content

Consuming all (txt, png, html, odt, doc, docx ) but html #6700

Closed Answered by Masgalor
dmenne asked this question in Support
Discussion options

You must be logged in to vote

This is not a bug, it is wanted behavior.

Paperless only consumes documents that have a mime-type listed in one of its consumer declarations.

def mail_consumer_declaration(sender, **kwargs):
return {
"parser": get_parser,
"weight": 20,
"mime_types": {
"message/rfc822": ".eml",
},
}

def text_consumer_declaration(sender, **kwargs):
return {
"parser": get_parser,
"weight": 10,
"mime_types": {
"text/plain": ".txt",
"text/csv": ".csv",
"application/csv": ".csv",

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by stumpylog
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants