View Single Post
  #15  
Old 21.11.2020, 19:05
andersontad andersontad is offline
Junior Loader
 
Join Date: Nov 2020
Posts: 10
Default

Quote:
Originally Posted by mgpai View Post
You can append the filename to the url before adding it to JD, and then parse the filename from it using a packagizer rule.

Example URL Format:
Code:
https://board.jdownloader.org/images/logo.png#filename=merry

Packagizer Rule:
Code:
If sourceurl(s) > contain > #filename=*
Then set > Filename > <jd:source:1>.<jd:orgfiletype>

JD will then download the file with the new name.

When I mean to take the original link, it is to go to the "Various" folder and look for the downloaded file, in this case the image, which has a name for example this:

https_font-1001freefonts.netdna-ssl.com_storage_preview_cache_25729_ed4c85679cf0100d7b1a62cea923978b

**External links are only visible to Support Staff****External links are only visible to Support Staff**

**External links are only visible to Support Staff****External links are only visible to Support Staff**

Most of the images have this string at the end of the link: ed4c85679cf0100d7b1a62cea923978b.

What JDownloader does is:

ed4c85679cf0100d7b1a62cea923978b
ed4c85679cf0100d7b1a62cea923978b_2
ed4c85679cf0100d7b1a62cea923978b_3

If you carry that fragment of link it is useless, because they all have that same chain.

In order to be more accurate, you should have at least this fragment:

> 25729 / ed4c85679cf0100d7b1a62cea923978b

Create a rule in the packager in the option Sources Url - Contains - *

and it returns the link:
https_font-1001freefonts.netdna-ssl.com_storage_preview_cache_25729_ed4c85679cf0100d7b1a62cea923978b

It is an advance, but since I cannot transform the _ to / from JDownloader, then I would have to look for another formula.

Last edited by andersontad; 21.11.2020 at 19:12.
Reply With Quote