Open Eradicate2968 opened 1 year ago
I have done "gallery -dl -K fanboxlink" to find that the text i need is in a category called "excerpt" but I do not know how to make my config fetch the "excerpt" as I am new to this.
Change "format"
to include excerpt
instead of content
.
You can't just copy-paste a post processor specific to kemono and expect it work for fanbox, at least not without changing anything site-specific.
For fanbox, text content can be in several different places, depending on post type and where the author put it. content
, html
, text
, and excerpt
(although that's just a short version of the whole thing) can all contain text. Maybe there's even more.
{
"name": "metadata",
"event": "post",
"filename": "{title}.txt",
"#": "write text content",
"format": [
"{content:?//}",
"{html:?//}",
"{text:?//}",
"{excerpt:?//}"
]
}
(:?//
at the end makes it not crash when a field is not defined)
Thank you its now grabbing the imgur links.
Is there also a way to grab the images from the imgur link from the fanbox post? Or do I have to input the imgur link into gallery-dl?
You have to (manually) input them into gallery-dl, I'm afraid,
or you use r:file//...
like in https://github.com/mikf/gallery-dl/issues/3743#issuecomment-1460007721 to have gdl fetch URLs from a text file.
This is my config for Fanbox. There is an imgur link on every fanbox post but the text file will always say "None" whereas it should have the imgur link.
I have tried changing the "postprocessor" section to what I use for Kemono to get the error
I have done "gallery -dl -K fanboxlink" to find that the text i need is in a category called "excerpt" but I do not know how to make my config fetch the "excerpt" as I am new to this.
Any help would be appreciated.