#1
|
|||
|
|||
Example myJD API curl?
Hello.
How do you send a download link (**External links are only visible to Support Staff****External links are only visible to Support Staff** folder) to my.jdownloader using the API and curl? Can someone give an example please? I'm new to programming and trying to learn it. Last edited by ELM0; 16.05.2021 at 19:45. |
#2
|
||||
|
||||
@ELM0: I'm sorry but I don't think MyJDownloader API and curl will be good starting point for someone that is *new to programming* as MyJDownloader Protocol involves SHA256, Signatures, AES Encryption and JSON.
Do you need MyJDownloader to send remotely or is JDownloader running on same computer? Do you want to automate it or just send the url to JDownloader?
__________________
JD-Dev & Server-Admin |
#3
|
|||
|
|||
@Jiaz: I have JD2 installed on my server in a datacenter and I use my.jdownloader.com to control it.
I wrote a script that fetches an RSS feed of new download links, and I want it to automatically send a download link to jdownloader. Nothing special, only adding the download link and starting the download. Automatically. Or maybe there is a different solution for it? Scenario: I have a fix download link (doesn't change), and I want it to automatically, weekly or monthly, (depending on download link), to be a added to JD2 and it should fetch the links and start the download. All done on a headless machine (Linux server). Example: Every Monday (weekly) the link **External links are only visible to Support Staff****External links are only visible to Support Staff** should be added to JD2. It should fetch the files and start the download. Last edited by ELM0; 17.05.2021 at 22:43. |
#4
|
||||
|
||||
directory/folder watch might be the easiest solution if you have external access.
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] |
#5
|
||||
|
||||
@ELM0: If the link is the same, I would use the Eventscripter and a script that periodically adds the link to JDownloader. Then JDownloader process the link and you just have to remove already downloaded files, maybe can done automatically via script as well.
Or you can use existing 3rd party clients for many lanuages you can find on github
__________________
JD-Dev & Server-Admin |
#6
|
|||
|
|||
Thank you for the help! I think folderwatch is actually the easiest way to do it. And it's works.
Eventscripter: I'm just learning Python and can't write the Eventscript myself, yet. But if anyone can write the code, I think it's a valuable contribution to the Eventscripts pinned thread. Even though the thread moved totally off topic, I still think some examples in the documentation of the API would be helpful. Thread is SOLVED. :D Last edited by ELM0; 18.05.2021 at 18:06. |
#7
|
||||
|
||||
Eventscripter Syntax is Javascript, see https://board.jdownloader.org/showthread.php?t=70525
Just ask in that thread for help. I'm sure mgpai will be able to help/assist you
__________________
JD-Dev & Server-Admin |
#8
|
|||
|
|||
ELM0, Can you share the script?
Thanks in advance. |
Thread Tools | |
Display Modes | |
|
|