Skip to content

Commit

Permalink
[docs] add parent>child example (mikf#4621)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikf committed Jan 2, 2024
1 parent 9fa4f54 commit ee65f3d
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions docs/gallery-dl-example.conf
Original file line number Diff line number Diff line change
Expand Up @@ -176,16 +176,15 @@

"imgur":
{
"#": "use different directory and filename formats when coming from a reddit post",
"directory":
{
"'_reddit' in locals()": []
},
"filename":
{
"'_reddit' in locals()": "{_reddit[id]} {id}.{extension}",
"" : "{id}.{extension}"
}
"#": "general imgur settings",
"filename": "{id}.{extension}"
},

"reddit>imgur":
{
"#": "special settings for imgur URLs found in reddit posts",
"directory": [],
"filename": "{_reddit[id]} {_reddit[title]} {id}.{extension}"
},

"tumblr":
Expand Down

0 comments on commit ee65f3d

Please sign in to comment.