# Youtube Viewer | Approach To Inflating View Counts In Youtube

**URL:** <https://onehack.st/t/youtube-viewer-approach-to-inflating-view-counts-in-youtube/164299>\
**Category:** Tools & Scripts\
**Tags:** tools, social-media\
**Created:** [November 29, 2020, 11:47am UTC](https://onehack.st/t/youtube-viewer-approach-to-inflating-view-counts-in-youtube/164299 "2020-11-29T11:47:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![PlayBoy83](https://onehack.st/user_avatar/onehack.st/playboy83/32/164314_2.png) [@PlayBoy83](https://onehack.st/u/PlayBoy83)\
**Post date:** [November 29, 2020, 11:47am UTC](https://onehack.st/t/youtube-viewer-approach-to-inflating-view-counts-in-youtube/164299/1 "2020-11-29T11:47:07Z")

</div>

![image](https://onehack.st/uploads/default/original/3X/9/c/9c25d9d5c54f319eec1dfa996059703275edbf08.jpeg)

## Introduction

A modern (and portable) approach to inflating view counts in Youtube - using [Puppeteer](https://pptr.dev/), [TOR](https://www.torproject.org/) rotating proxies and [Docker](https://www.docker.com/).

> **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](https://docs.docker.com/engine/install/)
2. Install [Docker Compose](https://docs.docker.com/compose/install/)
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.

## GitHub:

> **[GitHub - soumyadityac/youtube-viewer: 🤖 A view bot for Youtube.](https://github.com/soumyadityac/youtube-viewer)**
>
> 🤖 A view bot for Youtube.

---

<div class="post-metadata">

**Author:** ![Roberto\_Diaz](https://onehack.st/user_avatar/onehack.st/roberto_diaz/32/18084_2.png) [@Roberto\_Diaz](https://onehack.st/u/Roberto_Diaz)\
**Post date:** [November 29, 2020, 12:41pm UTC](https://onehack.st/t/youtube-viewer-approach-to-inflating-view-counts-in-youtube/164299/2 "2020-11-29T12:41:33Z")

</div>

Hi @PlayBoy83  
Thank you very much for this help

---

<div class="post-metadata">

**Author:** ![Abd\_Shk](https://onehack.st/user_avatar/onehack.st/abd_shk/32/25814_2.png) [@Abd\_Shk](https://onehack.st/u/Abd_Shk)\
**Post date:** [November 30, 2020, 8:46am UTC](https://onehack.st/t/youtube-viewer-approach-to-inflating-view-counts-in-youtube/164299/3 "2020-11-30T08:46:00Z")

</div>

Any tutorial about this method

---

<div class="post-metadata">

**Author:** ![DhavalFuletra](https://onehack.st/letter_avatar_proxy/v4/letter/d/b9e5f3/32.png) [@DhavalFuletra](https://onehack.st/u/DhavalFuletra)\
**Post date:** [December 1, 2020, 10:12am UTC](https://onehack.st/t/youtube-viewer-approach-to-inflating-view-counts-in-youtube/164299/4 "2020-12-01T10:12:40Z")

</div>

any video tutorial for noobs like me how to use this step wise
