Git Product home page Git Product logo

ss-d3v / bottuber Goto Github PK

View Code? Open in Web Editor NEW
352.0 9.0 78.0 93.39 MB

Fully Automated YouTube Channel ▶️with Added Extra Features (Automated Title, Description, Tags, Watermark and much more)

Home Page: https://youtube.com/c/pwnOS

License: MIT License

Python 100.00%
python python3 automation youtube-api youtube youtube-api-v3 instagram instagram-api instagram-downloader instagram-scraper

bottuber's Introduction

Graphql error in instalooter not been resolved yet!

Fully Automated Youtube Channel

░█▀▀█ █▀▀█ ▀▀█▀▀ ▀▀█▀▀ █──█ █▀▀▄ █▀▀ █▀▀█ 
░█▀▀▄ █──█ ──█── ─░█── █──█ █▀▀▄ █▀▀ █▄▄▀ 
░█▄▄█ ▀▀▀▀ ──▀── ─░█── ─▀▀▀ ▀▀▀─ ▀▀▀ ▀─▀▀
🄵🅄🄻🄻 🅈🄾🅄🅃🅄🄱🄴 🄲🄷🄰🄽🄽🄴🄻 🄰🅄🅃🄾🄼🄰🅃🄸🄾🄽 🅂🅄🄸🅃🄴

GitHub issues GitHub forks GitHub stars GitHub license git status BotTuber LOGO Twitter YouTube

Code to run a fully automated youtube that can scrape content, edit a compilation, and upload to youtube daily.

Features😶‍🌫️

1. Interactive  Auto/Manual mode
2. Makes Compilation (Intro & Outro)
3. Auto Title, Description & Tags 
4. Auto TimeStamps & Credits (Username & Caption from Video)
5. Edit description.txt when in manual mode
6. Add Watermark to final Video

Quick Start🐿️

git clone https://github.com/sam5epi0l/BotTuber.git
cd BotTuber
# add instagram credentials in config.py
# add YouTube API v3 credentials to googleAPI.json (check instructions)
pip3 install -r requirements.txt
python3 botTuber.py

Usage📄

python3 botTuber.py -i # interactive mode
python3 botTuber.py -a # Full automation
python3 botTuber.py -m # manual mode
python3 botTuber.py -h # help menu

Instructions✅

  1. Download the Github Repository

  2. Download and install Python3 and pip if necessary.

  3. Install libraries with pip3 install -r requirements.txt or python3 -m pip install -r requirements.txt .

  4. Get setup and create a Project with the Youtube API: https://developers.google.com/youtube/v3/quickstart/python Be sure to follow it carefully, as it won't work if you don't do this part right. Download your OATH file and name it as "googleAPI.json" in your project folder.

  5. Create an instagram account and follow accounts you want to scrape from

  6. Open config.py in a text editor and fill in instagram credentials

  • Note that you can edit variables inside botTuber.py in a text editor and things such as MAX_CLIP_LENGTH, Title, Description, Tags, etc..
  1. In terminal/cmd, run instalooter login and instaloader --login {YOUR_USERNAME}. Follow the instructions to login.

  2. Run python3 botTuber.py in your computer terminal (terminal or cmd). You have to sign in to your Youtube Account through the link the script will give you. It's going to ask you: "Please visit this URL to authorize this application:..." so you copy that link, paste it in your browser, and then sign into your Google account. Then paste the authentication code you get back into your terminal. It will then say "Starting Scraping" and sign into your instagram account.

  3. Type "A" to run automated script or "M" to manually decide what to do at each step

  4. Enjoy your fully automated youtube channel! :) Note that for uploading public videos, you have to complete an audit for the Youtube API. See the note in the Google Documentation. Without this, you can only post private videos, but they approve everyone. Have fun!

Contributors ✨

Thanks goes to these wonderful people who have improved the code and documentation to help this project grow. :


sam-sepiol

🖋

nathan Ang

🖋

This project follows the all-contributors specification. Contributions of any kind are welcome!

Socials

bottuber's People

Contributors

nathan-149 avatar sam5epi0l 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  avatar  avatar

bottuber's Issues

No download

Hi!

I get 2 responses

Scraping From Account: username
Skipped acc hypnotic_catsbecause of
'graphql'

