An open API service indexing awesome lists of open source software.

https://github.com/kishanbagaria/dabot

🤖 CLI tool to automate stuff on DeviantArt.com
https://github.com/kishanbagaria/dabot

cli-app deviantart llama python

Last synced: about 1 year ago
JSON representation

🤖 CLI tool to automate stuff on DeviantArt.com

Awesome Lists containing this project

README

          

# dAbot

CLI tool to automate stuff on DeviantArt.com

## Installation

1. [Install Python 3](https://www.python.org/downloads/) (Python 2 will work too but it's not recommended)
2. Open Terminal/Command Prompt and enter `pip install dAbot`
If that doesn't work, try `python -m pip install dAbot`
If that doesn't work either, you're likely using Windows and you should reinstall Python making sure that the "Add in PATH" option is checked.
3. Once dAbot is installed, you can use any of the commands listed below by entering them in Terminal/Command Prompt.

To upgrade it later, run `pip install dAbot --upgrade`

## Usage

```
dAbot [-v] llama give random (deviants|groups|exchangers)
dAbot [-v] llama give msgs (activity|replies) [--trash_msgs]
dAbot [-v] llama give file (dev_names|dev_ids)
dAbot [-v] llama give group_members [--reversed]
dAbot [-v] llama give url
dAbot [-v] llama give traders
dAbot [-v] llama give traders_random
dAbot [-v] llama give
dAbot [-v] points give []
dAbot [-v] points balance
dAbot [-v] devwatch (add|remove)
dAbot [-v] msgs trash (activity|bulletins|notices|replies|comments)
dAbot [-v] comment
dAbot [-v] logout
dAbot [-v] exec
dAbot [-v] llama stats
dAbot [-v] llama hof group [--reversed]
dAbot [-v] llama hof file
dAbot [-v] llama hof ...
dAbot [-v] badges hof ...
dAbot [-v] save random (deviants|groups|exchangers)
dAbot [-v] save group_members
dAbot [-v] save dev_ids [--if_llama_given]
```

1. Install a browser extension that can export a `cookies.txt` file. Here's one for [Chrome](https://chrome.google.com/webstore/detail/njabckikapfpffapmjgojcnbfjonfjfg).
2. Go to DeviantArt.com and export the `cookies.txt` file for that tab only (or for DeviantArt.com only).
3. For ``, supply the path where the `cookies.txt` was exported/saved.
This should look something like `C:\Users\you\Downloads\cookies.txt` or `/Users/you/Downloads/cookies.txt`
4. After exporting cookies from your browser, you can clear your browser cookies for DeviantArt.com (or all cookies) so that your cookies aren't shared between the browser and the bot (which might create issues). You'll then have to login on your browser again and this will give your browser a fresh set of cookies.

If some command doesn't work, disable Eclipse and try again.

## Example

This will give me a llama:
```
dAbot /Users/you/Downloads/cookies.txt llama give Kishan-Bagaria
```

## Disclaimer

I don't intend to maintain this tool (except for some occasional changes). I developed this as a personal project back in 2014 and three years later, it wasn't doing much good sitting around, so I put it out here.
It can be refactored a lot and sped up 100x using asynchronous connections. If you're a developer interested in hacking the code, you should definitely look into that.