#1
|
|||
|
|||
![]()
Say you have hundreds of hoster accounts that you want to import into JD but obviously don't want to do it one at a time. Is there any way to add them in batches?
I thought about adding them to org.jdownloader.settings.AccountSettings.accounts.ejs but that is encoded/not plain text like the other files (why???, security?, can we disable that as an option?) so like I was saying, anyway to maybe put them in a text file and have JD import them en mass? |
#2
|
|||
|
|||
![]()
@Jiaz
anything??? Is there a way to add many accounts at once? |
#3
|
||||
|
||||
![]()
@fuknuckle: I'm sorry but there is no support for mass import/add of accounts.
Quote:
Quote:
eg a script that parses clipboard content (jobcontent) and searches for username:password@domain or similiar pattern and then add those automatically via api commands to JDownloader.
__________________
JD-Dev & Server-Admin |
#4
|
|||
|
|||
![]() Quote:
So I am finally getting around to using the script that mgpai wrote but it isn't working/doing anything. I put all the accounts in a text file with each account and password as well as the hoster on a separate line and the script does noting, tells me nothing and I tried it on a text file with a single account and it didn't import it. this is how they are formatted according to his instructions mega.nz ********@******************.com *************** I also tried mega.nz\t********@******************.com\t*************** I even tried changing the separator from "\t" to "-" and ":" since none of my passwords contain those characters and it still didn't work I copied his code exactly the only thing I changed was the path to the text file. other than that, I don't know what I could be doing wrong and mgpai has been MIA since June of 2022 and I need this script to work as I have more than 2,700 Mega accounts I want to import. Is there anyone that can help me make this script work or can we revisit the possibility of disabling the encryption on the account file so I can manually add these accounts? |
#5
|
|||
|
|||
![]()
There is a syntax error in the script.
Change the line 12 from "});" to "};" and test it again. |
#6
|
|||
|
|||
![]() Quote:
files DOT catbox DOT moe / shm1xm.png |
#7
|
|||
|
|||
![]()
Okay, so it is not the problem. Change it back.
|
#8
|
|||
|
|||
![]()
I found the reason. You must use the correct Hostername mega.co.nz. Than the Script works fine.
|
#9
|
|||
|
|||
![]() Quote:
all mega links and URLs are mega.nz they dropped the "co" a while ago so I guess it's JD that's behind the times. But seriously THNAKS. |
#10
|
|||
|
|||
![]()
Glad to hear that it works for you!
|
#11
|
||||
|
||||
![]()
its the original name, most likely why its still used.
you should be able to tell/confirm via add accounts dialog to which name is applicable.
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] |
![]() |
Thread Tools | |
Display Modes | |
|
|