Scraping From Account: username
Downloaded 0 videos successfully

Videos are not uploaded, even if set within 10 days

No videos are created...

Describe the bug
[+] Scraping Videos...
Starting Scraping
<instaloader.nodeiterator.NodeIterator object at 0x111b06af0>
[Q]Do you want to scrape from quornhubv2's profile?(Y/n/q):Y
[+]Scraping From Account: quornhubv2
[+]Skipped acc quornhubv2because of
'graphql'
[Q]Do you want to scrape from memedeliveryguydeliveryguy's profile?(Y/n/q):Y
[+]Scraping From Account: memedeliveryguydeliveryguy
[+]Downloaded 0 videos successfully

[Q]Do you want to scrape from mudbone.memes's profile?(Y/n/q):Y
[+]Scraping From Account: mudbone.memes
[+]Downloaded 0 videos successfully

[Q]Do you want to scrape from lensbible's profile?(Y/n/q):Y
[+]Scraping From Account: lensbible
[+]Downloaded 0 videos successfully

[Q]Do you want to scrape from ratingthememe's profile?(Y/n/q):Y
[+]Scraping From Account: ratingthememe
[+]Downloaded 0 videos successfully

[Q]Do you want to scrape from dankyclub's profile?(Y/n/q):Y
[+]Scraping From Account: dankyclub
[+]Skipped acc dankyclubbecause of
'graphql'
[Q]Do you want to scrape from gamingzar's profile?(Y/n/q):Y
[+]Scraping From Account: gamingzar
[+]Skipped acc gamingzarbecause of
'graphql'
[+] Scraped Videos!

To Reproduce
Steps to reproduce the behavior:

  1. Execute BotTube in interactive mode.

Expected behavior
Expected videos to be scraped and created.

Desktop (please complete the following information):

  • OS: MAC OSX
  • Browser: FireFox

Additional context
Add any other context about the problem here.

While running bottuber.py i am getting pyffmpeg import errror

File "C:\Users\JS\Downloads\Compressed\BotTuber-master\BotTuber-master\bottuber.py", line 2, in
from make_compilation import makeCompilation
File "C:\Users\JS\Downloads\Compressed\BotTuber-master\BotTuber-master\make_compilation.py", line 12, in
ff = FFmpeg()
File "C:\Users\JS\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\pyffmpeg_init_.py", line 52, in init
self.ffmpeg_file = Paths().load_ffmpeg_bin()
File "C:\Users\JS\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\pyffmpeg\misc.py", line 55, in load_ffmpeg_bin
from .static.bin.win32 import win32
ImportError: cannot import name 'win32' from 'pyffmpeg.static.bin.win32' (C:\Users\JS\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\pyffmpeg\static\bin\win32_init
.py)

Module Not Found

When I try these steps and finally run python3 botTuber.py this error was thrown. But then when I tried to re-install the missing module it is already installed.
image

I tried uninstalling the module and reinstall it, but same.
How can I resolve this? Not quite sure whether it is a bug or not. Can someone help me out?

Error after scrape

Hello, and thanks for your time making this. I'm having an issue. After its done scraping, i get the following error.

Traceback (most recent call last): File "C:\DefenderExclude\YOUTUBECHANNLE\BotTuber\bottuber.py", line 326, in <module> attemptRoutine() File "C:\DefenderExclude\YOUTUBECHANNLE\BotTuber\bottuber.py", line 317, in attemptRoutine routine(title, description, tags) File "C:\DefenderExclude\YOUTUBECHANNLE\BotTuber\bottuber.py", line 180, in routine dfile.write(description) File "C:\Python39\lib\encodings\cp1252.py", line 19, in encode return codecs.charmap_encode(input,self.errors,encoding_table)[0] UnicodeEncodeError: 'charmap' codec can't encode characters in position 446-450: character maps to <undefined>

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser Brave

Any idea?

Add Reddit scraping

Is your feature request related to a problem? Please describe.
Add Reddit scraping

Describe the solution you'd like
An option to choose between Instagram and Reddit for data scraping.

Describe alternatives you've considered
Reddit Scraping can be done with bulk-downloader-for-reddit library. The good thing is, it doesn't require any API authentication.

