Skip to content

Like or Dislike Youtube playlists within just a few seconds, just copy the url and paste it

Notifications You must be signed in to change notification settings

YoHaNoMe/Rate-Youtube-Playlist

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 

Repository files navigation

Rate YouTube Playlist

One day I opened YouTube and watched a playlist and then when I finished it, I really wanted to appreciate the man who made this playlist by liking it. But I realized that I have to go through every video and like it. Worsen the situation the playlist was in range of 30 to 50 videos, So it was so painful to do that. Should I have to open each video and like it?!! Of course I did not do that. I made a program which can do that for me, So if you have the same problem which i had don't worry, i got you!.

Before you get started

You have to be familiar with YouTube API if you want to modify the code. Also you may want to have a look at OAuth 2.0 for Installed Application which is the method that i used to make this program.

Get started

  1. Go to this website to select or create project:

    • click continue after selecting the appropriate choice for you.
    • On Add credentials for your project, click Cancel.
    • Select OAuth consent screen, Specify the application name and email address then click save.
    • Create Credentials then choose OAuth client ID.
    • Select the application type other, enter a name, and click Create button.
    • click the download button to the right of client id.
    • Rename the file any name you want and save it in your working directory.
  2. Install Google API Client Library for Python:

    • pip install --upgrade google-api-python-client
  3. Install additional libraries:

    • pip install --upgrade google-auth google-auth-oauthlib google-auth-httplib2

Please if you have any Problem at any of the above steps, refer to this link there are more detailed information.

  1. You should have an API Key

  2. Make sure that your python version >= 3.5

  3. Run the main.py:

    • python3 main.py

How the program works

You will be prompted to enter a path to the Credentials which you have downloaded it in step (1), Make sure you enter a path followed by a slash and then the file name (ex. XXX/XXX/secrets.json), and you will also be prompted to enter your API key. After that you will have to authorize the program, by using a link which should show up. Then a menu will appear and you can choose to: Rate(like, dislike, none) a video, playlist or exit. Enter the URL of the video or playlist followed by a comma then the rate and let the program do the work for you.

IMPORTANT Note

Don't delete a file named 'utility.txt'. it is very important file, if you have any problem with Credentials path or API key please refer to utility file and check if you specify the correct path and API key or not.

About

Like or Dislike Youtube playlists within just a few seconds, just copy the url and paste it

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages