Hi
I am a "newbi" testing out this cool program.
But i am having problems wrapping my mind around the Regular Expressions and naming of files.
My challenge: I want to use the reddit user template adding to it some expressions that give the following result.
by adding for example 100 URL's with reddit user links like https://www.reddit.com/user/UserName/
when running i would like to get one of two result (or even better both)
1. Pictures downloaded should be saved with a prefix of "UserName-" all in one folder
2. Pictures downloaded should be saved with a prefix of "UserName-" and saved in separate folders named "UserName-"
Any help, pointers or tutorials would be very much appreciated
"Thor the Viking"
Reddit template - Regular Expressions
-
- Site Admin
- Posts: 2084
- Joined: 02 Mar 2009, 17:02
Re: Reddit template - Regular Expressions
You can't do that right now. Sorry. Only fixed text prefixes are available.1. Pictures downloaded should be saved with a prefix of "UserName-" all in one folder
This one is easy. In the project properties select [Save -> Sub-folders] section, then open the [Expert] tab and check [Use target file parent URL Regular Expression] box and use the following expression:2. Pictures downloaded should be saved with a prefix of "UserName-" and saved in separate folders named "UserName-"
RE: reddit\.com/user/([^/\?#]+)
Result: [#1]