Coder Social home page Coder Social logo

imaperson1060 / ytdislikesrestorer Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 360 KB

Get dislikes back on your YouTube videos (but worse)

Home Page: https://www.youtube.com/watch?v=rbQdTnaBn3o

License: GNU Affero General Public License v3.0

JavaScript 41.75% EJS 58.25%
dislikes youtube

ytdislikesrestorer's Introduction

YouTube Dislikes Restorer

Restore the like/dislike count to your YouTube videos!

About

Simple web based application to automatically update the titles of selected videos on your channel to reflect the current likes and dislikes.

Setup

To use this app, you will need to make your own Google Cloud Project (not as daunting as it sounds) for security (so you can be sure I don't have access to your account) and for the annoying ratelimit I'll talk about later - believe me it will come up again

  1. Create a project at console.cloud.google.com

    setup-1

  2. Go to the APIs & Services Library

    setup-2

  3. Enable the YouTube Data API

    setup-3

  4. Create credentials

    setup-4

  5. setup-5-1

    setup-5-2

    setup-5-3

  6. Create a .env file using the following template:

    CLIENT_ID=[client id]
    CLIENT_SECRET=[client secret]
    REDIRECT_URI=http://localhost:3000/google/auth
    
    PORT=3000
    
    • You can find the client details on the credentials page by downloading the OAuth2 client
    • Changing the port will require you to change the Redirect URI declared in Step 5 and in the .env file
    • Do not share this file with anyone
  7. If you don't already have it, download and install NodeJS

  8. Run npm install && node index.js in the command prompt of your choice

  9. Visit localhost:3000 in your browser once the application has started and log into your Google Account associated with YouTube

  10. In the Videos tab, you will have to click the Refresh Videos button upon starting the server to view any videos

    • Videos will not update automatically so you will have to click the button or restart the server every time you upload a video

Ratelimit

  • Google Cloud Projects have a ratelimit of 10,000 tokens per day
  • Token costs for actions on this application:
    • Refreshing videos - 100 tokens + 1 token per video (1 token per video includes just visiting the Videos page, not just refreshing it)
    • Updating video titles - 50 tokens per video
  • You can monitor your quota here
  • It is recommended you conserve how many times you use this application every day.
  • Warning: If you have more than 200 videos, you will not be able to update them all within the quota

ytdislikesrestorer's People

Contributors

imaperson1060 avatar

Watchers

 avatar

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.