JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 15.06.2018, 17:17
Nice2MeetYou Nice2MeetYou is offline
DSL User
 
Join Date: Oct 2015
Posts: 36
Default How do I manually make a dlc?

I have a text file with links and package names. Is there any way to format it so that I can import it all automatically instead of renaming each package manually?
Reply With Quote
  #2  
Old 15.06.2018, 18:30
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 59,726
Default

So you just want to add many links without having to specify the package name yourself?
You can make use of the Packagizer and create a rule
you could eg form the url like this
url#package=Testname
and create a rule in Settings-Packagizer
-sourceURL contains .*#package=(.+)
enable the regex
-set package name to <jd:source:1>
__________________
JD-Dev & Server-Admin
Reply With Quote
  #3  
Old 15.06.2018, 18:31
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 59,726
Default

In case you mean something different or need further help, please report back
__________________
JD-Dev & Server-Admin
Reply With Quote
  #4  
Old 15.06.2018, 20:06
Nice2MeetYou Nice2MeetYou is offline
DSL User
 
Join Date: Oct 2015
Posts: 36
Default

Yes that's exactly what I wanted. Thank you
Reply With Quote
  #5  
Old 15.06.2018, 20:17
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 59,726
Default

You're welcome! In case you need further help with that, just report back
__________________
JD-Dev & Server-Admin
Reply With Quote
  #6  
Old 28.01.2019, 10:51
Nice2MeetYou Nice2MeetYou is offline
DSL User
 
Join Date: Oct 2015
Posts: 36
Default

It's weird I'm trying to do this again but the link grabber refuses to automatically parse the links.

Putting this under test in the package rule works. But linkgrabber doesn't load it from the clipboard. I have to enter it manually. Why is that?

Code:
**External links are only visible to Support Staff**
Reply With Quote
  #7  
Old 28.01.2019, 17:47
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 423
Default

Quote:
Originally Posted by Nice2MeetYou View Post
... Putting this under test in the package rule works. But linkgrabber doesn't load it from the clipboard. I have to enter it manually.
Most likely that domain is not supported by JD. You can create linkcrawler rules to grab them automatically.
Reply With Quote
  #8  
Old 29.01.2019, 14:09
Nice2MeetYou Nice2MeetYou is offline
DSL User
 
Join Date: Oct 2015
Posts: 36
Default

So bizzare. If I change the # in the regex to ? it works.
Reply With Quote
  #9  
Old 29.01.2019, 15:16
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 423
Default

Quote:
Originally Posted by Nice2MeetYou View Post
So bizzare. If I change the # in the regex to ? it works.
JD might already be supporting the domain/url/filetype sans the custom string at the end. You may need to add a new rule which contains a pattern to match your custom url.

Example:
Code:
[{
  "enabled" : true,
  "pattern" : "https?://.+?#package=.+$",
  "rule" : "DIRECTHTTP"
 }]
Reply With Quote
  #10  
Old 30.01.2019, 17:15
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 59,726
Default

Will fix generic http plugin to support anchors. Wait for next plugin update
__________________
JD-Dev & Server-Admin
Reply With Quote
  #11  
Old 31.01.2019, 13:54
Nice2MeetYou Nice2MeetYou is offline
DSL User
 
Join Date: Oct 2015
Posts: 36
Default

Thanks guys.
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 00:02.
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 - 2019, Jelsoft Enterprises Ltd.