JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 08.05.2012, 10:00
her34 her34 is offline
Registered / Inactive
 
Join Date: May 2010
Posts: 24
Default Is there a special text format for LinkGrabber?

LinkGrabber only parses text for plain links for files. Is there a special text format so that you can set the additional information for the link in plain text?

Something like:
<JD-Object>
<URL>rapidshare.com/file</URL>
<SaveAs>File.txt</SaveAs>
<Package>FolderName</Package>
</JD-Object>

Last edited by Jiaz; 09.05.2012 at 10:05.
Reply With Quote
  #2  
Old 08.05.2012, 10:22
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,685
Default

Don't believe so, your better off using the new API to insert links in that manner. flashgot has a API it shares with click and load which is backward ported into our new API
__________________
raztoki @ jDownloader reporter/developer
http://svn.jdownloader.org/users/170

Don't fight the system, use it to your advantage. :]
Reply With Quote
  #3  
Old 08.05.2012, 10:55
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 81,746
Default

you can use ClickAndLoad API for this
what do you wanna achieve?
__________________
JD-Dev & Server-Admin
Reply With Quote
  #4  
Old 09.05.2012, 03:11
her34 her34 is offline
Registered / Inactive
 
Join Date: May 2010
Posts: 24
Default

Quote:
Originally Posted by Jiaz View Post
you can use ClickAndLoad API for this
what do you wanna achieve?
Many websites obfuscate filename they upload.

I want to write a browser extension to make it easy to send JD 3 things at once:
1) url of file
2) filename to save as
3) package name in JD

Either simple 1 click to send all information, or 1 text block to copy that has all information.

Looking at Click'n'Load api here:
http://jdownloader.org/knowledge/wik...y/click-n-load
or
http://jdownloader.org/knowledge/wiki/glossary/cnl2

On wiki, I only see how to send JD a url along with password.

How can you use ClickAndLoad API to send saveas filename and JD package name?
Reply With Quote
  #5  
Old 09.05.2012, 10:05
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 81,746
Default

you can use cnl2 api and also have the additional variables to use
passwords=string
source=string(eg the page where the user clicked the button)
packagename=string (name for package)
those variables will be supported by our upcomming next version

if you also want to set filenames, then you have to use the flashgot api
easy to see how it works by using wireshark and add some links via flashgot or
write email to support@jdownloader.org and i can give you docs about it
__________________
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 17:36.
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 - 2025, Jelsoft Enterprises Ltd.