JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #21  
Old 02.12.2017, 22:59
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 15,929
Default

I give up, going in circles.

JD already supports the feature you want, you need to format it yourself before (as stated numerous times) adding the link to clipboard or JD via other means (apis). It will adopt the filename you want via that means. Do this via external program or manually yourself.

thread closed

raztoki
__________________
raztoki @ jDownloader reporter/developer
http://svn.jdownloader.org/users/170

Don't fight the system, use it to your advantage. :]
Reply With Quote
  #22  
Old 04.12.2017, 14:21
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 58,365
Default

Quote:
Originally Posted by Mistery View Post
Thank you for the info of the direct link i will try it for some cases.
But here, as i said, there is no schema since the names are specified case by case.
That's why i propose to create a special file containing the names that must be assigned to the files found.
This is even more for when the links are not supported by jd2 and therefore without a real name ;-)
Did you even try what we suggested?
It works perfectly fine. And does exactly what you want.
You add an link in format url#name=xy and JDOwnloader will assign xy to that url.
The exact same as adding url and then assign xy via any manual provided file. In both cases you have to edit a file/provide the filenames
__________________
JD-Dev & Server-Admin
Reply With Quote
  #23  
Old 05.12.2017, 22:26
Mistery Mistery is offline
JD VIP
 
Join Date: Aug 2015
Posts: 322
Default

Hello

Yes, i tried it and thank you very much, it works well

I take advantage that you reopened the topic to apologize :-/
I did not understand what you were explaining to me
Sorry for making you waste your time

Thanks again
Reply With Quote
  #24  
Old 06.12.2017, 10:17
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 58,365
Default

Thanks for the feedback! Please know that you can do so much more that way. You could also assign priority, different folder, packagenames ....
You did not *waste* our time when you finally got it working!
__________________
JD-Dev & Server-Admin
Reply With Quote
  #25  
Old 06.12.2017, 20:02
Mistery Mistery is offline
JD VIP
 
Join Date: Aug 2015
Posts: 322
Default

Thanks a lot :-)
Mgpai taught me a lot for that and more !
You talk about wildcards, it's actually very practical, but you also talk about priorities, how do you do with this technique ?
Reply With Quote
  #26  
Old 07.12.2017, 09:55
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 58,365
Default

Better tell us what you want to achieve and we answer how/if it can be done
__________________
JD-Dev & Server-Admin
Reply With Quote
  #27  
Old 07.12.2017, 14:13
Mistery Mistery is offline
JD VIP
 
Join Date: Aug 2015
Posts: 322
Default

Nothing special, it's just to learn
In general I understood how to do but to manage the priority via this technical I would like to know ;-)
Reply With Quote
  #28  
Old 07.12.2017, 15:10
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 58,365
Default

You could add additional information in URL for example
#priority=HIGH&name=name
then you can check for sourceURLs contains #priority=HIGH
In that case you've got to update the existing rule for name parsing as well.

You can do a lot, too many to provide examples for all of them
__________________
JD-Dev & Server-Admin
Reply With Quote
  #29  
Old 07.12.2017, 20:22
Mistery Mistery is offline
JD VIP
 
Join Date: Aug 2015
Posts: 322
Default

Ok thank you

No problem, I just wanted an example for this particular case ...
Is there a tutorial or a list of these cases?

Last edited by Mistery; 11.12.2017 at 16:16. Reason: add a question
Reply With Quote
  #30  
Old 23.01.2018, 03:30
Program Program is offline
Baby Loader
 
Join Date: Jan 2018
Posts: 6
Default

Quote:
Originally Posted by Jiaz View Post
Example link
Code:
https://board.jdownloader.org/Nothing.zip#name=Yeah.zip
https://board.jdownloader.org/Nothing2.zip#name=Yeah2.zip
https://board.jdownloader.org/Nothing3.zip#name=Yeah3.zip
instead of
Code:
Yeah.zip:::https://board.jdownloader.org/Nothing.zip
Yeah2.zip:::https://board.jdownloader.org/Nothing2.zip
Yeah3.zip:::https://board.jdownloader.org/Nothing3.zip
ALWAYS JUST ONE SINGLE RULE
Packagizer Rule
Code:
SourceURL contains
.*#name=(.+)
enable regex checkbox

