Skip to content

Conversation

@octylFractal
Copy link
Contributor

Fixes #4286

This allows access to the appropriate object for each file that contains information from Patreon about width, height, filename, etc.

For example, using --filter 'type == "image"' --print "\fF resolution: {url_metadata['metadata']['dimensions']['w']}x{url_metadata['metadata']['dimensions']['h']}\nfilename: {url_metadata['file_name']}\n\n" allows the proper output for the request in #4286.

This is not the same as using num - 1 to access this data, as that number will become useless when there are, for example, both images and attachments present.

@mikf mikf merged commit 685777e into mikf:master Nov 20, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[patreon] get per-image metadata

2 participants