#1301
|
|||
|
|||
![]()
I will look for it. Does it respect extraction settings from Extractor plugin?
|
#1302
|
|||
|
|||
![]()
Yes.
|
#1303
|
|||
|
|||
![]()
Is possible to make 1 download after another with pause between?
Say when many downloads start at the same time, but thats not good. I want start 1 download, wait x seconds, next downloads, wait again x seconds. And so on. So not downloads start at the same time. |
#1304
|
|||
|
|||
![]()
Hello,
i have a small problem but it is not solvable without a Script. I have searched this thread for the solution but i only understand nothing. In german we say "Ich verstehe nur Bahnhof" because i am a noob in programming. My problem is not solvable with only the linkcrawler rules. The Tab title should be the package name and only the biggest package (Best quality) should be downloaded. And only from one hoster (Uploaded). Here is a sample link **External links are only visible to Support Staff****External links are only visible to Support Staff** Only Full HD Download, with Tab title as package name (which contains actor, title and production company) and only from Uploaded. Is this possible and can someone write me a script? Greetings from germany ![]() |
#1305
|
|||
|
|||
![]() Quote:
Set target speed to more than your connection speed. For e.g., if you have a 50 Mbit connection, and you need to start a download every 30 seconds, limiting max dowloads to 20, use the following: GeneralSettings.automaxdownloadsspeedlimit : 7500000 [bytes] GeneralSettings.automaxdownloadsspeedlimitmaxdownloads : 20 GeneralSettings.automaxdownloadsspeedlimitmindelay : 30000 [milliseconds] Please note, the max. sim. download in GUI will always show '1', since JD will automatically increase it based on your setting and reset it again. |
#1306
|
|||
|
|||
![]() Quote:
|
#1307
|
||||
|
||||
![]()
@mgpai
Indeed you are right lol. I've told this user already that it would be impossible usign only LinkCrawler rules. Sorry and thanks for the hints ![]() But this is only half of what he wants ... He wants to have only the BEST quality downloadurls from that site which is, if you ask me, not possible using our simple LinkCrawler rules. -psp-
__________________
JD Supporter, Plugin Dev. & Community Manager Erste Schritte & Tutorials || JDownloader 2 Setup Download ----------------------------------- On Vacation / Im Urlaub Start: 2023-12-09 End: TBA |
#1308
|
|||
|
|||
![]() Quote:
I had a quick look at the page source and this regex should return all Full HD links. In case it is not possible to isolate the preferred hoster links in the deeppattern code, a linkfilter rule can be use to block unwanted hosts. Perhaps you could help implementing it in the linkcrawler rule. ![]() Code:
regex101.com/r/x9BhMi/1 |
#1309
|
||||
|
||||
![]()
You mean like this?
Code:
[ { "enabled" : true, "updateCookies" : true, "logging" : false, "maxDecryptDepth" : 1, "name" : "girlscanner.cc example best quality only", "pattern" : "**External links are only visible to Support Staff**, "rule" : "DEEPDECRYPT", "packageNamePattern" : null, "passwordPattern" : null, "formPattern" : null, "deepPattern" : "(?s)(FoLinks.+?FoLinks)", "rewriteReplaceWith" : null } ] Hm but e.g. this one does not work for me either (and yes I know it is not complete yet): Code:
[ { "enabled" : true, "updateCookies" : true, "logging" : false, "maxDecryptDepth" : 1, "name" : "girlscanner.cc example best quality only", "pattern" : "**External links are only visible to Support Staff**, "rule" : "DEEPDECRYPT", "packageNamePattern" : null, "passwordPattern" : null, "formPattern" : null, "deepPattern" : "data-target=\"FullHD\"(.+)", "rewriteReplaceWith" : null } ]
__________________
JD Supporter, Plugin Dev. & Community Manager Erste Schritte & Tutorials || JDownloader 2 Setup Download ----------------------------------- On Vacation / Im Urlaub Start: 2023-12-09 End: TBA |
#1310
|
|||
|
|||
![]()
Hi mgpai
The Instagram plug-in allows only the last x files to be downloaded. But this doesn't work correctly. It would also be much better to be able to specify an earliest upload date. I have 5k urls in my txt file. jdownloader crashes when I load more than few 100 at a time. Why? Do you know any tricks to work around these problems? Greetings, Sergei Last edited by qayaq; 13.04.2020 at 13:15. |
#1311
|
|||
|
|||
![]()
Hello,
I am new to this forum and no native speaker of English. So, hopefully I can convey my point in an understandable fashion. I read on this board about the possibility to convert downloads to MP3 via the employment of the event scripter. I also found the sticky thread with the event scripter scripts and the regarding script. // 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 data = JSON.parse(callSync(ffprobe, "-v", "quiet", "-print_format", "json", "-show_streams", "-show_format", sourceFile)); 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); } } } I have to admit that I have not the first idea about scripting at all. So, I copied and pasted the script into the event scripter. When I click on testrun it says it failed because in line 6 the link is not defined. I think it's the line which I highlighted. I did the highlighting just in this post not in the event scripter. I don't know how to fix this problem but I hope you can help me with this. I appreciate you took the time to read this. Greetings |
#1312
|
||||
|
||||
![]()
Merged EventScripter threads.
-psp-
__________________
JD Supporter, Plugin Dev. & Community Manager Erste Schritte & Tutorials || JDownloader 2 Setup Download ----------------------------------- On Vacation / Im Urlaub Start: 2023-12-09 End: TBA |
#1313
|
|||
|
|||
![]() Quote:
Make sure you have selected the correct trigger and enabled the script. Matching files should then be automatically converted when the download is completed. |
#1314
|
|||
|
|||
![]()
Hello, I hope I can ask my question here. Maybe there is someone who could help me with it or maybe there is already a script.
The script should do the following: After unpacking all archives of a JDownloader package all files in this package should be renamed. Example: The package in JDownloader is called "Movie (2020)". JDownloader is set to create a folder named like the package. After downloading and unpacking, the files should be renamed to the package name. For subtitles the language and if necessary "forced" should be appended. If "eng" found in file name add ".eng" else ".ger" and if "forced" found in file name add ".forced". These files are usually in a "Subs" folder and should be moved to the root directory "Movie (2020)". movie.2020.1080p.mkv -> Movie (2020) subs/movie.2020.1080p-ger.sub/idx -> Movie (2020).ger.sub/idx subs/movie.2020.1080p-ger.forced.sub/idx -> Movie (2020).ger.forced.sub/idx Is it possible to implement this with regex via the Event Scripter? Thanks in advance! |
#1315
|
|||
|
|||
![]()
Hallo zusammen,
ich habe ein Script geschrieben, welches auch super funktioniert. Aber leider nur, wenn ich das Verzeichnis welches ich kopieren will, in einen lokalen Ordner verschiebe mit moveTo(). Ist der Ordner ein mount, geht es nicht. Es haben beide Ordner die selben rechte und laufen auch unter dem selben user. Wenn ich im JDownlaoder den selben gemounteden Pfad als extracted Folder angebe, geht es auch nicht... Wie gesagt, JDownload läuft mit dem selben user wie der share in fstab gemounted ist. (cifs) Wenn ich unter diesem user von Hand ein Verzeichnis mache, geht es auch. Auf was muss ich noch achten ? Vielen Dank für die Hilfe |
#1316
|
|||
|
|||
![]()
Can use packagizer rules to move/rename files after extraction.
|
#1317
|
|||
|
|||
![]()
hi dear coders
how can event sctipt if file size then set skip file a packet downloading... ?? example if file size => 50 set skipped... PACKET ANIMALS monkey.wmw 900mb skipped eagle.mp4 45 mb download... fish.3gp 40 mb dowwnload... test.mp4 65 mb skipped . please help me |
#1318
|
||||
|
||||
![]()
Merged EventScripter threads.
-psp-
__________________
JD Supporter, Plugin Dev. & Community Manager Erste Schritte & Tutorials || JDownloader 2 Setup Download ----------------------------------- On Vacation / Im Urlaub Start: 2023-12-09 End: TBA |
#1319
|
|||
|
|||
![]() Quote:
Code:
// Skip links based on size and package name // Trigger: A Download Started var myPackageNames = ["package one", "package two", "package three"]; // Set package names to match (case-sensitive) var myLimit = 50; // <- Set size limit in MB var packageName = link.getPackage().getName(); var bytesTotal = link.getBytesTotal(); if (myPackageNames.indexOf(packageName) > -1 && bytesTotal > myLimit * 1000 * 1000) link.setSkipped(true); |
#1320
|
|||
|
|||
![]()
var links = getRunningDownloadLinks();
var skipped = []; for (i = 0; i < links.length; i++) { var link = links[i]; //alert(link.getBytesTotal()); if (link.getBytesTotal() < 654665445655643145728) { sleep(1000); link.setSkipped(true); } else { continue; } } if skip link wait 1 seconds after next link check etc.. resume. but i cant.. please help me. :outch: Last edited by drjs5x; 20.04.2020 at 17:33. |
![]() |
Thread Tools | |
Display Modes | |
|
|