#2221
|
|||
|
|||
![]()
[QUOTE=mgpai;503641]
You can use this to get the count of links which for which hashcheck has been disabled 4657 Links ... ![]() Testet a small file, no crc check occured ... so it it worked ![]() Thanx again. Last edited by Mydgard; 04.06.2022 at 18:08. |
#2222
|
|||
|
|||
![]()
I have tested only on list with few links, so not sure how long it will take for 10k+ links. How many of those are unfinished links? If in doubt, I can modify the script to display a message at the end. You will have to restart JD (to abort the current script if it is running) and add the new script and run it again.
|
#2223
|
|||
|
|||
![]() |
#2224
|
|||
|
|||
![]() Code:
/* Export link info Trigger : Downloadlist contextmenu button pressed Customizze downloadlist context menu > Add a noew "Eventscripter Trigger" button > Rename it to "Export link info" */ if (name == "Export link info") { var file = JD_HOME + "/" + Date.now() + ".tsv"; var data = []; dlSelection.links.forEach(function(link) { data.push([getPath(link.downloadPath).extension, link.name, link.bytesLoaded, link.downloadPath, link.url].join("\t")); }) if (data.length) { writeFile(file, data.join("\r\n"), true); } } |
#2225
|
|||
|
|||
![]()
@mgpai: All unfinished ... why should i hold finished links in jd2? Before you may ask: yes all those links are around 22,91 TB of space i don't have actual ... some of them are somewhat older
![]() Last edited by Mydgard; 04.06.2022 at 18:36. |
#2226
|
|||
|
|||
![]() Quote:
![]() |
#2227
|
|||
|
|||
![]()
Okay?
![]() Any chance to give me fix script to find those dupes? |
#2228
|
|||
|
|||
![]()
Hi mgpai,
I'm running my JD on a remote vps as a download station, and I ssh to the vps and upload the downloaded file to a transfer site called oshi.at using the command Code:
curl -T /path/to/file **External links are only visible to Support Staff** Thank you. |
#2229
|
||||
|
||||
![]()
@slcf2003: you should also explain what to do then
![]() ![]() Yes you can, see/search this thread, there are many examples how to execute external tool/script.
__________________
JD-Dev & Server-Admin |
#2230
|
||||
|
||||
![]() Quote:
Quote:
I'm sure mgpai can help with this, but you will have to decide the condition. because filename alone is unsafe. also you have to decide if you only want to check against safe or unsafe filename/filesize. Safe = JDownloader will use the filename/filesize for downloading (eg information provided by an api) while unsafe means that filename or size can still change. Maybe you should try to do a teamviewer session with mgpai(or us) and explain him what you want to achieve, so he/us can take a look at the *situation* and provide better help!
__________________
JD-Dev & Server-Admin Last edited by Jiaz; 05.06.2022 at 16:15. |
#2231
|
|||
|
|||
![]() Quote:
|
#2232
|
|||
|
|||
![]()
Hi ! I try to make a script to let JD to search some direct links from a board where it's needed to be logged in to view those direct links; but I can't fin dexample...Could you help me please? thanks
|
#2234
|
||||
|
||||
![]()
@Tomrich: close JDownloader/kill running process and the same command line can be used
Quote:
else contact us via support@jdownloader.org and we can take a look at it together
__________________
JD-Dev & Server-Admin |
#2235
|
|||
|
|||
![]()
Script Request - Split larger than x_size and move them to folder
1. Download Files (extensions are usually, .rar .zip .exe .dmg .apk) 2. Download Finished (Extraction of .rar or .zip is not required) 3. If filesize is smaller than 999 MB move to folder A 4. Else, Split Files into parts to a certain size, usually 999 MB parts (Size999.part1.rar, Size999.part2.rar) 5. Move split files to folder A Last edited by xefeg; 09.06.2022 at 10:18. |
#2236
|
|||
|
|||
![]()
Script - Move downloaded files from specific folder to folder A
Using Packagizer, I sort my files based on the host it downloaded. Here is what I need. 1. Download from Google.com 2. Folder for Google.com is Folder A using Packagizer 3. Move files from Folder A to Folder B Solution is here by mgpai https://board.jdownloader.org/showpo...6&postcount=35 Last edited by xefeg; 09.06.2022 at 13:52. Reason: Request filled and link to the script |
#2237
|
||||
|
||||
![]()
@mgpai or anyone who can help
NEW REQUEST Adding (random) delays between requests and/or downloads Many webpages detect too many requests/downloads in a short period of time and then block the user IP for some time. That's why with some Download Managers the user can define delays between requests/downloads. If possible, a script for this would really be appreciated. A possible URS would look like this A) Timer definition (optional!) The user can either define a fixed delay in seconds. Optional (not that important): User can define a random delay between X and Y seconds. Note: To make things not too complicated, a script with a fixed delay, e.g. 2 seconds, would be fine with me. B) (Random) delay while grabbing links Link grabbing must be reduced to only one request at a time. After a request has been sent by JD, the 'programmed' timer will start. Once the timer has run out, the next request will be sent. C) (Random) delay while downloading Max. simultaneous downloads should work as usual. Let's assume the limit was set to 3: JD should start with the first download. At the same time the 'programmed' timer will start. Once the timer has run out, the second download will be started. Again the 'programmed' timer will start. Once the timer has run out, the third download will be started. Once again, the 'programmed' timer will start. If one of those three downloads has been finished, a new download will not be started before the timer has run out. PS: I filed this as a feature request first, but it was declined. At the same time pspzockerscene recommended to ask for such a script here. |
#2238
|
||||
|
||||
![]() Quote:
A.) you can use sleep command in scripts B.) @mgpai: you could use packagizer hook here to add sleep/wait in linkcrawler C.) @StefanM: you can add sleep/wait before/after a download start/finish but only on download/link level NOT on request level @mgpai: synchronous script with dummy script Quote:
__________________
JD-Dev & Server-Admin Last edited by pspzockerscene; 09.06.2022 at 17:28. Reason: Fixed typo |
#2239
|
||||
|
||||
![]()
Why the need to split them? Please know that this will most likely break (manual) extraction of multipart archives when a single part is larger and split. for example: first file might be Size999.part1.part1.rar, Size999part1.part2.rar and second file Size999.part2.rar
__________________
JD-Dev & Server-Admin |
#2240
|
|||
|
|||
![]() Quote:
|
![]() |
Thread Tools | |
Display Modes | |
|
|