Skip to content

Regarding Patreon extractor: Do attachments with the same filename as post images take priority? #1935

Answered by mikf
JessiAuro asked this question in Q&A
Discussion options

You must be logged in to vote

The order in which files are returned is images, attachments, postfile, content. There is currently no option to change that, i.e. it's hardcoded that way:

self._images(post),
self._attachments(post),
self._postfile(post),
self._content(post),

So no, attachments are only second, but they do appear before the main postfile.

Each file has a hash that can be used to distinguish between files with the same filename, as well as a type and enumeration index (num).

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@JessiAuro
Comment options

@mikf
Comment options

@JessiAuro
Comment options

Answer selected by JessiAuro
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants