JDownloader Community - Appwork GmbH
 

Notices

Reply
 
Thread Tools Display Modes
  #1601  
Old 12.11.2020, 19:11
little little is offline
DSL User
 
Join Date: Mar 2009
Posts: 39
Default

@Jiaz : to create the log, I wanted to restart JDownloader and by force of use I updated it, and now the included script seems to just work. Thank you very much.
Reply With Quote
  #1602  
Old 12.11.2020, 20:30
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,290
Default

@little: I will do some changes to that part. When it happens again, just create log and post logID. Thanks for the feedback!
__________________
JD-Dev & Server-Admin
Reply With Quote
  #1603  
Old 20.11.2020, 15:01
Dockel Dockel is offline
JD Legend
 
Join Date: Feb 2020
Posts: 664
Default How could one remove all of the disabled downloads with a single click or so?

How could one remove all of the disabled downloads (not only the ones being marked as dups but all of them) with a single click or so?

https://board.jdownloader.org/showth...882#post474882
__________________
Aktuelles Windows
Reply With Quote
  #1604  
Old 20.11.2020, 15:12
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 1,533
Default

Quote:
Originally Posted by Dockel View Post
How could one remove all of the disabled downloads (not only the ones being marked as dups but all of them) with a single click or so?
You can use the default toolbar buttons or customize the toolbars and add new buttons and configure it. You can also enable/disable 'Really Delete?' dialog display in the menu item, to delete the links with/without confirmation. Or, did you mean something different?

Downloads tab:



Linkgrabber tab:

Reply With Quote
  #1605  
Old 20.11.2020, 15:16
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,290
Default

@mgpai: Totally forgot about this action You know JD better than I do!
__________________
JD-Dev & Server-Admin
Reply With Quote
  #1606  
Old 20.11.2020, 16:17
Dockel Dockel is offline
JD Legend
 
Join Date: Feb 2020
Posts: 664
Default

Quote:
You can use the default toolbar buttons or customize the toolbars and add new buttons and configure it. You can also enable/disable 'Really Delete?' dialog display in the menu item, to delete the links with/without confirmation. Or, did you mean something different?
No no, exactly what I meant, like Jiaz I totally forgot, I even had created a button to delete disabled links, unbelievable.

Many thanks!
__________________
Aktuelles Windows
Reply With Quote
  #1607  
Old 25.11.2020, 10:02
OneCuriousUser OneCuriousUser is offline
Modem User
 
Join Date: Sep 2019
Posts: 4
Default

Hello friends--
I'm having trouble with the default "Create an Info-File in the Download-Folder with detailed information" script.

I want to be able to click on "Start all downloads" with any number of different videos in my LinkGrabber list (none of which will be in the same package) and have an info file generated for each of the videos.

However, what ends up happening is just one info file is generated.
Stranger still, and more often than not, it just won't generate an info file at all. Any advice?
Script is unmodified, Trigger is set to "Package finished", and "Synchronous execution of script" is unchecked.
Reply With Quote
  #1608  
Old 25.11.2020, 12:30
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 1,533
Default

Quote:
Originally Posted by OneCuriousUser View Post
However, what ends up happening is just one info file is generated.
Stranger still, and more often than not, it just won't generate an info file at all.
By default, it will create a info-file only if package comment and/or archive password is present:
Code:
var iContent = 0; //setting bit 1 if pwd is available, setting bit 2 if comments available //if not set, no info file

