Giter Club home page Giter Club logo

autotube's Introduction

Fully Automated YouTube Shorts Channel

This code will show you how to setup and fully autmated YouTube Channel. Content is gathered from Reddit using images both animated and still images will work. Setup is in depth at times so check out the tutorial video if you need extra help.

Setup

  • Clone Project
  • pip install -r requirements.txt
  • This project uses MoviePy which uses ImageMagick to write text onto our movie. Follow the link to install. Not on windows you will need to update config defaults.
  • create a .env file with your reddit API details.
  • create a client_secrets.json for your YouTube API details.
  • Both are covered in the video if you need help!

Contact!

autotube's People

Contributors

claritycoders avatar jake-lower17 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

autotube's Issues

OSError: cannot write mode P as JPEG

I have installed magisk on my mac and I have watched the tutorial and done everything but I am getting errors when trying to create the video. Please help when you can.

OSError: cannot write mode P as JPEG

hello guys, so everything was working fine last night, I had created one video and had an idea, since I was going to be using this script to make 2 - 4 videos per day I would have liked the data folder to be structured as follows, "/data/{date}/{time}/(images collected)"
so I went about adding this code to the RedditBot.py
I then tried to run the main.py file and came back with this error:

`Traceback (most recent call last):
File "C:\YouTube\Gain Wealth With Steve\Reddit AutoTube\env\lib\site-packages\PIL\JpegImagePlugin.py", line 629, in
_save
rawmode = RAWMODE[im.mode]
KeyError: 'P'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "c:\YouTube\Gain Wealth With Steve\Reddit AutoTube\main.py", line 31, in
redditbot.save_image(post)
File "c:\YouTube\Gain Wealth With Steve\Reddit AutoTube\utils\RedditBot.py", line 73, in save_image
scale_gif(image_path, scale)
File "c:\YouTube\Gain Wealth With Steve\Reddit AutoTube\utils\Scalegif.py", line 19, in scale_gif
gif.save(path)
File "C:\YouTube\Gain Wealth With Steve\Reddit AutoTube\env\lib\site-packages\PIL\Image.py", line 2240, in save
save_handler(self, fp, filename)
File "C:\YouTube\Gain Wealth With Steve\Reddit AutoTube\env\lib\site-packages\PIL\JpegImagePlugin.py", line 631, in
_save
raise OSError(f"cannot write mode {im.mode} as JPEG") from e
OSError: cannot write mode P as JPEG`

So I quickly removed the lines of code I had just added and tried to run the Python code again and came back with the same error, so from this point, I thought I messed something else up while editing the files so I started fresh, and deleted all the files and replaced them, but I'm still getting this error. Can anyone shed any light on how I can get this working?

Thanks for taking the time to read!

error: No module named 'oauth2client'

Hi, I just found python code, I am not good on python, and I tried it, I got this error:
from oauth2client.client import flow_from_clientsecrets ModuleNotFoundError: No module named 'oauth2client' ImportError: No module named OAuth2Client

I have tried these:
pip install --upgrade oauth2client
pip3 install --upgrade oauth2client
pip install --upgrade google-api-python-client
python -m pip install โ€“-upgrade pip

but I get the same error,
any way to solve it?
thanks

Error max

image
I am getting this error please fix it

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.