Coder Social home page Coder Social logo

youtube-viewer-1's Introduction


     '-.                 
        '-. _____     __   __          _         _           __     ___                         
 .-._      |     '.   \ \ / ___  _   _| |_ _   _| |__   ___  \ \   / (_) _____      _____ _ __  
:  ..      |      :    \ V / _ \| | | | __| | | | '_ \ / _ \  \ \ / /| |/ _ \ \ /\ / / _ | '__| 
'-._+      |    .-'     | | (_) | |_| | |_| |_| | |_) |  __/   \ V / | |  __/\ V  V |  __| |    
 /  \     .'i--i        |_|\___/ \__,_|\__|\__,_|_.__/ \___|    \_/  |_|\___| \_/\_/ \___|_|    
/    \ .-'_/____\___
    .-'  :          :
                        

Introduction

A modern (and portable) approach to inflating view counts in Youtube - using Puppeteer, TOR rotating proxies and Docker.

Disclaimer: This project is intended for informational/educational purposes only. I strictly recommend against using it to artificially inflate video view counts for monetary benefits and/or other use cases that goes against the Youtube Policies & Guidelines and/or the law of the land.

Prerequisites

  1. Install Docker Engine
  2. Install Docker Compose
  3. Clone the repo (or download it).
  4. Copy the video urls to urls.txt file (Note: A line may contain a single URL only)

Build & Run Steps

The following commands will help create a docker image, build the app and run it -

~$ docker-compose build
~$ docker-compose up --scale ytview=5

If you happen to have npm in your system, you can also choose to run the app via -

~$ npm run build 
~$ npm start ytview=5

Fine tuning for performance

Concepts:

  • Batch: Browser instances running in parallel.
  • Batch Count: Number of parallel browser instances to run.
  • View Action: This represents a single browser instance picking up a fixed number of urls from the pool and visiting them sequentially.
  • View Action Count: A single browsing session will watch these many videos sequentially.
  • Total Count - Total number of view actions. Ensure this number is exactly divisible by Batch Count for optimal resource utilisation.
  • View Duration - Average duration in seconds of a single view in view action. Actual view duration will be +/- 16.6% of this number.

You may choose to alter the above params in utils/constants/index.js for fine tuning according to your needs.

Also, the above commands runs 5 docker containers in parallel (which will translate to 5 x Batch Count number of Chromium instances running simultaneously) . Adjust this according to how capable your system is.

youtube-viewer-1's People

Contributors

soumyadityac avatar dependabot[bot] avatar ponomarevlad 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.