JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 12.12.2019, 00:12
QuickHop QuickHop is offline
Modem User
 
Join Date: Dec 2019
Posts: 4
Question Is there are a way to get the download URL as a <jd> tag?

What the title says. The site I'm pulling from uses a hexadecimal mess for filenames, but I'm only pulling one file per URL, so using it would be miles better than trying to sort through random filenames. Ideally being able to extract parts of the URL would be great, but I'll take what I can get.

Alternatively, is there a full list of all <jd> tags? I couldn't find one on the wiki and google was no help either.
Reply With Quote
  #2  
Old 12.12.2019, 01:25
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,211
Default

if you want a component out of the url it would be easier to utilise regex and the package customiser as its designed todo this task.

important note:
dynamic tags are available from right click function in locations where its possible to use. some tags are only available in the output section when you have listeners present in the listen areas.
__________________
raztoki @ jDownloader reporter/developer
http://svn.jdownloader.org/users/170

Don't fight the system, use it to your advantage. :]
Reply With Quote
  #3  
Old 14.12.2019, 09:42
QuickHop QuickHop is offline
Modem User
 
Join Date: Dec 2019
Posts: 4
Default

I can figure out regex I think, but how do I actually get ahold of the URL so I can apply it? It doesn't show up as a Dynamic Variable. I'm working with packagizer rules.

Last edited by QuickHop; 14.12.2019 at 09:43. Reason: minor clarification
Reply With Quote
  #4  
Old 14.12.2019, 15:33
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,211
Default

you provide an example url in the test location
you then place in your regular expression within which ever field you going to parse? source url?
then dynamic tag options will come available based on the listeners in the regex pattern
__________________
raztoki @ jDownloader reporter/developer
http://svn.jdownloader.org/users/170

Don't fight the system, use it to your advantage. :]
Reply With Quote
  #5  
Old 17.12.2019, 11:29
QuickHop QuickHop is offline
Modem User
 
Join Date: Dec 2019
Posts: 4
Default

Ah, that's what I was missing. The regex goes in one of the 'match' fields with the regex toggles, which allows the results of those fields to be used as dynamic variable tags in the 'set' fields.
I was trying to figure out how to get the entire URL into a 'set' field then run regex on it, which on reflection doesn't make much sense. Thanks for the help!
Reply With Quote
  #6  
Old 17.12.2019, 13:16
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,211
Default

hindsight ;p

no problem

you can use general widcards, though less easy to control/define (without the checkbox)
__________________
raztoki @ jDownloader reporter/developer
http://svn.jdownloader.org/users/170

Don't fight the system, use it to your advantage. :]
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 11:07.
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 - 2020, Jelsoft Enterprises Ltd.