The above behavior can be changed by modifying the following code in the script:
Code:
if (bWriteFile == true && iContent >= 0) { //comment out or set "iContent >= 0" if info-file should be written always
Reply With Quote
  #1609  
Old 25.11.2020, 12:47
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,290
Default

@OneCuriousUser: Trigger Package finished will only fire when the complete package is finished and not the download. What script exactly are you using? Link?
Maybe @mgpai can change script for *Download finished* Trigger
__________________
JD-Dev & Server-Admin
Reply With Quote
  #1610  
Old 25.11.2020, 19:03
OneCuriousUser OneCuriousUser is offline
Modem User
 
Join Date: Sep 2019
Posts: 4
Default

Quote:
Originally Posted by mgpai View Post
By default, it will create a info-file only if package comment and/or archive password is present:
Code:
var iContent = 0; //setting bit 1 if pwd is available, setting bit 2 if comments available //if not set, no info file

The above behavior can be changed by modifying the following code in the script:
Code:
if (bWriteFile == true && iContent >= 0) { //comment out or set "iContent >= 0" if info-file should be written always
Brilliant, this is exactly what I needed. Thank you!

Quote:
Originally Posted by Jiaz View Post
@OneCuriousUser: Trigger Package finished will only fire when the complete package is finished and not the download. What script exactly are you using? Link?
Maybe @mgpai can change script for *Download finished* Trigger
Script was fine as is, just needed to change the line mgpai mentioned.
Reply With Quote
  #1611  
Old 01.12.2020, 14:26
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,290
Default

@mgpai: can you contact me via support@jdownloader.org about this
https://board.jdownloader.org/showpo...8&postcount=81
__________________
JD-Dev & Server-Admin
Reply With Quote
  #1612  
Old 02.12.2020, 18:40
phorris phorris is offline
Junior Loader
 
Join Date: Apr 2014
Posts: 12
Default

Hi, im using a proxy script at the moment and i nocticed one flaw it has. If a proxy has some problem then the status keeps hanging at "starting" and it never timeouts. Is there a way to check if it hangs in that status for too long and then restart? If the download hangs in that status it also cant be stopped manually.
Reply With Quote
  #1613  
Old 02.12.2020, 18:47
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 70,922
Default

Hi phorris,
this is probably due to a bug explained HERE.

Your options:
- Wait for bugfix to get released
or:
- Try a similar workaround to what I've mentioned HERE (Use Google Translate or similar)

-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?

Last edited by pspzockerscene; 02.12.2020 at 18:47. Reason: Formatting++
Reply With Quote
  #1614  
Old 02.12.2020, 19:55
phorris phorris is offline
Junior Loader
 
Join Date: Apr 2014
Posts: 12
Default

Ok, danke
Reply With Quote
  #1615  
Old 04.12.2020, 15:12
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 1,533
Default

Code:
/*
    View recent JD update log(s)
    Trigger: Interval
*/

var myInterval = 600000; // check for new update logs every x milliseonds

if (interval == myInterval) {
    var editor = "c:/windows/notepad.exe", // <- set full path to any text editor
        cutoff = new Date().getTime() - myInterval,
        logs = getPath(JD_HOME + "/logs/updatehistory/").getChildren();

    logs.forEach(function(log) {
        if (log.modifiedDate > cutoff & log.name.indexOf("self") == -1) {
            callAsync(null, editor, log);
        }
    });
} else {
    interval = myInterval;
}
Reply With Quote
  #1616  
Old 06.12.2020, 12:43
bobolecoco bobolecoco is offline
Super Loader
 
Join Date: Aug 2015
Location: France
Posts: 27
Default Disabling an extension

Hello. I have a problem and didn't find the answer (search function in the forum is not very good).
I have two computers running Jdownloader2. They share the same folder for foderwatch. I would like that my second computer check that folder ONLY if the first computer is down.
So I check if the first is up with a ping : works well.
But I didn't found how to activate/deactivate folderwatch extension.

This is what I get with :
Code:
  alert(callAPI("extensions","list",{ "configInterface" : true, "description" : true, "enabled" : true, "iconKey" : true, "installed" : true, "name" : true}))
Code:
 {
  "installed" : true,
  "name" : "Scan de dossiers",
  "description" : "Ajoutez des liens à JDownloader en placant des fichiers .crawljob dans un dossier spécifique sur votre disque dur.",
  "iconKey" : "folder_add",
  "id" : "org.jdownloader.extensions.folderwatchV2.FolderWatchExtension",
  "configInterface" : "org.jdownloader.extensions.folderwatchV2.FolderWatchConfig",
  "enabled" : true
},
This throws me an error :
Code:
alert(callAPI("config","get",{ "interfaceName" : "org.jdownloader.extensions.folderwatchV2.FolderWatchConfig", "storage" : "cfg/org.jdownloader.extensions.folderwatchV2.FolderWatchExtension", "key" : "Folders"}))
I tried that, but error too :
Code:
 callAPI("extensions","setEnabled",{"classname":"org.jdownloader.extensions.folderwatchV2.FolderWatchConfig","b":false})
Code:
callAPI("extensions","setEnabled",{"classname":"org.jdownloader.extensions.folderwatchV2.FolderWatchExtension","b":false})
What I'm I missing ?

Waiting for an answer, I close JD when the first computer is up but it's not the solution I want :
Code:
callAPI("system", "exitJD")
Thanks !
Reply With Quote
  #1617  
Old 06.12.2020, 13:11
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 1,533
Default

Quote:
Originally Posted by bobolecoco View Post
... how to activate/deactivate folderwatch extension.
Code:
 function setFolderwatchEnabled(boolean) {
     callAPI("extensions", "setEnabled", "org.jdownloader.extensions.folderwatchV2.FolderWatchExtension", boolean);
 }
Reply With Quote
  #1618  
Old 06.12.2020, 13:36
bobolecoco bobolecoco is offline
Super Loader
 
Join Date: Aug 2015
Location: France
Posts: 27
Default (Solved) Disabling an extension

Thanks !!!

The MyJDownloader's API is not clear (made me think there was a "b" parameter)...
https://my.jdownloader.org/developers/#tag_183

Good day to you !
Reply With Quote
  #1619  
Old 07.12.2020, 18:19
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,290
Default

@mgpai: Thanks for fast help
@bobolecoco: method parameters are nameless, just the order is important. names are only important when a parameter is an object/map (eg in extensions/list the parameter is an object ExtensionQuery)
__________________
JD-Dev & Server-Admin
Reply With Quote
  #1620  
Old 11.12.2020, 15:41
default63 default63 is offline
I will play nice!
 
Join Date: Dec 2020
Posts: 2
Default Automatic Sorter

Hi Mgpai,
i want to achieve a automatic sorting function with the eventscripter. I read the whole thread and found some usefull scripts to achieve that goal, but i run into several problems.

My Enviroment:
My dwnload-vm is connected to a samba-share and is downloading into a folder there. In Jdownloader i configured in the download-path \\NAS\Download. Auto-Extraction and Del. Extrackted-Archives is on. Works fine.

My Goal:
I want the eventscripter to copy the finished, and unpacked Folder to user specific locations. Depends on my conditions.

My Trys:
First i tried the packetmanager, but it did not worked out so well for me. I need to specify more and detailed rules, for better Folder-Content recognation.

So i went to the eventscripter. But here i ran into several problems. First im not sure which trigger to use. If i Use "Download stopped" the process also would start, when i press the Stop-Button. When i use archive finished, the process could run twice, when double extracted.
Other problem i had, was that moveto("\\\\NAS\Download\\NewFolder") didnt worked. Nothing happended. First i thought it is a problem with user-rights. But Jdownloader can write an create in that Folder, when it downloads and unpacks.

From here on i thought about other ways to do. Maybe a Bash-Skript could to the Job on the NAS-Side, but it has to know, which folder is completetely finished und which are in Progress. So maybe creating a flag in foldername or extra file.txt in each downloaded folder after complete unrar could also help. But i couldnt find a working solution for this because of the "Download stopped"-problem.

I hope you have a good idea and can help me to find a solution.

Greetings
Default63
Reply With Quote
  #1621  
Old 11.12.2020, 18:18
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 1,533
Default

Quote:
Originally Posted by default63 View Post
... help me to find a solution.
'Download stopped' trigger can be used, but with additional check. LIke check if the link and its packge is also finished. But since the archive extraction will run post download, it is not suitable in your case.

You can use 'package finished' tirgger, for packages which do not contain archves and 'archive extraction finished' trigger, for packages whic contain arcihves.

It may not necessary to create any text file for 'package finised' since it is triggered only, unless of course you add new links to it or reset the existing ones. Archive extractiion is also triggered only once, unless you extract it manually again. I guess that would be unlikely since the files would have been moved to a different location on the previous trigger, and the link in JD will not ablle to extract it, since the new file path is not associated with links in the link list.

Can use bash script, but also might be possible to use eventscripter methods to move them. Let me know how you wish to proceed.
Reply With Quote
  #1622  
Old 11.12.2020, 18:55
default63 default63 is offline
I will play nice!
 
Join Date: Dec 2020
Posts: 2
Default

Hi Mgpai,
thanks for your reply! If it is possible the evensripter-solution would be great.

Greetings
Default63
Reply With Quote
  #1623  
Old 11.12.2020, 20:02
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 1,533
Default

Quote:
Originally Posted by default63 View Post
If it is possible the evensripter-solution would be great.
Should be possible. Find me in JD Chat.
Code:
kiwiirc.com/nextclient/irc.freenode.net/#jdownloader
Reply With Quote
  #1624  
Old 25.12.2020, 00:52
dereks10 dereks10 is offline
Vacuum Cleaner
 
Join Date: Sep 2020
Posts: 16
Default

Hello, would it be easy for someone to provide me a call for a Resume script. Thats all. Just every 10 min or so to call to Resume downloads. I download alot from my media server that for some reason just stops my downloads randomly. I dont have to do anything but press resume ( or Start Downloads button ) and it continues where it left off.
Thanks for any help.
Reply With Quote
  #1625  
Old 25.12.2020, 08:00
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 1,533
Default

Quote:
Originally Posted by dereks10 View Post
... every 10 min or so to call to Resume downloads.
It would be better to fix the underlying issue. If you provide example links and log the developers might be able to check it.

The download controller is stopped only when all attempts to start/resume pending downloads have failed. In which case, they will be skipped with a relevant message displayed in the 'status' column. Do you see any such message in that column?
Reply With Quote
  #1626  
Old 27.12.2020, 02:26
dereks10 dereks10 is offline
Vacuum Cleaner
 
Join Date: Sep 2020
Posts: 16
Default

Quote:
Originally Posted by mgpai View Post
It would be better to fix the underlying issue. If you provide example links and log the developers might be able to check it.

The download controller is stopped only when all attempts to start/resume pending downloads have failed. In which case, they will be skipped with a relevant message displayed in the 'status' column. Do you see any such message in that column?
Well thats the thing, it doesnt provide any info. It just stops like its been paused and the status field is blank. I will post a log next time, but to do that iu just need to go to Help - Create a log - choose the timeframe, and then create a new topic to paste it in?
Ive been playing around with some scripts way back in this post that pauses and resumes a download after the speed reached a certian point. I edited it to make it 1kbps and it definatly has helped. But it still occasionaly does it, like maybe once a day which is annoying in my situation. Here is the script i use. I did not make this script i just edited the speed.

Code:
if (isDownloadControllerRunning() && !isDownloadControllerStopping()) {
    var running = getRunningDownloadLinks();
    //loop through all running Downloads
    for (var i = 0; i < running.length; i++) {
        //check if the download has been running at least 30 seconds
        if (running[i].getDownloadDuration() > 30000) {
            //check if the current speed is below 1kb/s
            if (running[i].getSpeed() < 1 * 1024) {
                //resume the download
                //running[i].resume();
                //stop the download and resume it
                running[i].abort();
            }

        }
    }
}

Last edited by dereks10; 27.12.2020 at 02:33.
Reply With Quote
  #1627  
Old 27.12.2020, 07:20
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 1,533
Default

Quote:
Originally Posted by dereks10 View Post
... create a new topic to paste it in?
You can post the log ID in this thread. The developers may be able to check/fix the issue or provide me the necessary information to create a script.

In the meanwhile, you can also try THIS script.
Reply With Quote
  #1628  
Old 27.12.2020, 10:13
dereks10 dereks10 is offline
Vacuum Cleaner
 
Join Date: Sep 2020
Posts: 16
Default

Quote:
Originally Posted by mgpai View Post

In the meanwhile, you can also try **External links are only visible to Support Staff**... script.
Very Clean. Thank you it works very well. I just lowered speed a bit on it. Exactly what i was looking for. The one i was using was hit or miss.
Reply With Quote
  #1629  
Old 27.12.2020, 10:26
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,611
Default

@dereks10
status / error messages are usually present until you restart the client.
or
Just not displayed maybe due to another attempt at downloading without error

if you double click (this triggers the tooltip display, tool tips cant be disabled in advanced settings either) the status column (not package, only download links) you can see which download candidates used and which ones had errors. tooltips
__________________
raztoki @ jDownloader reporter/developer
http://svn.jdownloader.org/users/170

Don't fight the system, use it to your advantage. :]

Last edited by raztoki; 27.12.2020 at 10:28.
Reply With Quote
  #1630  
Old 28.12.2020, 01:06
Kaelthas Kaelthas is offline
JD Alpha
 
Join Date: Aug 2018
Posts: 22
Default

The M4A to mp3 converter script keeps crashing on line 17 after a while of download. Was there a fix to it?
Reply With Quote
  #1631  
Old 28.12.2020, 06:06
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 1,533
Default

Quote:
Originally Posted by Kaelthas View Post
The M4A to mp3 converter script keeps crashing on line 17 after a while of download. Was there a fix to it?
The script just passes the command to ffprobe, which fails to return valid JSON data. Most likely caused by ffprobe version which is not compatible (or corrupted?) with the encoded file. Can be confirmed by running the following command in the terminal/cmd window, on the media file which causes the crash.

Quote:
<path/to/ffprobe> -print_format json -show_streams -show_format <path/to/mediafile>
If confirmed, upgrading/replacing ffmpeg with a compatible version/new copy should fix it.
Reply With Quote
  #1632  
Old 29.12.2020, 10:24
Kaelthas Kaelthas is offline
JD Alpha
 
Join Date: Aug 2018
Posts: 22
Default

When the thing crash, it came up with "SyntaxError: Unterminated Object Literal (#17)". When I reboot Jdownloader, it works again, and it's not just limited to just one file but seemingly at random, but when there is a long list of files to process. The minimum so far was 10 files. Also, I'm barely entry level in terms of programming and such, so I don't know what it means when you tell me to run that command string. I also don't know how to upgrade or replace the ffmpeg, as I googled and can't find an .exe file to do so.

Last edited by Kaelthas; 29.12.2020 at 10:52.
Reply With Quote
  #1633  
Old 29.12.2020, 11:21
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,290
Default

@Kaelthas:
can you provide screenshot of the shown error?
Does it happen for the same file or does the file work after restart?
__________________
JD-Dev & Server-Admin
Reply With Quote
  #1634  
Old 30.12.2020, 02:09
Kaelthas Kaelthas is offline
JD Alpha
 
Join Date: Aug 2018
Posts: 22
Default

It just come up with a dialog box with that message. It's happening seemingly at random at no particular one file. The process works again after a restart and having to re-download the thing to trigger the process.
Reply With Quote
  #1635  
Old 30.12.2020, 09:55
Kaelthas Kaelthas is offline
JD Alpha
 
Join Date: Aug 2018
Posts: 22
Default

Quote:
Originally Posted by Jiaz View Post
@Kaelthas:
can you provide screenshot of the shown error?
Does it happen for the same file or does the file work after restart?
Here is the attached screenshots.
Attached Thumbnails
Untitled.jpg   Untitled2.jpg  
Reply With Quote
  #1636  
Old 30.12.2020, 11:13
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,290
Default

Thanks
@mgpai: could you modify the script with debug, to write out the result of ffprobe to disk so we know what it returns and finally fail?
__________________
JD-Dev & Server-Admin
Reply With Quote
  #1637  
Old 30.12.2020, 11:51
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 1,533
Default

Quote:
Originally Posted by Jiaz View Post
... script with debug, to write out the result of ffprobe to disk ...
Code:
// Convert aac/m4a/ogg files to mp3.
// Trigger required: "A Download Stopped".
// Requires ffmpeg/ffprobe. Uses JD ffmpeg/ffprobe settings if available.
// Overwrites destination file (mp3) if it already exists.

if (link.isFinished()) {
    var fileName = link.name.replace(/(.+)(\..+$)/, "$1");
    var fileType = link.name.replace(/(.+)(\..+$)/, "$2");
    var sourceFile = link.getDownloadPath();
    var audioFile = /\.(aac|m4a|ogg)$/.test(sourceFile);

    if (audioFile) {
        var downloadFolder = package.getDownloadFolder();
        var destFile = downloadFolder + "/" + fileName + ".mp3";
        var ffmpeg = callAPI("config", "get", "org.jdownloader.controlling.ffmpeg.FFmpegSetup", null, "binarypath");
        var ffprobe = callAPI("config", "get", "org.jdownloader.controlling.ffmpeg.FFmpegSetup", null, "binarypathprobe");
        var json = callSync(ffprobe, "-v", "quiet", "-print_format", "json", "-show_streams", "-show_format", sourceFile);

        writeFile(JD_HOME + "/ffrpobe output.txt", json + "\r\n\r\n", true); // will be created in JDownloader install folder

        try {
            var data = JSON.parse(json);
            var streamsBitrate = data.streams[0].bit_rate ? data.streams[0].bit_rate : 0;
            var formatBitrate = data.format.bit_rate ? data.format.bit_rate : 0;
            var bitrate = Math.max(streamsBitrate, formatBitrate) / 1000;
            var deleteSourceFile = false; // Set this to true to delete source file after conversion.

            if (bitrate > 0) {
                callSync(ffmpeg, "-y", "-i", sourceFile, "-b:a", bitrate + "k", destFile);
                if (deleteSourceFile && getPath(destFile).exists()) deleteFile(sourceFile, false);
            }
        } catch (e) {
            alert("Could not convert " + sourceFile);
        }
    }
}
Reply With Quote
  #1638  
Old 06.01.2021, 13:51
user135711 user135711 is offline
DSL Light User
 
Join Date: Jul 2018
Posts: 34
Default

In your youtube download to html page script, why do you call .prop() on string literals and not jquery selectors? "YT_VARIANT".prop()
Reply With Quote
  #1639  
Old 07.01.2021, 08:35
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 1,533
Default

Quote:
Originally Posted by user135711 View Post
In your youtube download to html page script, why do you call .prop() on string literals and not jquery selectors? "YT_VARIANT".prop()
Code:
// Get link property
String.prototype.prop = function() {
    return link.getProperty(this);
};

It is not a a JQuery method. It is prototype added by me to the Javascript String object and named as such by sheer coincidence.
Reply With Quote
  #1640  
Old 08.01.2021, 17:57
SMS SMS is offline
Mega Loader
 
Join Date: Jun 2019
Posts: 64
Default

How do I tell the Event Scripter to add/download a certain link to a different custom local filnename (instead of the original online filename)?

addLinks doesn't seem to have a "filename" or "saveAs" argument.

Also the myObject coming out of
myObject = callAPI("linkgrabberv2", "addLinks", {"links": myURL});
doesn't seem to have .setName()
What methods and properties does it have, how do I use it? The API documentation says that it's a boolean, but I see an number called "id" inside.

Maybe I should somehow use renameLink, but how do I get the linkId from myObject? If I try to use myObject or myObject.id as the linkID, I get a null pointer exception.

Last edited by SMS; 08.01.2021 at 19:46.
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:34.
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.