#521
|
|||
|
|||
Quote:
Let me know if any of these can help you with your problem. Feel free to suggest any solution of your own. |
#522
|
|||
|
|||
hi mgpai,
i'm looking for a script that continues all skipped files every x mins. you already wrote something when there's no accout. can you please re-write that for all skipped files that have been skipped due to wrong / no captcha-input? Quote:
dpinbsp |
#523
|
|||
|
|||
Quote:
Code:
github.com/mgpai/resources/blob/master/jdownloader/eventscripter/scripts/dpinbsp.js |
#524
|
|||
|
|||
wow, that was fast
thank you very much, mgpai. |
#525
|
|||
|
|||
hi mgpai, the script works like a charm -thanks again
can you please add a line in the script: when it unskips a link and the queue processing ended already (for example because it was the last file in the queue), it should start queue processing again ( = the play button at the left top corner). |
#526
|
|||
|
|||
Quote:
Code:
github.com/mgpai/resources/blob/master/jdownloader/eventscripter/scripts/dpinbsp.js |
#527
|
|||
|
|||
Sorry, I searched and was wondering as I didn't find a reference easily and it may have been posted elsewhere.
The question is: as to where one would place the various scripts within JD. I know one can add them via the Event scripter under advanced but, when downloading the .JS scripts supplied at mgpai's github, Can we create a folder within for the scripts we wish to add or is that just not feasable? The same question of course applies to the other items at that site such as rules .json, filters .filter, rules .packagizer, etc. On a MAC OS version so it would apply to all versions of course as to where we can put the files as their updated within JD. Hope that made sense and I may be missing some important info on all of the possibilities Maybe a sticky would be good on how to wiht the various files for the various link_crawler, linkgrabber_filter, packagizer and eventscripter files - scripts, rules, etc TIA
__________________
OS X !0.6.8 Mac Pro Intel (Workhorse) OS X 10.13.6 MBP Intel 17" (Secondary) OS X MBP Intel 15" Dual boot 10.6.8 and 10.13.6 (as needed) |
#528
|
|||
|
|||
The contents of the file should be added to JD by pasting or importing, depending on the type of extension/setting.
Eventscripter [.js]
|
#529
|
|||
|
|||
Thanks mgpai, much appreciated.
Nice to know some can be imported while others still need to use the Settings and copy and paste implementation.
__________________
OS X !0.6.8 Mac Pro Intel (Workhorse) OS X 10.13.6 MBP Intel 17" (Secondary) OS X MBP Intel 15" Dual boot 10.6.8 and 10.13.6 (as needed) |
#530
|
|||
|
|||
hi,
is there any script that remove .rev from the linkcollector. By Standard it will only disable it. |
#531
|
|||
|
|||
Create Linkgrabber Filter rule and prevent them from being added to the list. If for any reason you prefer to add them to the list first and then remove them, I can provide a script.
|
#532
|
|||
|
|||
thank you. i didn't see it by myself.
|
#533
|
|||
|
|||
Hello mgpai. I'm looking for a script that will append tags/catergories from adult video page to its download file name. Take this link as an example : pornhub[dot]com/view_video.php?viewkey=1135728191 . If you go to the page you can see its catergory :Big Ass, Blonde, Teen, School, HD . So I want to automatically modify its name to :
NICE BLONDE GIRL - [Big Ass, Blonde, Teen, School, HD] Hope you can help me with this. Thanks in advance. |
#534
|
|||
|
|||
Quote:
Alternatively, you can use "Create Link" (Chrome) or "Make Link" (FF) extension to append the category to the url and parse it using packagizer rule. |
#535
|
|||
|
|||
Export to CSV file
Hi mgpai, I would like to know if it possible to output the downloaded completed files to CSV using event scripter?
My aim is to track files whether if it has been downloaded, extracted and etc.. via excel spreadsheet. |
#536
|
|||
|
|||
Quote:
If you need help modifying it or are looking for something entirely different, provide more details here or contact me in JD Chat. |
#537
|
|||
|
|||
Quote:
|
#538
|
|||
|
|||
I am currently available in chat room. You can contact me there.
|
#539
|
|||
|
|||
Might be possible to get categories using an external program. But, just like in eventscripter, I am getting an error in that too. If you are interested in testing it at your end, join me in JD Chat when you are free.
|
#540
|
|||
|
|||
hello mgpai,
can you help? I'm looking for a script that checks online status, every 15 seconds, for parts that were marked "file not found". And on top of that - if downloads are not running - then start downloads. |
#541
|
||||
|
||||
@chaostheory: why would the file switch back to online on later linkcheck? in case the file is shown as offline because some sort of temp block is in place, then we should update the plugin to handle that
__________________
JD-Dev & Server-Admin |
#542
|
||||
|
||||
irresponsible type of request, that could/would create ddos event....
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] |
#543
|
|||
|
|||
This is perfectly responsible. I am using filebit multihoster, downloading ~100 GB per night across ~50-100 links. Every single time I am waking up to 5-6 "file not found" statuses. I am forcing "check online status" and they're "suddenly" online and ready to be downloaded again.
GFYCAT: **External links are only visible to Support Staff****External links are only visible to Support Staff** I can reproduce it as many times as you want it. The reason I asked for script like that is right there. Every day I have 5-6 offline packages which leaves me usually with downloads at 95-99% percent that I need to force download manually to actually finish. Last edited by chaostheory; 30.12.2018 at 04:02. Reason: added gfycat |
#544
|
||||
|
||||
just the way you approach it is irresponsible
if you had 50 - 100 links requesting every 15seconds is 1 request every 1.2(50links)-0.6(100links) seconds. If it did this task once an hour sure or even half hour, but not every 15 seconds I would personally would like to find out why its happen vs making a work around (which is what Jiaz was alluding to). Maybe they are reporting offline or maybe a plugin issue because filename and or filesize can't be found. Maybe due to your request limit or download limit reached. Without seeing a log its hard to say why.
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] |
#545
|
|||
|
|||
First things first, I think you missed the part where I specifically wrote:
Quote:
Then there's at best ~10 links to check every 15 seconds. This is not much and wouldn't trigger a DDOS warning on providers end, there's no way. Hell, we can even up that time to 60 seconds or 120 seconds, this won't make much of a difference for provider/hoster, but it will for me. Last edited by chaostheory; 31.12.2018 at 03:04. |
#546
|
||||
|
||||
I read what you wrote buddy and fully understand what you said. I even agree with you that 10 parts it shouldnt create a ddos event (maybe it would with multiple hundred+ would more likely create this issue), files just its still the wrong approach. fix the underlying issue which is causing false positive (reporting as offline).
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] |
#547
|
|||
|
|||
Permissions required
Almost two years ago I had problems with the "permissions required" dialog that popped up every time my scripts accessed the file system.
https://board.jdownloader.org/showth...t=70525&page=3 Jiaz made a change to that behavior, and instead of popping up 9 times, it is now popping up only ONCE. Thank you for that! I do not want to seem greedy, but is it possible to add a solution that disables these alerts completely? I am aware of the security issues that might arise from using foreign scripts... how about adding a button next to "synchronous execution of script" (call it something like "grant all permissions"). This button would then affect only that specific script and allow scripters to optimize their own script without having to deal with this dialog again (and again and again...). Apart from that I noticed a new behavior of the editor, and I do not know whether it's a new feature or a bug: chars like ({["' always appear in pairs when I type them. Thus, typing a left bracket "(" results in "()". Last edited by umax; 10.01.2019 at 15:01. |
#548
|
|||
|
|||
Quote:
Code:
disablePermissionChecks(); It is a feature of the editorKit (JSyntaxPane) used by JD (updated a few months back). While it is meant to make writing scripts easier, it is doing quite the opposite (at least for me). |
#549
|
|||
|
|||
Code:
disablePermissionChecks(); Quote:
Quote:
For larger projects I will now use an external editor. |
#550
|
|||
|
|||
I think I found the bug in my code :(
Just in case anyone is interested, please find the fixed code below Code:
var JDOWNLOADER="**External links are only visible to Support Staff**; var data= { "passwords" : "", "source": "", "package": package, "urls": link, "submit": "submit" }; console.debug(JDOWNLOADER, data); GM.xmlHttpRequest({ method: "POST", url: JDOWNLOADER, data: objEncodeURIComponent(data), headers: { "Content-Type": "application/x-www-form-urlencoded" }, }); function objEncodeURIComponent(obj) { var str = []; for (var p in obj) if (obj.hasOwnProperty(p)) { str.push(encodeURIComponent(p) + "=" + encodeURIComponent(obj[p])); } return str.join("&"); } The original question (in German) can be found here: https://board.jdownloader.org/showthread.php?t=79637 ------------ Hi! I'm using a greasemonkey script to send my URLs to jDownloader. I also add package information. jDownloader just receives the links, the package is ignored. My assumption is, that the packagizer interferes here and sorts my links under "Various Files". How can I fix that? This is the part of the code which sends to jDownloader: Code:
var JDOWNLOADER="**External links are only visible to Support Staff**; var data= { "passwords" : "", "source": "", "package": package, "urls": link, "submit": "submit" }; console.debug(JDOWNLOADER, data); GM.xmlHttpRequest({ method: "POST", url: JDOWNLOADER, data: "password=&source=&package=&submit=submit&urls=" + encodeURIComponent(link), headers: { "Content-Type": "application/x-www-form-urlencoded" } } }); I'm not sure whether or not it's important, but the package name contains spaces. Last edited by Skeeve; 18.01.2019 at 15:29. |
#551
|
||||
|
||||
You're welcome to post it here as it could be helpful for other users
-psp-
__________________
JD Supporter, Plugin Dev. & Community Manager
Erste Schritte & Tutorials || JDownloader 2 Setup Download |
#552
|
|||
|
|||
Need a JDownloader2 + Filebot Script or help creating one
I am trying to use the scripter program in the JDownloader2 GUI program.
I am wanting it process my downloads when they complete by running a script/event trigger that tells it to run filebot with the amc script. Rednoah on another page suggested that I use var script = 'C:/jdownloader-postprocess.cmd' which is a Windows cmd file that I think he created but I put that in the script and nothing triggers filebot after the download completes. He suggested I come here for help on this and also to check the log files. My other issue is where are the log files for my event script or how do I get it to create one so I can try and figure this out. Thanks for any help on this. |
#553
|
|||
|
|||
Could someone help me make a event script?
Hello,
Could someone help me make a event script / trigger in JDownloader2? This is on Windows 10 64 bit also. I want it to trigger after my downloads complete. Once the file downloads I want it to run filebot and the amc script to process the video files and rename them and move them to the correct folder. If I could get some help on creating this it would be great. |
#554
|
||||
|
||||
Merged EventScripter threads.
-psp-
__________________
JD Supporter, Plugin Dev. & Community Manager
Erste Schritte & Tutorials || JDownloader 2 Setup Download |
#555
|
|||
|
|||
@chest069: Make sure the script is located in the specified path. You can contact me in JD Chat if you need any help with the troubleshooting.
|
#556
|
||||
|
||||
Quote:
__________________
JD-Dev & Server-Admin |
#557
|
|||
|
|||
I would like to trigger updates after a reconnect, can you tell me how to modify the script for this?
Why dont't you need to check isDonwloading() ? thank you. |
#558
|
|||
|
|||
It might better to restart and update "Before a Reconnect". Running it "After a Reconnect", may interrupt downloads or any other activities which have started immediately after the reconnect, in which case updating while idle is a better option.
This script can also be used with "After a Reconnect" trigger. Code:
// Restart and update, if updates are available // Trigger: Before a Reconnect if (callAPI("update", "isUpdateAvailable")) callAPI("update", "restartAndUpdate"); It does check if downloads are running (isDownloadControllerIdle()). |
#559
|
|||
|
|||
Oh, so the line
// Trigger Required: "Interval" is not a comment. Thank you. |
#560
|
|||
|
|||
well, obviously I missed something. Reading more about it the event scripter requires json code. Bin I dont find a howto for it. Is there an howto or do I have to try to get it working using examples?!
|
Thread Tools | |
Display Modes | |
|
|