-
I have an extractor setup for FANBOX that I cannot get to go past a link that generates a filename that is longer than linux's maximum allowed file path size. I have tried manually editing the database file but even with all the entries present in the archive file it still attempts to write metadata and subsequently kills my program. Is there a way to get this link to be properly skipped? Extractor config: "fanbox":
{
"archive": "archive-fanbox.sqlite3",
"filename": "{num:>04}-{filename}.{extension}",
"directory": ["{creatorId}-{user[name]}", "{id}-{title}"],
"metadata": true,
"cookies":
{
"FANBOXSESSID": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
},
"postprocessors":
[{
"name": "metadata",
"event": "post",
"filename": "{title}.txt",
"#": "write text content",
"format": [
"{content:?//}",
"{html:?//}",
"{text:?//}",
"{excerpt:?//}"
]
}]
} Error:
As you can see, the file path is massive and I have no idea how to skip past metadata writing. And no editing the config to remove the postprocessor isn't really an option as I need this data for links that don't throw errors. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
You can limit the length of a metadata field like this:
|
Beta Was this translation helpful? Give feedback.
You can limit the length of a metadata field like this: