-
-
Notifications
You must be signed in to change notification settings - Fork 975
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[kemono] Add the additional field type
: attachment
, file
(a
, f
)
#1556
Comments
attachment
, file
(a
, f
)type
: attachment
, file
(a
, f
)
Technically there is also the type Based on API response a post can contain 1 "attachments": [],
"embed": {},
"file": {}, And technically a file, Please, add also Or is there a way to do it manually? In fact it's just UPD. There are UPD 2. Embed it an embed link (not a file) in Patreon's post: "embed": {
"description": "Watch this GIF by ... on Gfycat. Discover more GIFS online at Gfycat.",
"subject": "Create, Discover and Share GIFs on Gfycat",
"url": "https://gfycat.com/..."
}, |
|
For me it doesn't work |
@Skyofflad You need the pre-release/dev snapshot for this. |
I'm already using the latest executable.
There is no |
Yeah, there is no such property in |
It works fine for me with: "archive-format": "{service}_{user}_{type[0]}_{id}_{filename}.{extension}", (Do not forget to add using of As I said earlier, the current default
Since an attachment and a file with the same name within one post are considered as the same file while it can be not true. The same thing is with
It requires to add |
I have already posted about this problem here: #1514 (comment)
The resume
Currently the program has the unsafe behavior from the box.
For example:
Also the problem happens with using
--download-archive
option. Even you use{num}
as workaround for the example above.#1514 (comment)
The decision
Add the additional field
type
which can beattachment
orfile
.I think it makes sense to add the additional field
type
:attachment
,file
.And short aliases (
type-alias
):a
andf
to use them in filename.For example:
"{id}_{title}_{type-alias}_{filename}.{extension}"
or
"{id}_{title}_{filename}_{type-alias}.{extension}"
And the same change should be done with
--download-archive
. The DB entries shoud be now look so:"{type-alias}_{the_current_row_format}"
.So, if the entry has no
type-alias
prefix (it's the row that was created before this supposed update) it shoud be consided that it is a previewf
(file
), since they are placed before the original file with typea
(attachment
).With this change people that used
--download-archive
can just easily download only the missing files. No need to redownload all files.The text was updated successfully, but these errors were encountered: