Giter Club home page Giter Club logo

youtubeautomator's Introduction

YoutubeAutomator

This project helps in automation of taking screenshots of a youtube video being played and automatically compile them in word document in series of their capture.

List of Commands

  • Take SS of a given video link
    • COMMAND : node youtube -s "Search_Anything" Time_Interval_Between_SS "File_Name"
  • Take SS of a whole playlist of videos (serial)
    • COMMAND : node youtube -l "Link_Of_The_Video" Time_Interval_Between_SS "File_Name"
  • If you aren't sure about which video to pick, you can simply enter the search you want to make, just like a normal youtube search, it will automatically go to YouTube and search for the given keywords and bring back the SS of the 1st video.
    • COMMAND : node youtube -p "Link_Of_The_Playlist" Time_Interval_Between_SS "File_Name"
  • Take SS of a playlist of videos parallely, 5 tabs(videos) will be opened simultaneously.
    • COMMAND : node youtube -pParallel "Link_Of_The_Playlist" Time_Interval_Between_SS "File_Name"

Usage

  1. Clone this respository on your system.

  2. Open the root folder of the project in the terminal and install the required dependencies* by using the following command:
    npm install
    Puppeteer will install chromium which is of 150 mb approx.

  3. Navigate to the fair\activity folder .

  4. Open the example.txt file to get an example of list of commands available or you can check out this video .

  5. You can choose any of the commands written in example.txt file.

  6. A Chromium browser window will open and the search will take place automatically and the first video in search will be selected.

  7. Video will run in full screen mode(not for parallel) screenshots will be taken at 30s interval (by default)or you can specify any value.

  8. You are free to change tabs using alt+tab and wait for video to finish.

  9. Once the video is over the screenshots will be added to a word document file in same folder with your given name.

Other Notes:

  1. Allow access to chromium if your anti-virus interrupts.
  2. Make sure the word document is not open(if a file with the given name already exists) before running any command.
  3. For Parallel Screenshots you need to change to every tab that is opened automatically and wait for the vid to start.
  4. Youtube ads are annoying no doubt, so you can use a browser with inbuilt ad blocker functionality like Brave or you'll have to skip ads manually.

youtubeautomator's People

Contributors

baljinderxd avatar chanpreet1999 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.