Giter Club home page Giter Club logo

youtube-comment-like-unlike's Introduction

YouTube comment, like or unlike bot

Goals

This project allows you to add comment, like or dislike YouTube videos based on a query.
If a video has already been liked or disliked, the script will just skip it and will not add comment on it.

YouTube limitations

Note that YouTube will limit the number of comments, like or dislike or query you can send and a 403 error will be raised when this limit is reached. More information here.

Run the bot

  • First of all you need to set up a Google Cloud Console project (it is free)
  • Then create an Oauth 2.0 credential
  • Next you will have to download the oauth credentials files in the project folder and name it secret.json
  • Install Python
  • Install the requirements with the command pip install -r requirements.txt
  • Run the script with the following command python main.py --query "my query" [--comments "My comment" "My other comment" --rating like --size 50 --sleep 20]
    • --query
      • The query to search videos
      • mandatory
      • value: any text
    • --comments
      • The different comments to randomly add on each video. When adding a comment on a video, only one will be selected randomly.
      • optional
      • value: any text
    • --rating
      • Whether to like or dislike the video
      • optional
      • value: like | dislike
      • default: like
    • --size
      • The number of videos to query
      • optional
      • value: any positive integer
      • default: 50 (min 0, no max)
    • --sleep
      • The pause time in seconds between each like/dislike/comment (useful to get a long time running script without exceed YouTube quota)
      • optional
      • value: any positive integer
      • default: 30
    • --region
      • Specify the region that should be allowed for the video
      • optional
      • value: any two length country code
  • The script will then ask you to open your browser in order to grant you a Google access token
  • Authorize things and copy the token that Google returns you
  • Paste the token in the console
  • Like or dislike as many video as you wish, but please, be kind in your comments ๐Ÿ™‚

Documentation

youtube-comment-like-unlike's People

Contributors

montoyadamien avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

ken2190

youtube-comment-like-unlike's Issues

Youtube-Comment (100 acc)

Hello, it is possible to add many accounts to get 100 likes on your personal comment. How can I do this, I really need 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.