paij0se / reddit-automata

A simple script for automate getting data from reddit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

a simple script for automate getting data from reddit

Features

  • Download the stories, and save them to txt file, and convert them to a mp3 file using gTTS

In a Nutshell🥜 img

Want to use it?

Clone the repository.

Create a .env file with the following data.

You need to have installed ffmpeg,python3, and pip3.

PASSWORD=
REDDIT_USERNAME=
SECRET=
ID=

install the dependencies

$ pip3 install -r requirements.txt

Examples

$ ./ra.py -s "confessions/hot" -l en 
I.stole.thousands.of.dollars.from.my.dad.while.in.prison.and.lied.to.him.for.years.mp4
$ ./ra.py -s "2b2t" -l en  -m true
I.broke.up.with.my.boyfriend.because.he.yelled.at.me.mp4

TODO

  • get the data without auth?
  • better editing
  • manage errors

About

A simple script for automate getting data from reddit

License:MIT License


Languages

Language:Python 100.0%