Description of all parameters of JDExternInterface:
JDExternInterface can, if activated in jdownloader, under http://127.0.0.1:9666/ be achieved. If possible, one should avoid the use of localhost for IPv6-capable operating systems to solve this::: 1, and not on IPV4 127.0.0.1.
How to find out if JD is currently running?
- Check if this can be accessed: http://127.0.0.1:9666/crossdomain.xml
- Access this link and JD will display a prompt "An external application tries to add links": http://127.0.0.1:9666/flashgot
Why am asked JD if I access the external application permission? In order to give each Web page can not be left in the Jdownloader add, without which the user will notice something like this, is provided for every action a query to the user. This then confirms the action or reject. In addition, the User actions permanently from any website , Accepted by the appropriate * again * Do not show dialog box accepted. If you use the FlashGot interface so there is a further to prevent the possibility of consultation, see FlashGot interface.
How do I transfer data to the JD? All data / parameters must be urlencoded! If a parameter more Values ??allowed, they must be with a newline (also urlencoded) n \ be separated.
FlashGot Interface: http://127.0.0.1:9666/flashgot
Possible parameters: 1) (required) urls = URL1 \ nURL2 \ url3 .. The URLs that are to be loaded. Multiple URLs to by a Newline \ n separated
2) (required) description = desc1 \ desc2 \ DESC3 ... This may be the single additional URLs give to text messages / comments, jdownloader which in a comment are displayed for each URL. (For example: powered by JD)
3) (Optional) dir = / home / jduser / download The list by JD should download the URLs.
4) (Optional) cookies = Cookies If the download URLs requires the additional cookies (for example, Login information), we can hereby forward this. The cookies apply to all URLs!
5) (Optional) postData = postData If the download URLs also required post data, we can hereby submit this. They apply to all URLs!
6) (Optional auto start) = 1 If this parameter is set, then the Linkgrabber in JD bypassed and the URLs directly added to the download list.
7) (Optional) referer = http://www.jdownloader.org This parameter allows you to give to a referer for the URLs. In addition, this parameter does not cause the actual URL of the Downloads displayed in the JD / is copied, but the RefererURL. The Referer applies to all URLs!
8) (Optional) package = Test This parameter allows you to specify the packagename
Response of the JD:
JD is correct on each question with "PATH to JDownloader.jar command to start and reply JD. So you can now easily check whether JD is installed and let him start emergency.
Example: / home / jduser / .jd_home / JDownloader.jar java-Xmx512m-jar / Home / jduser / .jd_home / JDownloader.jar
Flash Interface: http://127.0.0.1:9666/flash/
Possible parameters:
1) (required) urls = URL1 \ nURL2 \ url3 .. The URLs that are to be loaded. Multiple URLs to by a Newline \ n separated
2) (Optional) passwords = PW1 \ nPW2 \ PW3 .. If the URLs passwords are to be given, in order to later Unpacking, we can do hereby. They apply to all URLs!
2) (Optional) source = http://www.jdownloader.org This parameter allows you to give to a referer for the URLs. In addition, this parameter does not cause the actual URL of the Downloads displayed in the JD / is copied, but the RefererURL. The Referer applies to all URLs!
Response of JD: 1) success 2) failed
|