KishanBagaria / dAbot

🤖 CLI tool to automate stuff on DeviantArt.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

About "llama give random exchangers"

Koopzington opened this issue · comments

commented

So i've been running that command for a bit now and i came up with an idea to improve that process.
Currently i'm running it in 2 windows simultanously because it's kinda slow to find exchangers (which didn't receive a llama from me yet) and that way i'm actually sometimes able to hit the spam limit.
I guess this would be a rather drastic change to the codebase but the whole thing could be more effective if there'd be multiple processes running: One (or more) finding suitable exchangers and putting them into a queue and the other one actually giving llamas to the people in the queue.
This came to my mind when i saw that dAbot stopped doing anything for half an hour even though it could theoretically search for exchangers in the meantime.

I thought about this earlier. Like it says in the README file, if it used async connections, it would be fast enough that you wouldn't need bother running multiple processes.

There's this command that saves a list of exchangers. But it hasn't been implemented yet.

dAbot <username> <password> [-v] save       random        (deviants|groups|exchangers)               <quantity>
dAbot <username> <password> [-v] llama      give          file          (dev_names|dev_ids)          <file_path>