#1
|
||||
|
||||
![]()
Hi,
This concerns image sites which have an arbitrary names of images. In my case it is a imgdrive.net images, which have names like 5c28d9c283459.jpg. When JDL downloads images, they are ordered in a wrong way. This is similar case to imgur.com, but this post https://board.jdownloader.org/showthread.php?t=85406 didn't help me. Is it possible to add as a prefix increasing numbers in filenames (e.g. 001_xya, 002_abed,...) according to the order in a page? Thank you in advance, Voja |
#2
|
||||
|
||||
![]()
Please provide example links! without example links we cannot help with topics like *oder in the page* as JDownloader crawling process does not guarantee any processing order and thus "prefix index" won't work as intented in this case.
__________________
JD-Dev & Server-Admin |
#3
|
||||
|
||||
![]()
Here is an example link:
**External links are only visible to Support Staff**example |
#4
|
||||
|
||||
![]()
The short answer: No
The longer version: There is no order-hint in the names of those files. This means, you most likely want them to be added/downloaded and/or even named in the order that they are listed on the source-website. The generic deep-crawler does not store that information anywhere. At the same time the items added to JD are not necessarily processed in the order they are added (as multiple can be processed at the same time). This makes this kind of impossible. What you can try: Option 1: Slowly add those items one by one, make sure they go into one package and then use a Packagizer rule with the "<jd:indexof>" property to add that index to the file names. This would require you to pre-collect those image links manually in beforehand. Option 2: Pre crawl those image links, put them into an excel sheet (or use some kind of script), apply an index number to those links and then use a Packagizer rule to apply that index number to the file names. Option 3: (option 2 with more automation) Create an external script or an EventScripter script that automatically crawls those image links and adds them with a time delay or that applies said index number to the links so that the index can be added to the file names later via Packagizer rules. EventScripter subforum: https://board.jdownloader.org/forumdisplay.php?f=52 EventScripter help article: https://support.jdownloader.org/know...event-scripter
__________________
JD Supporter, Plugin Dev. & Community Manager
Erste Schritte & Tutorials || JDownloader 2 Setup Download |
#5
|
||||
|
||||
![]()
I will discuss some ideas about this with pspzockerscene
__________________
JD-Dev & Server-Admin |
![]() |
Thread Tools | |
Display Modes | |
|
|