max0410 / youtube-reddit-bot

This bot take reddit comments and turns them into a video for youtube.
MIT License
2 stars 1 forks source link

Video #2

Open alphanumericaltycoon opened 3 years ago

alphanumericaltycoon commented 3 years ago

Hi, I stumbled upon this on github. Are there any videos of this in action or any other web pages where I could learn more about setting it up?

alphanumericaltycoon commented 3 years ago

Hi,

Please ignore the above question.

I tried this on Kali Linux but it didn't work (COMERROR). Google seems to indicate that this is because it's not supported on linux platforms. So I setup the requirements on my Windows 10 PC. I am now receiving the below error when I run:

python ytbot.py

Traceback (most recent call last):
  File "ytbot.py", line 7, in <module>
    import soundfile as sf
ModuleNotFoundError: No module named 'soundfile'
PS C:\Users\Hello\Desktop\YTRbot>
max0410 commented 3 years ago

Hey man,

Sorry you had to discover some of the worst absolute code I’ve ever made. I used to run it every so often and upload the videos to this channel but I can’t seem to find it… if I do I’ll send you the link. The only thing I can think of is for you to check if you have the soundfile module installed along with all the others, but since this was made awhile ago and relies on a few APIs this project very well may be broken. Again, this code is so convoluted its really not worth saving. But if I recall correctly all I did here was use reddit’s praw api to get comments from r/askReddit, create an image of that comment using PIL (the code for this could definitely be salvaged), create audio files using some TTS, then finally put it all together using FFMPEG to create the video with some music in the background. I had always planned then to make it automatically upload to youtube, so I could use some event scheduler to just run the script periodically and have it do everything for me. Alas, there was a lot I could of improved on in the end product but the code was so messy I just didn’t wanna touch it.

I’m gonna continue to look for the channel though.

Good luck, Max

On Tue, Aug 3, 2021 at 9:38 AM Tycoon @.***> wrote:

Hi,

Please ignore the above question.

I tried this on Kali Linux but it didn't work (COMERROR). Google seems to indicate that this is because it's not supported on linux platforms. So I setup the requirements on my Windows 10 PC. I am now receiving the below error when I run:

python ytbot.py

Traceback (most recent call last): File "ytbot.py", line 7, in import soundfile as sf ModuleNotFoundError: No module named 'soundfile' PS C:\Users\Hello\Desktop\YTRbot>

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/max0410/youtube-reddit-bot/issues/2#issuecomment-891854556, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEBDEWM54FOIVZ27ALEFNVLT27WNFANCNFSM5BKHJZEA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .