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 @@ ...@@ -45,7 +45,7 @@
"filter": [ "filter": [
{ {
"match": "^2200", "match": "^2200",
"type": "Barcode", "mimeType": "application/octet-stream",
"scope": "Descendants" "scope": "Descendants"
} }
], ],
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
{ {
"mimeType": "application/pdf", "mimeType": "application/pdf",
"filter": [ "filter": [
{ "type": "Barcode", "match": "^ \\x{14}", "scope": "Descendants" } { "mimeType": "application/octet-stream", "match": "^ \\x{14}", "scope": "Descendants" }
], ],
"script": "trenitalia.js", "script": "trenitalia.js",
"function": "parsePdf" "function": "parsePdf"
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
"filter": [ "filter": [
{ {
"match": "^\\x{10}", "match": "^\\x{10}",
"type": "Barcode", "mimeType": "application/octet-stream",
"scope": "Descendants" "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