JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 07.12.2020, 14:44
armindvd armindvd is offline
Vacuum Cleaner
 
Join Date: Apr 2020
Posts: 18
Default Developer Documentation

Hi

I want to update some outdated plugin and probably create new plugin.

I downloaded the code and run it successfully but the amount of codes is huge. is there any documentation or guide to help me what I have to do?
Reply With Quote
  #2  
Old 07.12.2020, 14:47
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 57,219
Default

Sadly there isn't much but you can place your questions here.

-psp-
__________________
JD Supporter, Plugin Dev. & Community Manager

Erste Schritte & Tutorials || JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
That's true James
Quote:
Originally Posted by James
Die Leute verstehen einfach nicht dass nur weil man mit einer Waffe auch auf Menschen schießen kann dass ein Schützenver​ein kein Ort für Amoklaufide​en ist
Reply With Quote
  #3  
Old 07.12.2020, 15:46
armindvd armindvd is offline
Vacuum Cleaner
 
Join Date: Apr 2020
Posts: 18
Default

Hi,

Can you briefly explain what is it the step to add a new Plugin ? Where I have to started first ?

or

can you give me an example plugin which included most of the JDownloader features such as Login, config page, crawling and captcha ? It would be brilliant if you give me order of classes I have to look.
Reply With Quote
  #4  
Old 07.12.2020, 15:51
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 57,219
Default

Again depends for which website you're planning to create a plugin.
Out of the blue I'd say instagram.com because there is a crawler plugin, host plugin and settings but the code-quality and complexity really varies over the different plugins ...

-psp-
__________________
JD Supporter, Plugin Dev. & Community Manager

Erste Schritte & Tutorials || JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
That's true James
Quote:
Originally Posted by James
Die Leute verstehen einfach nicht dass nur weil man mit einer Waffe auch auf Menschen schießen kann dass ein Schützenver​ein kein Ort für Amoklaufide​en ist
Reply With Quote
  #5  
Old 07.12.2020, 18:22
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 69,685
Default

@armindvd: You can contact me via support@jdownloader.org for deeper helper/guiding

jd.plugins.PluginForDecrypt (Crawler) are processing links and may return one or multiple other links. Crawler plugins are used to process galleries/sets of links and/or find/return multiple qualities. the most important method to override here is decryptIt

jd.plugins.PluginForHost (Hoster) are handling the actual download of a single link! They contain logic for account/link check and free/premium(with account) downloading.

You basically create new class in either jd.plugins.decrypter or jd.plugins.hoster and extend either PluginForDecrypt or PluginForHost. Take a look at any of the existing plugins!
And just ask Don't ask to ask.

We can provide better help/guiding when you tell us what kind of site/plugin you want to fix/write. Maybe provide example link?
__________________
JD-Dev & Server-Admin
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:49.
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.