Skip to content

bruh-boys/reddit-automata

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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