A story bot that will scrape stories from r/stories subreddit and convert it into an Audio File
This is a story bot, that will scrape stories from r/stories subreddit and convert it into an Audio File.
pip install -r requirements.txtto install all required Packages.
- First Run
Reddit_Scraper.py. This will scrap 300 stories and save it into a json file. Also fill theclient_id,client_secretanduser_agent. Learn More. - Then Run
Script_Generator.py. This will take the Json file and select a random story from it and save it in a text file. - Finally Run
Podcast_Generator.py. This will convert the text file into text-to-speech audio and add background music accordingly.
How to add your own music
- Add the Music you want in the
MusicFolder instory-bot. - Add the Sad Songs in
Sad-Musicand the other ones in