400: invalid_request redirect_uri: urn:ietf:wg:oauth:2.0:oob

Hi Sam,
after making Desktop client Oauth2 json with youtube data api v3 library enabled & run botTuber.py with -a argument & visit generated authorize url , give me error below :

You can not sign in to this application because it does not comply with Google's OAuth 2.0 version of the application security policy.

You can tell the developer that this application does not comply with one or more Google validation rules.
Request details
The content in this section is provided by the app developer. Google has not reviewed or approved this content.
If you are the developer of the application, make sure that the details of the application comply with Google's policies.
redirect_uri: urn: ietf: wg: oauth: 2.0: oob

also going with python quickstart link you put on runtime steps , but application type "other" not exist any more in list!

please help me .
waiting for your response
finest regards

Error Uploading Video to Youtube

Describe the bug

[+] Uploading to Youtube...
Traceback (most recent call last):
File "/Users/doncali/BotTuber/botTuber.py", line 335, in
attemptRoutine()
File "/Users/doncali/BotTuber/botTuber.py", line 326, in attemptRoutine
routine(title, description, tags)
File "/Users/doncali/BotTuber/botTuber.py", line 288, in routine
upload_to_youtube()
File "/Users/doncali/BotTuber/botTuber.py", line 280, in upload_to_youtube
uploadYtvid(VIDEO_FILE_NAME=outputFile,
File "/Users/doncali/BotTuber/upload_ytvid.py", line 30, in uploadYtvid
response_upload = googleAPI.videos().insert(
File "/usr/local/lib/python3.9/site-packages/googleapiclient/_helpers.py", line 131, in positional_wrapper
return wrapped(*args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/googleapiclient/http.py", line 901, in execute
_, body = self.next_chunk(http=http, num_retries=num_retries)
File "/usr/local/lib/python3.9/site-packages/googleapiclient/_helpers.py", line 131, in positional_wrapper
return wrapped(*args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/googleapiclient/http.py", line 1021, in next_chunk
raise ResumableUploadError(resp, content)
googleapiclient.errors.ResumableUploadError: <HttpError 400 when requesting None returned "The request metadata specifies an invalid video description.". Details: "[{'message': 'The request metadata specifies an invalid video description.', 'domain': 'youtube.video', 'reason': 'invalidDescription', 'location': 'body.snippet.description', 'locationType': 'other'}]">

To Reproduce
Steps to reproduce the behavior:

  1. Execute botTuber
    2.[Q] Automated or Manual A/M:M
    [Q] Type video title in 100 C or leave Blank to Use Default Title:]This is a Youtube test
    [Q] Type video description headers or leave blank to use Default Headers:This is a test for BotTuber
    [Q] Add some tags to default tag list or use default tags:This is a test
    [+] Handling GoogleAPI
    [+] 2022 4 22 2 18 58
    [+] ./APR_2022_v22.mp4
    [+] Scraping Videos...
    Starting Scraping

  2. Error occurred when attempting to upload video

Expected behavior
Video is supposed to upload into Youtube account.

Desktop (please complete the following information):

  • OS: Mac OSX
  • Browser: Firefox

Additional context
Add any other context about the problem here.

scrape_videos not working

Hello sir i am newbie so plz guide me i am getting error and error again if possible plz make a video on BotTuber
ThankYou,.

C:\Users\Hydra\Desktop\BotTuber-1.0-beta>python scrape_videos.py Starting Scraping Traceback (most recent call last): File "C:\Users\Hydra\Desktop\BotTuber-1.0-beta\scrape_videos.py", line 42, in scrapeVideos(username = "chewymemes_v3", File "C:\Users\Hydra\Desktop\BotTuber-1.0-beta\scrape_videos.py", line 18, in scrapeVideos L.login(username, password) File "C:\Users\Hydra\AppData\Local\Programs\Python\Python310\lib\site-packages\instaloader\instaloader.py", line 483, in login self.context.login(user, passwd) File "C:\Users\Hydra\AppData\Local\Programs\Python\Python310\lib\site-packages\instaloader\instaloadercontext.py", line 241, in login raise ConnectionException("Login error: "{}" status, message "{}".".format(resp_json['status'], instaloader.exceptions.ConnectionException: Login error: "fail" status, message "feedback_required".

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.