Closed MiMmmmiiii closed 7 months ago
This is expected behavior, since a post with multiple files will have those files all named the same thing, overwriting each other with that file name formatting.
You need to use index to avoid that, or another unique identifier like name or file name. Index is the best option to avoid this issue.
Give the following file format a go and you'll see what I mean: "{ref.postid}{ref.index}.{ref.extension}"
Here recently, my favorite is: '{ref.post_id}_{ref.post_title}_{ref.index}.{ref.extension}'
Also, sliglify, I accidentally added a l in there when writing the CLI, lol. It will normalize the text. Spaces become -, emoji's go away, punctuation marks go away. It gets rid of all the things the filesystem might complain about when writing out the filename.
I see! Will try use your recommendation! But sluglify or sliglify? I think it's a type error. Thanks a lot!
Let me know how it turned out for you! I'm closing this for now.
Oh it's okay now, but I am a little confusing why I see it on coomer as below:
and it sorted by name show in my disk as:
Isn't that 807097507_8 should be the first one?
So, that boils down to post files vs post attachments. I append files at the end and allow for the --no-files flag because for most patreon creators the files are a duplicate of one of the attachments as a preview and a lower res image at that.
I can swap that pretty easily to have files added to the beginning or even have a flag to swap to either.
I hadn't realized some content creators were putting unique images for the beginning of a set as a files item on the set.
Anything I can do to make it right maybe? lol
I downloaded someone by using <party coomer onlyfans userID --file-format "{ref.post_id}.{ref.extension}">, found missing many photos and the total file counting is 86, so I try to use the common command,
it all come back and the total file counting is 170,
but if I use this command the filename seem not sorting by post date,
is this a bug?
what command should I use if I want the file name sort by post date and keep downloading all files?
and what is the command <--sluglify> in the end used for?