#2081
|
|||
|
|||
![]()
so each time i add a pornhub link i get up to 8 files in the linkgrabber, is there a script already to make it discard the extra hits and old select the non-hls stream of the highest quality.
i've looked and not seen a bug report, or a script, on this idea, but will admit that this is a long ass thread and hard to search |
#2082
|
||||
|
||||
![]()
Event Scripter zusammengeführt / merged EventScripter scripts.
@gentle und Tobi573 Bitte hier im Thread nachfragen/ auf Antwort warten. @qwksilver No script needed. See: Settings -> Plugins -> pornhub.com -> Enable "Always only grab the best resolution available". -psp-
__________________
JD Supporter, Plugin Dev. & Community Manager Erste Schritte & Tutorials || JDownloader 2 Setup Download ----------------------------------- On Vacation / Im Urlaub Start: 2023-12-09 End: TBA |
#2083
|
|||
|
|||
![]() Quote:
Wie Ist der command "Start erzwingen"? How is the "force start" command? |
#2084
|
|||
|
|||
![]() Quote:
Code:
// ForceDownload (with PLUGIN_DEFECT) // Trigger Required: "Interval" // Set interval to 60000 (60 seconds) or more var links = getAllDownloadLinks(); for (i = 0; i < links.length; i++) { var link = links[i]; if (link.getStatus()) { if (link.isEnabled() && link.getFinalLinkStatus() == "PLUGIN_DEFECT") { //OFFLINE,FAILED_TOTAL,PLUGIN_DEFECT callAPI("downloadsV2", "forceDownload", [link.getUUID()], []);//link.reset(); } } } |
#2085
|
|||
|
|||
![]()
Regrading this Thread is there property like "hash" or function setHash() on a "myCrawledLink" Object or on a similar one. I didn't find one, and myCrawledLink only has the function " myCrawledLink.getHashInfo();" or "myCrawledLink.setProperty(myString, myObject);" but for the second one it's required to know the exact required structure to set the hash of the link. Has Anyone genereally an Idea how to set the Hash with the EventScript API?
Thx in advance |
#2086
|
|||
|
|||
![]() |
#2087
|
|||
|
|||
![]()
Thanks
![]()
__________________
:outch: |
#2088
|
||||
|
||||
![]()
@mgpai
Thanks again for helping out! Any idea how to help here? Basically: - Add button to sort after active status --> On click, sort after status "Not enough traffic available (XX MB required) -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; 02.02.2022 at 17:07. Reason: Added missing link to thread |
#2089
|
|||
|
|||
![]()
Good afternoon. I want to ask you this. Is there a script that can check given links for new files and download them? I was advised here is a set of commands.
1. Add profiles of users XY every X days 2. Check agains already downloaded files/duplicates in your downloadlist and remove them. 3. Move the now remaining newly found items to the downloadlist and download them. |
#2090
|
|||
|
|||
![]()
I just spent over an hour trying everything I could to make JDownloader download webm (vp9) by default, but download h.264 if no vp9 is available. Here is my advanced settings: what am I doing wrong? It's ignoring my choices, and serves me MP4 and AAC for no apparent reason. I have the "Normal video" box checked in the YT Plugin settings, but I know I can't choose "best webm" and "best h.264" because then it will download both. Thanks in advance for the help.
https://imgur.com/H2P5DWr Quote:
Last edited by jeffr; 10.02.2022 at 23:59. |
#2091
|
|||
|
|||
![]()
In your settings 'RESOLUTION' has a higher priority than 'VIDEO_CODEC'. Most likely the highest resolution in the url you are trying to add is available only in H.264 and not VP9.
|
#2092
|
|||
|
|||
![]()
Hi,
I need a script to rewrite the host URL during a crawling job. Many hosts keep changing their domain names which break their JDownloader plugins for many weeks until a its fixed in a JDownloader update. In the meanwhile I was wondering if its possible to use an Event Script to rewrite the URLs during a crawling job? Most recently I am facing problems with clicknupload.cc which has changed to clicknupload.to |
#2093
|
|||
|
|||
![]() Quote:
Code:
[{ "pattern" : "(https?://clicknupload.)to(/.+)", "rule" : "REWRITE", "rewriteReplaceWith" : "$1co$2" }] |
#2094
|
|||
|
|||
![]() Quote:
Code:
/* Filter and sort by package status Trigger : Toolbar button pressed Customize toolbar > Add a new "Eventscripter Trigger" button > Rename it to "Sort by status" */ var filter = "Not enough traffic available"; if (name == "Sort by status") { callAPI("downloadsV2", "queryPackages", { status: true }).filter(function(package) { return package.status && package.status.indexOf(filter) > -1; }).sort(function(a, b) { var x = a.status.toLowerCase(); var y = b.status.toLowerCase(); return x < y ? -1 : x > y ? 1 : 0; }).reverse().forEach(function(package) { callAPI("downloadsV2", "movePackages", [package.uuid], -1); }) } Last edited by Jiaz; 06.10.2022 at 11:05. |
#2095
|
|||
|
|||
![]() Quote:
Code:
/* Add urls Trigger : Interval Recommended : 3600000 (1 hours) or more */ var file = "c:\\downloads\\urls.txt"; // valid path separators "\\" or "/" try { var links = readFile(getPath(file)); callAPI("linkgrabberv2", "addLinks", { links: links }) !isDownloadControllerRunning() && startDownloads(); } catch (e) {}; |
#2096
|
||||
|
||||
![]()
@mgpai
Regarding post #2094: Thanks! I've forwarded that to the user. -psp-
__________________
JD Supporter, Plugin Dev. & Community Manager Erste Schritte & Tutorials || JDownloader 2 Setup Download ----------------------------------- On Vacation / Im Urlaub Start: 2023-12-09 End: TBA |
#2097
|
|||
|
|||
![]()
@psp: Most Welcome.
![]() |
#2098
|
|||
|
|||
![]() Quote:
Thanks works perfectly |
#2099
|
|||
|
|||
![]() Quote:
![]() |
#2100
|
|||
|
|||
![]()
Hi,
sometimes links are flagged as "insufficient space". I'd like to retry such links after a certain time (finished files are constantly moved off the drive, thus freeing up space). Any ideas how this can be done? |
![]() |
Thread Tools | |
Display Modes | |
|
|