JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #41  
Old 09.12.2016, 15:55
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 69,577
Default

@thawn: you can add additional parameters like
dir=download folder
package=packagename
you could also modify your tool to write crawljobs that are processed by Folderwatch extension of JDownloader
__________________
JD-Dev & Server-Admin
Reply With Quote
  #42  
Old 09.12.2016, 17:02
thawn thawn is offline
Junior Loader
 
Join Date: Jul 2012
Posts: 11
Default

Quote:
Originally Posted by Jiaz View Post
@thawn: you can add additional parameters like
dir=download folder
package=packagename
you could also modify your tool to write crawljobs that are processed by Folderwatch extension of JDownloader
Are you talking about the click'n load 2 api? I used this reference for the api and it only mentions the url parameter. I know that there is also the undocumented flashgot api which has more options, but I did not get that to work. I think I need some internal api authentication code which I did not find at a cursory inspection of the sources.
Reply With Quote
  #43  
Old 09.12.2016, 17:15
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 69,577
Default

You should use the FlashgotAPI
https://support.jdownloader.org/Know...hgot-interface
there you have additional parameters like
dir, packagename...
Or you can try to write simple MyJDownloader client
__________________
JD-Dev & Server-Admin
Reply With Quote
  #44  
Old 10.12.2016, 07:27
thawn thawn is offline
Junior Loader
 
Join Date: Jul 2012
Posts: 11
Default

Quote:
Originally Posted by Jiaz View Post
You should use the FlashgotAPI
**External links are only visible to Support Staff**...
there you have additional parameters like
dir, packagename...
Or you can try to write simple MyJDownloader client
Thanks a lot for the link to the flashgot documentation
I think I was missing the required description parameter. I'll try switching to the flashgot interface soon.
Reply With Quote
  #45  
Old 11.12.2016, 14:14
thawn thawn is offline
Junior Loader
 
Join Date: Jul 2012
Posts: 11
Default

O.k. i got it to work now. It was not the description parameter, I needed to set the referer in the header (not the varable in the POST data) to
Code:
**External links are only visible to Support Staff**
.

I also added the possibility to set the save path and autostart in jdownloader

The latest version is not compiled yet, but you can get the sources from github.
Reply With Quote
  #46  
Old 12.12.2016, 01:16
thawn thawn is offline
Junior Loader
 
Join Date: Jul 2012
Posts: 11
Default New release 0.2.0-RC1

A new release is here (yay!)
Code:
**External links are only visible to Support Staff**
Announcing jdlbot2-RC1

If I get positive feedback that it also works on other machines (I only tested on my mac and on a clean Win 10 virtual machine) I will release jdlbot 2.0.0 soon (starting version 2.0 because it is compatible with jDownloader 2)

added features:
  • configure the path where jDownloader will save the files
  • history allows re-downloading files (history will not be stored across restarts of jdownloader)

bug fixes
  • auto start in jdownloader works again (because I switched to the flashgot API)
  • correct downloading of multiple TV episodes at once
  • correct detection of last episode if multiple TV episodes are downloaded at once
Reply With Quote
  #47  
Old 12.12.2016, 11:38
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 69,577
Default

In case you need help with api or any additional features/methods, please let us know (support@jdownloader.org)
__________________
JD-Dev & Server-Admin
Reply With Quote
  #48  
Old 12.12.2016, 11:59
brandur brandur is offline
Modem User
 
Join Date: Dec 2016
Posts: 1
Default

Question from an JD amateur here
I'm running JD2 in a docker image on my unRAID
**External links are only visible to Support Staff****External links are only visible to Support Staff**

How would I go about using this?
Any help is much appreciated.
Reply With Quote
  #49  
Old 13.12.2016, 10:03
thawn thawn is offline
Junior Loader
 
Join Date: Jul 2012
Posts: 11
Default

Quote:
Originally Posted by brandur View Post
Question from an JD amateur here
I'm running JD2 in a docker image on my unRAID
**External links are only visible to Support Staff**...

How would I go about using this?
Any help is much appreciated.
You probably have command line (root) access to the unRAID?

if yes, you can simply follow the instructions for linux
Code:
**External links are only visible to Support Staff**
to install jdlbot. If you want to get fancy, you could try to follow
Code:
**External links are only visible to Support Staff**
to create your own docker module for the software. If you do that, let me know and I'll put the docker image on the releases page. You also need to make sure, that jdlbot can access port 9666 in the JD2 docker image. (
Code:
**External links are only visible to Support Staff**
)

You will probably want to access jdlbot from other computers in your network, not just locally from the unRAID. To do that, set the host configuration setting in jdlbot to
Code:
0.0.0.0
and make sure that port 10050 (the port that jdlbot uses) on your unRAID is accessible from the local network (don't open that port to the internet in your router, though!). If you don't have a webbrowser running locally on the unRAID, there are two ways to configure jdlbot:

1) manually edit the config.sqlite file using a command line tool like sqlite3 and run the following command:
Code:
UPDATE config SET value='0.0.0.0' WHERE param='host';
2) install jdlbot on your local machine, configure it in your local webbrowser and copy config.sqlite to your unraid. Config.sqlite resides in:
Code:
%APPDATA%\jdlbot\config.sqlite
on windows and:
Code:
~/Library/jdlbot/config.sqlite
on mac. On linux, it resides within the src directory in the path where you cloned the git repository.

I hope this helps, let me know if you have any more questions...

Last edited by thawn; 13.12.2016 at 10:08.
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 09:47.
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 - 2021, Jelsoft Enterprises Ltd.