#2541
|
||||
|
||||
![]()
Sounds like a script you want to use to either generate clicks and/or keep files online(?)
__________________
JD Supporter, Plugin Dev. & Community Manager Erste Schritte & Tutorials || JDownloader 2 Setup Download ----------------------------------- On Vacation / Im Urlaub Start: 2023-12-09 End: TBA |
#2542
|
|||
|
|||
![]()
I'm downloading 2TB worth of files and each files require captcha , that for normal user but once captcha is entered it's not required again, i want to load some bytes of that file (1%) so when my premium account ends i don't need to keep entering captcha each 1 minute...... it's like 1k files + and on each download need to wait 90 second that too much time ...
|
#2543
|
||||
|
||||
![]()
Ah I understand I didn't think of this.
Keep in mind though that those pre-generated direct-URLs may expire after a specified amount of time and/or once your IP changes. Also, where are you downloading from - usually in premium mode, captchas are not required.
__________________
JD Supporter, Plugin Dev. & Community Manager Erste Schritte & Tutorials || JDownloader 2 Setup Download ----------------------------------- On Vacation / Im Urlaub Start: 2023-12-09 End: TBA |
#2544
|
|||
|
|||
![]() Quote:
they are not generated .. they are to my luck static the function of captcha was just added for normal users lately due to server load so it's fine . |
#2545
|
||||
|
||||
![]()
Okay.
Well then good luck with that script!
__________________
JD Supporter, Plugin Dev. & Community Manager Erste Schritte & Tutorials || JDownloader 2 Setup Download ----------------------------------- On Vacation / Im Urlaub Start: 2023-12-09 End: TBA |
#2546
|
|||
|
|||
![]()
Hi
Please help me update this code I want this code to run only under a package-name For Example Package name is "10GB" all files under that package will run this code Trigger: A Download Stopped Code:
// Move downloaded files to user-specified folder // Trigger: A Download Stopped if (link.finished) { var destinationFolder = "/Users/admin/Desktop/Download/JDownloader/"; getPath(link.downloadPath).moveTo(destinationFolder); } I'm using a certain program that auto-upload the files under that folder if i use that as download directory it won't start uploading, probably because the temp file is on that folder and when it completes it ignores it. so I have to move it to different folder and then put it back so it start uploading. Thanks |
#2547
|
|||
|
|||
![]()
Is it possible to access the extracted Archive Name? Can't find the value here in examples of scripts or in the API?
I can get the ArchiveName how the archive itself is named. But not the folder name inside the archive what is extracted. I want to access it and pass it as an argument to my python script. Any clues? Code:
disablePermissionChecks(); var extractionFolder; var archiveName; package.getArchives().forEach(function (archive) { archiveName = archive.getName(); archive.getDownloadLinks().forEach(function (link) { while ( link.getExtractionStatus() == "IDLE" || link.getExtractionStatus() == "RUNNING" ) sleep(1000); }); }); var packagename = package.getName(); var folderLocation = package.getDownloadFolder(); var cmd = "python"; var script = "/output/Scripts/Uppy/sorter.py"; alert(packagename, extractionFolder, archiveName) var command = [cmd, script, packagename, folderLocation, extractionFolder] alert(callSync(command)) |
#2548
|
|||
|
|||
![]()
Hello,
Please, I'm doing downloads from Pixeldrain, and apparently even if I set max download from host to 1, it starts to ask recaptcha, maybe because I start the next download too fast after the last one finish. Would someone help me write a script just to wait like 60 seconds, between a finished download and the start of a new one? Last edited by Leonfake; 02.02.2023 at 21:58. |
#2549
|
||||
|
||||
![]()
So pixeldrain.com captchas can be avoided by waiting?
If yes: Waiting is enough or is an IP change required? If you want I can add a plugin setting for that.
__________________
JD Supporter, Plugin Dev. & Community Manager Erste Schritte & Tutorials || JDownloader 2 Setup Download ----------------------------------- On Vacation / Im Urlaub Start: 2023-12-09 End: TBA |
#2550
|
||||
|
||||
![]()
Nevermind I figured it out on my own.
I've added a plugin setting which lets you customize the behavior for pixeldrain whenever a captcha is required. At this moment the wait time is hardcoded (5 minutes) whenever a captcha is needed but you prefer to wait. Screenshot of the new setting (you will get that with our next set of CORE-updates): ![]() Bitte auf das nächste CORE-Update warten! Please wait for the next CORE-Update! Wartest du auf einen angekündigten Bugfix oder ein neues Feature? Updates werden nicht immer sofort bereitgestellt! Bitte lies unser Update FAQ! | Please read our Update FAQ! --- Are you waiting for recently announced changes to get released? Updates to not necessarily get released immediately! Bitte lies unser Update FAQ! | Please read our Update FAQ! -psp-
__________________
JD Supporter, Plugin Dev. & Community Manager Erste Schritte & Tutorials || JDownloader 2 Setup Download ----------------------------------- On Vacation / Im Urlaub Start: 2023-12-09 End: TBA Last edited by pspzockerscene; 03.02.2023 at 16:29. Reason: Added screenshot |
#2551
|
|||
|
|||
![]() Quote:
About the question, I think yes, but, also there is some files which ask for captcha because they say them have "unsual traffic", but, if you have a lot of files from Pixeldrain in queue, and one asks for captcha, the other ones will start to ask too. There is another thing, when I'm starting them manually, and a file asks for captcha, so I go to another after a few time, it starts normally. But if JD does that, he does very fast, and then maybe the Pixeldrain detect suspicious action, starting to ask captcha for all files. I don't know if after a certain time it resets, I was using a VPN to change IP everytime it started to ask captcha for all files. Quote:
Off-topic: I have a bit of OCD, I just would like to suggest about your lines of update, you put "please read our faq" in english and deutsch in both, would be better if you put the english one only in the english paragraph and the deutsch one only in the deutsch paragraph.. ![]() ![]() |
#2552
|
|||
|
|||
![]() Quote:
![]() |
#2553
|
|||
|
|||
![]()
Hello,
Is there any Script that renames the files to be downloaded and names them the title of the page? In my case, I download videos from pages and it's sometimes confusing since it comes with the name of the video file that was uploaded to that page by default, so it doesn't even come with the name of the video or anything similar, that complicates searching for it after downloading it. Last edited by Alexpark24; 10.02.2023 at 19:57. |
#2554
|
||||
|
||||
![]() Quote:
Please try my changes first and then feel free to provide feedback to further improve that. Quote:
Quote:
Apart from this small thing though I'm always open for feedback. Quote:
Feel free to rpovide early feedback to my changes.
__________________
JD Supporter, Plugin Dev. & Community Manager Erste Schritte & Tutorials || JDownloader 2 Setup Download ----------------------------------- On Vacation / Im Urlaub Start: 2023-12-09 End: TBA |
#2555
|
|||
|
|||
![]()
A script that automatically resumes / continues (called "Fortsetzen" in German) all of the links in the download list every minute, 5 min., 10 min. (or in a user defined time) would be great.
![]()
__________________
Aktuelles Windows Last edited by Dockel; 14.02.2023 at 13:50. |
#2556
|
|||
|
|||
![]() Quote:
|
#2557
|
||||
|
||||
![]()
@Alexpark24
Context please: - Which links are you trying to download? - Which filenames do you get now? - How would your desired filenames look like? [Please provide examples]
__________________
JD Supporter, Plugin Dev. & Community Manager Erste Schritte & Tutorials || JDownloader 2 Setup Download ----------------------------------- On Vacation / Im Urlaub Start: 2023-12-09 End: TBA |
#2558
|
|||
|
|||
![]() Quote:
1) links to anime pages (the videos on those pages to be exact) I do a deep analysis and jdownloader brings me the video files directly example link: **External links are only visible to Support Staff**..., After the analysis it leaves me several video files named like this: 7inspectre.mp4 with link of :**External links are only visible to Support Staff**... 2) and what I wanted was for the script to rename it and it would look like this: Kyokou Suiri Season 2 episodio 7 — MonosChinos.mp4, that name is the title of the page. 3)of course I have several pages from which to do analysis to download the videos: **External links are only visible to Support Staff**... **External links are only visible to Support Staff**... **External links are only visible to Support Staff**... **External links are only visible to Support Staff**... **External links are only visible to Support Staff**... **External links are only visible to Support Staff**... I think I have given you the information you need. anyway and in advance thank you very much for paying attention and helping me.;) |
#2559
|
||||
|
||||
![]()
I can't help you with the script but to be able to rename those files accordingly, JD has to obtain the "better"/"real" title from somewhere and it doesn't have access to that html code so the only possible source is the source-URL.
Does that contain the title? About all links in your recent reply: They've been eaten by a rare forum bug. Please either re-post them or put them into a .txt file and attach that to your next reply so that I can see them. EDIT To sum this up: Either way I don't think that script will help you. I think you got false expectations on what that script is doing.
__________________
JD Supporter, Plugin Dev. & Community Manager Erste Schritte & Tutorials || JDownloader 2 Setup Download ----------------------------------- On Vacation / Im Urlaub Start: 2023-12-09 End: TBA |
#2560
|
|||
|
|||
![]()
Getting tired of editing filenames of topic-related links from Mixcloud, I've written an Event Script, which normalises the commonly encountered variations to what I want. That part is actually working fine, but while I was at it, I thought I might as well influence the package name too, by checking it matches my preferred format, or perhaps by parsing and expanding a #abbreviation_tag. Here I have encountered behaviour I don't understand, related to interaction between the 'Information overwrites packagizer rules' checkbox found on the 'Analyse and Add Links' dialog, and the script. Script and screenshots follow:
Code:
//FHK 2023 02 19 - Normalise spelling/capitalisation of PoTP file captures from Mixcloud // Trigger required: Packagizer Hook String.prototype.includes = function(str2) { return this.indexOf(str2) > -1; } var packLink = link; var inPack; var inHost; var inName; var outName; var outPack; var subst; var regex; var inPack = packLink.getPackageName(); alert(state + " 1 inPack: " + inPack); inHost = packLink.getHost(); if (inHost.includes("mixcloud.com")) { inName = packLink.getName(); regex = new RegExp("(pick of the pops)|(potp)", 'gi') subst = "Pick of The Pops"; outName = inName.replace(regex, subst); if (outName.includes(subst)) { packLink.setName(outName); if (inPack.includes("PoTP")) { // leave as-is } else { //alert(inPack + " does not include 'PoTP'"); alert(state + " 2 Setting Package to 'PoTP '") packLink.setPackageName("PoTP "); } } outPack = packLink.getPackageName(); alert(state + " 3 Confirmed outPack set to: " + outPack); } **External links are only visible to Support Staff** Above: Null Package name, checkbox unset. Below: Script receives default Package name. Script sets new Package name as intended. Nothing to argue about. **External links are only visible to Support Staff** Case 2: **External links are only visible to Support Staff** Above: New Package name supplied, checkbox unset. Below: Script receives default Package name, not user-supplied one. Where did 'wibble' go? Is there a method to access 'wibble', otherwise why is this field enabled in this situation? Shouldn't script be given a chance to decide whether to use it to contribute to built-in packagizer rules? **External links are only visible to Support Staff** Case 3: **External links are only visible to Support Staff** Above: Null Package name, checkbox set. Below: Script receives default Package name. Script sets new Package name as intended. Nothing to argue about. **External links are only visible to Support Staff** Case 4: **External links are only visible to Support Staff** Above: New Package name supplied, checkbox set. Below: Script does receive user-supplied Package name 'wibble'. Debug alert()s show Package name is changed by script - and read back as confirmation. When Packagizer state is 'AFTER', Package name is still read as what the script set on the "BEFORE" pass. But the main LinkGrabber pane shows that the Package name set in reality is 'wibble', despite twice having read back a different value during the script's 2 passes. If this is intended behaviour, perhaps the PackageName() method should return a status value to signal success or failure reason? **External links are only visible to Support Staff** As things stand, my script either (case 2) has the ability to change the package name, but is unable to receive input from the user to influence its behaviour, or (case 4) it is able to receive user input, is able to manipulate that information, but is prevented from applying any modification. This seems over-restrictive to me. Test link: <**External links are only visible to Support Staff****External links are only visible to Support Staff**[0]=AT3eXG8WEU6WO5zKysBFAXRpf0zFCNOEAF2ZrUHaXeDB9rYFAAdpkQldG41VxqWYguzbB_gOTxHoljswA5SJm46su_W6GxhxRrJ OLGpbwoWuuWRfJd_5Pj6_YB7oijkjZkXx21a4UoP8hfD0HOJxYlLfb9Pw1XbBbO5TQ6QwuPeef3OCsvoZRm6Qvd21n-HUldG84FQUPgDYPu8Q937UoDU> PS, What processes happen between "BEFORE" and "AFTER" in a Packager Hook script? Last edited by Nimboid; 23.02.2023 at 02:27. Reason: Added Test Link |
![]() |
Thread Tools | |
Display Modes | |
|
|