JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 21.11.2016, 09:56
invisibleman78 invisibleman78 is offline
JD VIP
 
Join Date: May 2009
Posts: 326
Question Wie lautet die Syntax für mehrere Click'n'Load URL?

Ihr beschreibt auf
http://jdownloader.org/knowledge/wiki/glossary/cnl2
wie man ein "Plain CNL2" erstellt. **

Da steht zwar der Hinweis
"You can pass multiple urls and passwords by seperating them with \r\n"
aber ich checke nicht, wie das genau gemeint ist.

Kann mir jemand ein funktionierendes Beispiel mit z.B. 3 Links zeigen?
Wie müsste die folgende Mini-HTML-Seite mit 3 Links aussehen, damit sie alle 3 Links in den Linksammler des laufenden JD2 hinzufügt?
HTML Code:
<FORM ACTION="**External links are only visible to Support Staff** target="hidden" METHOD="POST">  
   <INPUT TYPE="hidden" NAME="urls" VALUE="">
   <INPUT TYPE="hidden" NAME="urls" VALUE="">
   <INPUT TYPE="hidden" NAME="urls" VALUE="">
   <INPUT TYPE="SUBMIT" NAME="submit" VALUE="Add Link to JDownloader">
</FORM>
** Ich weiss, dass das "unsicher" ist, ich brauche das rein lokal zum einfacheren hinzufügen von mehreren Links in JD2, anstelle von Copy&Paste.

Last edited by Jiaz; 21.11.2016 at 12:00.
Reply With Quote
  #2  
Old 21.11.2016, 11:14
thecoder2012's Avatar
thecoder2012 thecoder2012 is offline
Official 9kw.eu Support
 
Join Date: Feb 2013
Location: Internet
Posts: 1,324
Default

Quote:
Originally Posted by invisibleman78 View Post
"You can pass multiple urls and passwords by seperating them with \r\n"
aber ich checke nicht, wie das genau gemeint ist.
Gemeint ist damit ein Zeilenumbruch. Dein Beispiel ist jedenfalls definitiv falsch weil mehrere Felder mit dem gleichen Feldnamen sagt der Satz nicht aus.

Quote:
Originally Posted by invisibleman78 View Post
Kann mir jemand ein funktionierendes Beispiel mit z.B. 3 Links zeigen?
Beispiel:
HTML Code:
<FORM ACTION="**External links are only visible to Support Staff** target="hidden" METHOD="POST">  
   <INPUT TYPE="hidden" NAME="urls" VALUE="**External links are only visible to Support Staff**>
   <INPUT TYPE="SUBMIT" NAME="submit" VALUE="Add Link to JDownloader">
</FORM>
__________________
Join 9kw.eu Captcha Service now and let your JD continue downloads while you sleep.

Last edited by Jiaz; 21.11.2016 at 12:00.
Reply With Quote
  #3  
Old 21.11.2016, 12:01
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,524
Default

@thecoder2012: Danke für die Erklärung und das Bsp
__________________
JD-Dev & Server-Admin
Reply With Quote
  #4  
Old 21.11.2016, 12:16
invisibleman78 invisibleman78 is offline
JD VIP
 
Join Date: May 2009
Posts: 326
Default

Funktioniert wunderbar. Vielen Dank, thecoder2012!

@Jiaz: Vielleicht wäre eine kleine Beispiel-Anpassung in der Wiki auch für Andere nützlich?
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 22:00.
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 - 2024, Jelsoft Enterprises Ltd.