[Feature Request] Capture multiple fields
Closed this issue · 2 comments
hkmaly commented
Would it be possible to capture multiple fields, that is for example set capture to filename,sourceurl and then match parts of both filename and sourceurl and combine them in target name?
If it's already possible, could it be documented with example?
Something like
filename: (.*)(:|_)large
sourceurl: https?://([^/]*)
capture: filename,sourceurl
into: :$2:-:$1:.:extension:
which would store cat_large.jpg from domain twitter.com as twitter.com-cat.jpg
gyng commented
Not at the moment, but would be a cool feature to have!
gyng commented
Released in v3.6.0.
capture: filename,sourceurl