Skip to content

how to format a filenaming if/else option within a postprocessor? #4078

Answered by allendema
Jeddostotle7 asked this question in Q&A
Discussion options

You must be logged in to vote

metadata.filename expects a string not a dict.
https://github.com/mikf/gallery-dl/blob/master/docs/configuration.rst#metadatafilename

Create two PPs:

1: Filter retweet_id in locals() and use a string as filename.
2: FIlter retweet_id not in locals()and use a string as filename.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Jeddostotle7
Comment options

Answer selected by Jeddostotle7
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