#1
|
|||
|
|||
![]()
Sorry if it was already posted. I looked through the 78-page thread and couldn't find anything similar...the stuff i've tried to stitch together from existing scripts also didn't work as intended.
My issue is that i'm using a multihoster which randomly flags their supported domains as not working and those links get stopped with the error "Skipped - Account is missing". They start working again after a random time has passed, but i don't know when exactly until i manually resume/reset those links and (sometimes) disable/re-enable the multihoster. I'm looking for a script that will, in a set xy minute interval: - unskip the "account missing" links - refresh the premium accounts or disable and re-enable just that specific MOCH - start the downloads again (even if no other downloads are currently running) It should do it only while there are any "account missing" links in the downloads list...i'm running JD2 24/7 and don't wanna get banned from that MOCH for excessive API queries or similar. Thank you in advance. |
#2
|
||||
|
||||
![]()
If the multihoster plugin is properly optimized, an "Account skipped" error should not happen anymore.
Therefore we need more information: - Which multihoster are you using? - Whats is the source host of the links you are downlloading? - Logs please. Quote:
It is better to optimize the plugin than to write a script. Please post your log-ID here If your report is about a specific website which JD supports via plugin, please also provide example URLs which can be used to reproduce the issue you are having. If your report is related to a login specific problem with a plugin supported website, enable debug mode before creating logs, see previously linked instructions. Bitte poste deine Log-ID hier. Falls dein Problem ein Problem mit einer Webseite ist, die per Plugin unterstützt wird, stelle bitte zusätzlich Testlinks zur Verfügung, mit denen sich dein Problem nachstellen lässt. Geht es um einen nicht funktionierenden Account-Login, aktiviere vor dem Erstellen deines Logs den debug Modus (siehe zuvor verlinkte Anleitung). -psp-
__________________
JD Supporter, Plugin Dev. & Community Manager
Erste Schritte & Tutorials || JDownloader 2 Setup Download |
#3
|
|||
|
|||
![]() Quote:
It happens with all their hosters i've tried until now (ddownload, katfile, 1fichier, filer), but the most issues are with 1fichier.com and filer.net since they have unlimited traffic. The missing account error appears as soon as they mark the host as down on deepbrid.com/backend-dl/index.php?page=api&action=hosters and it usually takes takes from 10 minutes to some hours until it's marked as up again. I planned to set the script to 5 or 10 minute intervals by the way, no idea if that would be too much for them. Logs: 24.02.25 11.01.12 <--> 23.02.25 18.47.20 jdlog://7929411370661/ Example download: **External links are only visible to Support Staff****External links are only visible to Support Staff** |
#4
|
||||
|
||||
![]() Quote:
Your log also looks fine (things work as expected). Their API does not specify how long the hosts are down so internally, they are treated as if deepbrid.com does not support them at all. If the deepbrid.com API was to supply a "down time" or something similar, I could add auto retry for such cases. Quote:
During the tests I did in the last 30 minutes, none of the "down" items have changed. JDownloader automatically checks accounts every 30 minutes by default which will also refresh the list of supported hosts. Options you have: - Use a script - or: contact deepbrid.com support and tell them about the possible solutions listed down below Options the deepbrid.com staff has: - Provide an expected down-time (timestamp aka "down until") via API instead of just "down" - or: do not use the "down" status at all: just pretend like all of the hosts are up and then let the down ones fail with error codes 3, 9 or 10 and a meaningful error message
__________________
JD Supporter, Plugin Dev. & Community Manager
Erste Schritte & Tutorials || JDownloader 2 Setup Download Last edited by pspzockerscene; 24.02.2025 at 12:35. Reason: Fixed typo |
#5
|
|||
|
|||
![]()
Thanks for checking. Contacting their support is basically mission impossible because they keep ignoring tickets (i had issues in the past)...the downside of paying less for 50+ hosts per year than just one of them costs per month.
I'll just wait in case if someone is willing to share a script that does what i asked for in the first post... |
#6
|
||||
|
||||
![]() Quote:
I've contacted them yesterday via ticket and they replied within a few hours: deepbrid.com/helpdesk?_user_a=ticket&_user_b=%2Fhelpdesk Though so far it doesn't seem like they are interested in implementing the API suggestions I mentioned here. I also sent them a link to this public thread.
__________________
JD Supporter, Plugin Dev. & Community Manager
Erste Schritte & Tutorials || JDownloader 2 Setup Download |
#7
|
||||
|
||||
![]()
Deepbrid has answered my request and allowed me to quote their reply on this topic:
Quote:
__________________
JD Supporter, Plugin Dev. & Community Manager
Erste Schritte & Tutorials || JDownloader 2 Setup Download |
#8
|
|||
|
|||
![]() Code:
/* refresh accounts trigger : interval */ var down = []; var up = []; var list = null; var ids = []; getAllDownloadLinks().forEach(function(link) { link.skippedReason == "NO_ACCOUNT" && down.indexOf(link.host) == -1 && down.push(link.host) }) if (down.length) { try { list = getPage("https" + "://www.deepbrid.com/backend-dl/index.php?page=api&action=hosters"); down.forEach(function(item) { if (list.indexOf(item) == -1) { up.push(item); } }) } catch (e) {}; } if (up.length) { callAPI("accountsV2", "listAccounts", {}).forEach(function(item) { if (up.indexOf(item.hostname) > -1) { ids.push(item.uuid); } }) } ids.forEach(function(id) { callAPI("accountsV2", "disableAccounts", [id]); callAPI("accountsV2", "enableAccounts", [id]); }) |
#9
|
|||
|
|||
![]()
Thank you! I currently don't have any large download job to trigger the error, but i believe the script will work as intended when it happens.
|
#10
|
||||
|
||||
![]()
Fyi
The deepbrid API now exposes the information since when a host is "down". Next update will display that in our GUI too. Screenshot:
Spoiler:
![]() This is only a visual thing - it will not change any controlling behavior. 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 |
![]() |
Thread Tools | |
Display Modes | |
|
|