https://github.com/denvercoder1/saucerobot
Reddit bot for fetching image sources
https://github.com/denvercoder1/saucerobot
Last synced: about 2 months ago
JSON representation
Reddit bot for fetching image sources
- Host: GitHub
- URL: https://github.com/denvercoder1/saucerobot
- Owner: DenverCoder1
- License: mit
- Created: 2022-06-03T04:52:32.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-06-03T06:17:36.000Z (almost 3 years ago)
- Last Synced: 2025-01-16T00:40:11.791Z (3 months ago)
- Language: Python
- Size: 16.6 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# saucerobot
Bot for fetching image sources

## Running the bot
The Reddit bot can be launched using the command:
```py
python -m reddit_bot
```The exact command may vary depending on your Operating System and Python installation.
## Configuration
Create a copy of `.env.example` and name it `.env`
In the `.env` file, you must set the following environment variables:
### SauceNAO API
* `SAUCENAO_API_KEY` - Your SauceNAO API key
To receive your SauceNAO API key, visit [SauceNAO](https://saucenao.com/user.php) to log in or create an account, then select the [API](https://saucenao.com/user.php?page=search-api) tab.
### Reddit Bot
* `REDDIT_USERNAME` - Your bot's Reddit username
* `REDDIT_PASSWORD` - Your bot's Reddit password
* `REDDIT_CLIENT_ID` - Your Reddit client ID
* `REDDIT_CLIENT_SECRET` - Your Reddit client secret
* `REDDIT_BOT_AUTHOR` - The author of the botTo obtain the client ID and client secret, visit [Reddit App Preferences](https://www.reddit.com/prefs/apps/) and create a new application while signed in as your bot.