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.txt
to 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_secret
anduser_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
Music
Folder instory-bot
. - Add the Sad Songs in
Sad-Music
and the other ones in