Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/skulltech/reddit-auto-poster.py
Python script for posting to multiple subreddits automagically.
https://github.com/skulltech/reddit-auto-poster.py
praw python python3 reddit script
Last synced: about 5 hours ago
JSON representation
Python script for posting to multiple subreddits automagically.
- Host: GitHub
- URL: https://github.com/skulltech/reddit-auto-poster.py
- Owner: skulltech
- License: mit
- Created: 2018-04-22T17:25:53.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-02-05T17:18:09.000Z (almost 3 years ago)
- Last Synced: 2023-03-01T20:55:51.525Z (almost 2 years ago)
- Topics: praw, python, python3, reddit, script
- Language: Python
- Size: 7.81 KB
- Stars: 84
- Watchers: 5
- Forks: 15
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# reddit-auto-poster.py
Python script for posting to multiple subreddits automagically.## Installation and Set-Up
Works on _Python 3.x_
The only required library is `praw`. Install it as
```console
$ pip3 install praw
```Also, you'll have to create a Reddit app of type `script` from [here](https://www.reddit.com/prefs/apps/), and put the `CLIENT_ID`, `CLIENT_SECRET` and `USERNAME` in the file [`config.ini`](https://github.com/SkullTech/reddit-auto-poster.py/blob/master/config.ini).
## Usage
After specifying the details of the posts to be made in the `posts.json` file, run the as following. Use the provided sample [`posts.json`](https://github.com/SkullTech/reddit-auto-poster.py/blob/master/posts.json) file as template
```console
$ python3 reddit-auto-poster.py
[*] Password for Reddit account SkullTech101:
[*] JSON file containing posts: posts.json
[*] Posted "Test post..." on test. Post ID: 8e5k45
...
```