Commit 3ffb681c authored by Volker Krause's avatar Volker Krause
Browse files

Adapt a few more extractor filters to the new mimetype-based format

parent 5af357d5
......@@ -45,7 +45,7 @@
"filter": [
{
"match": "^2200",
"type": "Barcode",
"mimeType": "application/octet-stream",
"scope": "Descendants"
}
],
......
......@@ -2,7 +2,7 @@
{
"mimeType": "application/pdf",
"filter": [
{ "type": "Barcode", "match": "^ \\x{14}", "scope": "Descendants" }
{ "mimeType": "application/octet-stream", "match": "^ \\x{14}", "scope": "Descendants" }
],
"script": "trenitalia.js",
"function": "parsePdf"
......
......@@ -2,7 +2,7 @@
"filter": [
{
"match": "^\\x{10}",
"type": "Barcode",
"mimeType": "application/octet-stream",
"scope": "Descendants"
}
],
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment