JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 20.02.2024, 16:32
forivin forivin is offline
DSL Light User
 
Join Date: Sep 2013
Posts: 34
Default MyJDownloader API: How to get status on added links?

I'm addings links using the /linkgrabberv2/addLinks API endpoint and I see it returns a LinkCollectingJob, which is basically just an object with nothing but an ID.

Sometimes I call the addLinks endpoint with the autostart and autoExtract flags too or I start the downloads manually.

How do I keep track of the links that I added through the API? I would like to get the current status (notstarted, queued, downloading. etc) and stuff like the download progress and current download speed, maybe also file size, etc.

Where do I get that info? Thanks in advance
Reply With Quote
  #2  
Old 21.02.2024, 17:29
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 80,996
Default

Quote:
Originally Posted by forivin View Post
I'm addings links using the /linkgrabberv2/addLinks API endpoint and I see it returns a LinkCollectingJob, which is basically just an object with nothing but an ID
That's correct and you can query linkgrabber for running job information by their job ids with queryLinkCrawlerJobs

Please also see AddLinksQuery object, there you can set assignJobID to true.

That way you can later query linkgrabber list with queryLinks and specify the job id in CrawledLinkQuery in packageUUIDs list

In download list with queryLinks and specify the job id in LinkQuery in packageUUIDs list

In case you need further help/got questions, just ask
__________________
JD-Dev & Server-Admin

Last edited by Jiaz; 21.02.2024 at 17:36.
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 23:32.
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.