JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 21.07.2017, 19:57
djkristoph djkristoph is offline
Modem User
 
Join Date: Aug 2014
Posts: 3
Default Pobieranie nazwy paczki

Witam, czy jest możliwość w linkgrabber pobrać nazwę paczki albo ścieżkę gdzie zapisuje plik ? uzywam jdownloadera na linuxie oraz api w php...

PHP Code:
public function linkcollector($params = []) {
        
$params_default = [
            
"destination" => true,
            
"bytesTotal" => true,
            
"comment" => true,
            
"status" => true,
            
"enabled" => true,
            
"maxResults" => -1,
            
"startAt" => 0,
            
"packageUUIDs" => null,
            
"host" => true,
            
"url" => true,
            
"bytesLoaded" => true,
            
"speed" => true,
            
"eta" => true,
            
"finished" => true,
            
"priority" => true,
            
"running" => true,
            
"skipped" => true,
            
"extractionStatus" => true
        
];

        
$params array_merge($params_default$params);
        
$res $this -> callAction"/linkgrabberv2/queryLinks"$params);
        return 
$res;
    } 
Obecne api zwraca mi paczkę ale w formacie liczbowym, a poprzez php dodałem nazwę folderu jak i ścieżkę zapisu pliku..
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 04:05.
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 - 2018, Jelsoft Enterprises Ltd.