JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 01.04.2023, 15:58
43535 43535 is offline
Junior Loader
 
Join Date: Aug 2018
Posts: 10
Default Question about the strcuture of the downloadList files

What's up?

JD2 saves each download in JSON format,

In these files, I have a properties.ARCHIVE_ID element.

I think it's a file hash, if so - it can greatly help me to run online scans on the file hash without ever downloading the file, very helpful for security.

Who sets the properties section in the scheme? Is it the plugin dev?
I'm basically wondering who's the person who might know this..

Thank you!

Code:
{
   "availablestatus":"",
   "chunkProgress":,
   "created":,
   "current":,
   "finalLinkState":,
   "host":"rapidgator.net",
   "linkStatus":,
   "name":"",
   "properties":{
      "URL_CONTENT":"",
      "FINAL_FILENAME":"",
      "ARCHIVE_ID":"954e3db275ad862ea9976d13dd98866a76fd42e6b819a5901604b6473c3a938d"
   },
   "propertiesString":,
   "size":,
   "uid":,
   "url":"",
   "urlProtection":"",
   "enabled":
}
Reply With Quote
  #2  
Old 03.04.2023, 14:59
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 71,549
Default

Gu,
alternatively you can also use the EventScripter to access that information during runtime and without the need to touch those .json files.

You can also use the myjdownloader addon to access those fields and get the file-hash. Docs:
https://my.jdownloader.org/developers/

EventScripter forum thread:
https://board.jdownloader.org/showthread.php?t=70525
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
  #3  
Old 05.04.2023, 17:15
notice notice is offline
JD Supporter
 
Join Date: Mar 2023
Posts: 505
Default

Quote:
Originally Posted by 43535 View Post
I think it's a file hash, if so - it can greatly help me to run online scans on the file hash without ever downloading the file, very helpful for security.
It is not. Please see answer here, ARCHIVE_ID is not the file hash but internal ID for archive handling.
https://board.jdownloader.org/showthread.php?t=93120
Reply With Quote
  #4  
Old 05.04.2023, 17:17
43535 43535 is offline
Junior Loader
 
Join Date: Aug 2018
Posts: 10
Default

Quote:
Originally Posted by notice View Post
It is not. Please see answer here, ARCHIVE_ID is not the file hash but internal ID for archive handling.
**External links are only visible to Support Staff**...
Thanks.
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 16:43.
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 - 2024, Jelsoft Enterprises Ltd.