JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 10.02.2025, 18:20
voja21's Avatar
voja21 voja21 is offline
Vacuum Cleaner
 
Join Date: Apr 2021
Posts: 16
Question Is it possible to download images in an order, according to the order on a page?

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
Reply With Quote
  #2  
Old 10.02.2025, 19:12
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 82,116
Default

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
Reply With Quote
  #3  
Old 10.02.2025, 19:28
voja21's Avatar
voja21 voja21 is offline
Vacuum Cleaner
 
Join Date: Apr 2021
Posts: 16
Default

Here is an example link:
**External links are only visible to Support Staff**example
Reply With Quote
  #4  
Old 10.02.2025, 20:15
pspzockerscene's Avatar
pspzockerscene pspzockerscene is online now
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 74,404
Default

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
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
Reply With Quote
  #5  
Old 11.02.2025, 11:20
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 82,116
Default

Quote:
Originally Posted by pspzockerscene View Post
The short answer: No

The longer version:
There is no order-hint in the names of those files.
I will discuss some ideas about this with pspzockerscene
__________________
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 12: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 - 2025, Jelsoft Enterprises Ltd.