#601
|
||||
|
||||
@mgpai: the bulk import has different format than the proxy list returns. requires a converter
__________________
JD-Dev & Server-Admin |
#602
|
|||
|
|||
Quote:
If any one wants to create a script and need any info/help with API, I can definitely try to help out. |
#603
|
|||
|
|||
Quote:
So, U won't have to worry about their life. Just make it grab proxies from there in every 15 mins. No, I haven't tried it yet. Can U explain a little bit more? |
#604
|
|||
|
|||
@Jiaz: I regular downloading new videos from some youtube channels (there is 7 channels). But every time JD put them in package Various files, because is only one video. I want that JD put these videos into packages with channel name.
But other links (if i downloading from some other channel or page) who are not from selected channels, it must put them in Various files. |
#605
|
|||
|
|||
Script Removed.
Last edited by mgpai; 20.02.2019 at 21:07. |
#606
|
|||
|
|||
Last edited by Jiaz; 21.02.2019 at 17:43. Reason: removed by jiaz |
#607
|
|||
|
|||
Also, I'm very new with all these so forgive my mistakes plz.
|
#608
|
|||
|
|||
Sorry. I don't take orders.
Quote:
Spoiler:
|
#609
|
|||
|
|||
Umm, I wasn't ordering U I was just suggesting that. Sorry if that sounded like I was ordering U. FYI, I was trying to suggest that if U could make a script that would order JD to grab proxies from there in every 15 mins then U wouldn't have to worry about proxy life.
Yes, I already tried that. But, there I have to put every proxy manually there if not using a script(for which I came here in the first place) for that. I thought there was already something automatic available. But, Thanks anyway for Ur time. Last edited by Cyberavater; 20.02.2019 at 21:40. |
#610
|
|||
|
|||
Understandable, Anyway thanks for Ur time.
|
#611
|
|||
|
|||
@jiaz Is there anyone else who might help me?
Last edited by Cyberavater; 20.02.2019 at 22:57. |
#612
|
|||
|
|||
Quote:
If the following conditions match.... Code:
Package Name > contains > mychannel1|mychannel2|mychannel3 (Enable Regex) SourceUrl(s) > contains > youtube Code:
Package Name > <jd:orgpackagename> |
#613
|
||||
|
||||
@Cyberavatar: h++ps is no valid protocol. that's why it fails
I'm sorry but maybe another community member will be able to help you with scripts. You could also ask one of those github users to write a converter that outputs the list in required format
__________________
JD-Dev & Server-Admin |
#614
|
|||
|
|||
LOL, I didn't put "h++ps" by my choice. It was in the script that mgpai gave me.
I doubt they'll do that. Anyways, thanks for Ur time. |
#615
|
||||
|
||||
@cyberavatar: yes, we use those because non whitelisted URLs will be blocked for others that's why he spelled it wrong
__________________
JD-Dev & Server-Admin |
#616
|
|||
|
|||
So, if I use the script with "tt" instead of "++" it'll work?
Although, I don't have the script to try it anymore. For some reason he removed it. |
#617
|
||||
|
||||
I don't know. I just wanted to inform about the reason for the error. I think he has the same doubts as me for such a script/support.
__________________
JD-Dev & Server-Admin |
#618
|
|||
|
|||
Code:
// Daily Backup // Trigger: JDownloader Started // External Program required: 7-zip (Console Version) var sevenzip = "/apps/7z/7za"; // <- Path to 7-zip binary var backupFolder = JD_HOME + "/JD Backup/"; // <- Folder to save the backup files (Will be created in JDownloader install location by default) (function() { var date = new Date().toISOString().match(/.{10}/); var backupPath = getPath(backupFolder + date + ".7z"); if (backupPath.isFile()) return; callAsync(null, sevenzip, "a", backupPath, JD_HOME + "/cfg"); })(); |
#619
|
|||
|
|||
Search Script for 9kw
Hi
I'm looking for a script for 9kw that checks the credit to stop the jdownloader when there is no more credit available. Would it be possible. |
#620
|
|||
|
|||
Quote:
In case you haven't already found, 9kw devleoper has posted a script here, which I think might be what you're looking for. Let me know if you need any help with it. |
#621
|
|||
|
|||
Hi MGPAI
Do you take requests? I need a script that can do pre filtering for instagram by checking file on disk with download list and disable/remove those links that are already on disk and not check with actual download attempt. Thanks in advance for your answer! |
#622
|
|||
|
|||
how to embed scripts
Hi
I tried to integrate the scripts from thecoder2012, but did not work. Can someone give me a guide on how to properly integrate scripts. Many Thanks |
#623
|
||||
|
||||
What problems do you have with the script? any errors? what exactly do you need help with?
__________________
JD-Dev & Server-Admin |
#624
|
|||
|
|||
Quote:
Hi mgpai What and how do I have to enter exactly at name == Export Urls. |
#625
|
|||
|
|||
The script shows no errors, but does not stop the download as soon as there is no more credit at 9kw.
|
#626
|
|||
|
|||
Quote:
Would it be possible to use this script also for 'skipped - captcha input' required, if so how do I have to change the script. |
#627
|
|||
|
|||
Quote:
Code:
// Disable (instagram) links if file exists on disk // Trigger: Remote API Event Fired if (event.id == "ADD_PACKAGE") { var data = JSON.parse(event.data); var package = getDownloadPackageByUUID(data.uuid); package.getDownloadLinks().forEach(function(link) { if (link.getHost() != "instagram.com") return; if (!getPath(link.getDownloadPath()).exists()) return; link.setEnabled(false); }) } |
#628
|
|||
|
|||
Quote:
Code:
setDownloadsPaused(true); Code:
stopDownloads(); Quote:
Code:
"NO_ACCOUNT" Code:
"CAPTCHA" |
#629
|
|||
|
|||
@bach: Looking at the timestamps of your posts, it seems like they are only visible to me/public only after they are approved by mods. Could be the same reason I missed one of them last time around. You can contact me in JD Chat if you find any of your posts missing here.
|
#630
|
|||
|
|||
Quote:
Hi mgpai I need your help for the queue script again. The script shows errors in the 23 line. Syntax Error: Unterminated objekt literal Error Report net.sourceforge.htmlunit.corejs.javascript.EcmaError: SyntaxError: Unterminated object literal (#23) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3629) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3613) at net.sourceforge.htmlunit.corejs.javascript.NativeJSON.parse(NativeJSON.java:125) at net.sourceforge.htmlunit.corejs.javascript.NativeJSON.execIdCall(NativeJSON.java:97) at net.sourceforge.htmlunit.corejs.javascript.IdFunctionObject.call(IdFunctionObject.java:89) at net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpretLoop(Interpreter.java:1531) at script.check9kw_queue(:23) at script(:6) at net.sourceforge.htmlunit.corejs.javascript.Interpreter.interpret(Interpreter.java:798) at net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.call(InterpretedFunction.java:105) at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.doTopCall(ContextFactory.java:411) at org.jdownloader.scripting.JSHtmlUnitPermissionRestricter$SandboxContextFactory.doTopCall(JSHtmlUnitP ermissionRestricter.java:119) at net.sourceforge.htmlunit.corejs.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3057) at net.sourceforge.htmlunit.corejs.javascript.InterpretedFunction.exec(InterpretedFunction.java:115) at net.sourceforge.htmlunit.corejs.javascript.Context.evaluateString(Context.java:1212) at org.jdownloader.extensions.eventscripter.ScriptThread.evalUNtrusted(ScriptThread.java:254) at org.jdownloader.extensions.eventscripter.ScriptThread.executeScipt(ScriptThread.java:148) at org.jdownloader.extensions.eventscripter.ScriptThread.run(ScriptThread.java:128) |
#631
|
|||
|
|||
Which script?
I have tested the first one, and it worked fine. I don't have a 9kw account, so I cannot check the second one, but that also appears to be fine. Look for any typos. If you post the script here (from your JD Installation) we can check it. |
#632
|
|||
|
|||
Quote:
This is the script that works for me and it always displays the error and disables the script. // Queue check for 9kw.eu // Trigger Required: Interval var newInterval = 10000; if (interval == newInterval) { check9kw_queue(); } else { interval = newInterval; } function check9kw_queue() { var settings_9kw = "org.jdownloader.captcha.v2.solver.solver9kw.Captcha9kwSettings"; var https = callAPI("config", "get", settings_9kw, null, "https"); var servercheck_page = '://www.9kw.eu/grafik/servercheck.json'; var servercheck; if (https == 1) { servercheck = getPage("https" + servercheck_page); } else { servercheck = getPage("http" + servercheck_page); } if (servercheck.match(/^\{/)) { var queue = JSON.parse(servercheck).queue; if (parseInt(queue) > 100) { //callAPI("downloadsV2", "setStopMark", linkUUID, -1);//Set stop mark on link //callAPI("downloadsV2", "setStopMark", -1, packageUUID);//Set stop mark on package setDownloadsPaused(true); //alert("High queue. " + "(" + queue + ")"); } else { //callAPI("downloadsV2", "removeStopMark");//Remove stop mark setDownloadsPaused(false); } } } |
#633
|
|||
|
|||
Seeing as you have not modified it, this too is working fine for me. Can you contact me in JD Chat? I can help you troubleshoot it.
|
#634
|
|||
|
|||
Hi
These scripts work 'Check for enough credits (captcha service 9kw.eu)' and 'Unskip 'account missing' links at user specified interval (for captchas)'. The problem, if these scripts are activated, no more captchas over 9kw will be solved. Where could the mistake be? |
#635
|
|||
|
|||
Quote:
|
#636
|
|||
|
|||
Please find me in JD Chat when you are free.
|
#637
|
|||
|
|||
Settings
Hi ! Is there a way to change settings (for example, checking or unchecking the "mininmize to tray" option) ?
I didn't found it in the help... Thanks ! Last edited by bobolecoco; 13.03.2019 at 13:19. |
#638
|
||||
|
||||
I do not see any such button in either linkgrabber or downloads for the two event triggers regardless that the eventscripter trigger menuitem is set to visible for both sections:
Linkgrabber Contextmenu Button Pressed DownloadList Contextmenu Button Pressed |
#639
|
||||
|
||||
@PRNet: did you customize the context menu to include those buttons?
__________________
JD-Dev & Server-Admin |
#640
|
||||
|
||||
Quote:
What exactly do you want to achieve?
__________________
JD-Dev & Server-Admin |
Thread Tools | |
Display Modes | |
|
|