then set
filename to <jd:source:1>
Dear, good!
I try here and works with one rule, i try with two, and dont works,
like this

**External links are only visible to Supporters****External links are only visible to Supporters**


Code:
PakageName contains
.*#pkg=()
enable regex checkbox

SourceURL contains
.*#name=(.+)
enable regex checkbox

then set
Download Directory <jd:packagename>

filename to <jd:source:1>
I try many possibilities and none works.
Anyone can help me?
Reply With Quote
  #31  
Old 23.01.2018, 12:24
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 58,365
Default

Works fine for me! You've got to enable the regex checkbox!
Please show screenshot of your rule
__________________
JD-Dev & Server-Admin
Reply With Quote
  #32  
Old 24.01.2018, 18:47
Program Program is offline
Baby Loader
 
Join Date: Jan 2018
Posts: 6
Default Two rules at the same time in same link (packagename/folder and filename)

Quote:
Originally Posted by Jiaz View Post
Works fine for me! You've got to enable the regex checkbox!
Please show screenshot of your rule
Hello, thanks for the willingness to help, surely this may be the doubt of many others, I have done a lot of research and found no reference, I believe it will be a new orientation on the use of two rules of packagizer at the same time.

**External links are only visible to Supporters****External links are only visible to Supporters**

I want the package name be "SubjX" and the filename be "class 06 - When.mp4"

And in another link example:

**External links are only visible to Supporters****External links are only visible to Supporters**

I want the package name be "Auql" and the filename be "class 07 - Who.mp4"

So I try many ways use two rules at the same time in the same link, see the prints attached.


https://drive.google.com/open?id=1wd...A2-T8bskXvGbAo

https://drive.google.com/open?id=1Su...77I2wisIeV720V

https://drive.google.com/open?id=12T...nl1uXqCSctkasB

https://drive.google.com/open?id=18Z...JFadU9Tkocg0nJ

Thanks in advanced

Last edited by Program; 24.01.2018 at 19:09.
Reply With Quote
  #33  
Old 25.01.2018, 19:01
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 58,365
Default

sourceURL contains, enable regex
Code:
.*#pkg=(.*?)#name=(.+)
__________________
JD-Dev & Server-Admin
Reply With Quote
  #34  
Old 25.01.2018, 19:37
Program Program is offline
Baby Loader
 
Join Date: Jan 2018
Posts: 6
Default Two rules at same time works

Quote:
Originally Posted by Jiaz View Post
sourceURL contains, enable regex
Code:
.*#pkg=(.*?)#name=(.+)
Dear Jiaz,

All works ok now! Thanks!

If another users want try, just do this:
after the link put: #pkg=asdf#name=fdsa.mp4

In Jdownloader, put the suggestion of Jiaz:

Sourceurl's contains:
.*#pkg=(.*?)#name=(.+)
enable checkbox.

in ...then set package name:
<jd:source:1>

in ...then set Filename:
<jd:source:2>
Reply With Quote
  #35  
Old 26.01.2018, 08:48
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 58,365
Default

You're welcome!
__________________
JD-Dev & Server-Admin
Reply With Quote
  #36  
Old 15.04.2018, 21:33
Mistery Mistery is offline
JD VIP
 
Join Date: Aug 2015
Posts: 322
Default

Hello

i have a little problem:
if i scan this, example url **External links are only visible to Supporters****External links are only visible to Supporters** work fine
but if i scan (with name rule...) **External links are only visible to Supporters****External links are only visible to Supporters** don't work

Can you help me please ?
Reply With Quote
  #37  
Old 16.04.2018, 14:29
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 58,365
Default

will be fixed with next update
__________________
JD-Dev & Server-Admin
Reply With Quote
  #38  
Old 16.04.2018, 16:16
Mistery Mistery is offline
JD VIP
 
Join Date: Aug 2015
Posts: 322
Default

Thank you !
Reply With Quote
  #39  
Old 16.04.2018, 16:17
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 58,365
Default

You're welcome
__________________
JD-Dev & Server-Admin
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 23:23.
Provided By AppWork GmbH | Privacy | Imprint
Parts of the Design are used from Kirsch designed by Andrew & Austin
Powered by vBulletin® Version 3.8.10 Beta 1
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.