alexlaverty / python-reddit-youtube-bot

Automated Reddit Youtube Video Bot
https://www.youtube.com/channel/UCzIwW92D_rM5_yvWBsquSbw
78 stars 17 forks source link

Reddit Bot that generates video when user @ them #16

Open alexlaverty opened 1 year ago

alexlaverty commented 1 year ago

What to build a reddit bot that will :

alexdo83 commented 1 year ago

Schedule video publishing to social media platforms.. (egg:youtube) ...?

alexlaverty commented 1 year ago

I have been working on uploading video to youtube after compilation completes, still a work in progress, same with Rumble needs more work.

alexlaverty commented 1 year ago

I have configured auto upload to youtube, have started using the simple-youtube-api library to do so : https://github.com/jonnekaunisto/simple-youtube-api

seems to be a more reliable method to upload youtube videos rather than relying on selenium web scraping.

alexlaverty commented 1 year ago

Pushed some updates to enable ability to check for @ mentions in reddit and generate a video based off that post

https://github.com/alexlaverty/ttsvibelounge/commit/a5121763bbf04972f690afa135b88b34f256c3bc

parser.add_argument('--enable-mentions',
                    action='store_true',
                    help='Check reddit account for u mentions')

Requires additional secrets to be configured in auth.py :

praw_username = your_reddit_username
praw_password = your_reddit_password

Functionality is still a work in progress and possible requires some more work to it, need to reply to user with link to video once it's created

alexdo83 commented 1 year ago

In the new update, when I use the command: python app.py --url ... it doesn't run the above command, instead it runs subreddits = [... ]. Please try to check it again