# YouTube Viewer | A Simple Program To Increase YouTube Views ⭐

**URL:** <https://onehack.st/t/youtube-viewer-a-simple-program-to-increase-youtube-views/233715>\
**Category:** Tools & Scripts\
**Tags:** tools, freebies, tips-tricks, social-media\
**Created:** [February 27, 2023, 1:51pm UTC](https://onehack.st/t/youtube-viewer-a-simple-program-to-increase-youtube-views/233715 "2023-02-27T13:51:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aina](https://onehack.st/user_avatar/onehack.st/aina/32/167469_2.png) [@Aina](https://onehack.st/u/Aina)\
**Post date:** [February 27, 2023, 1:51pm UTC](https://onehack.st/t/youtube-viewer-a-simple-program-to-increase-youtube-views/233715/1 "2023-02-27T13:51:15Z")

</div>

![image](https://onehack.st/uploads/default/original/3X/a/e/ae5feefbc5315483c4f34761db71d6a9c77e80b6.jpeg)

YouTube Viewer | A Simple Program To Increase YouTube Views

[![ViewCount](https://camo.githubusercontent.com/af03dc93e3ea5e16b8d888b703b13debea5f6af0a698a1fee57d0029b12b4b74/68747470733a2f2f76696577732e77686174696c656172656e65642e746f6461792f76696577732f6769746875622f4d536861776f6e2f596f75547562652d5669657765722e737667)](https://camo.githubusercontent.com/af03dc93e3ea5e16b8d888b703b13debea5f6af0a698a1fee57d0029b12b4b74/68747470733a2f2f76696577732e77686174696c656172656e65642e746f6461792f76696577732f6769746875622f4d536861776f6e2f596f75547562652d5669657765722e737667) [![OS](https://camo.githubusercontent.com/c2e41a3f4ea98e10b6f800c0b3ce19848710aa2e810e83597165f40331f36bd0/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4f532d57696e646f77732532302f2532304c696e7578202f204d61632d73756363657373)](https://camo.githubusercontent.com/c2e41a3f4ea98e10b6f800c0b3ce19848710aa2e810e83597165f40331f36bd0/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4f532d57696e646f77732532302f2532304c696e7578202f204d61632d73756363657373) [![Downloads](https://camo.githubusercontent.com/95e40a9382f83f51a04bc9f11677db3d2d3508230c7a5e57b2e6ecb4ffda9cd2/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f646f776e6c6f6164732f4d536861776f6e2f596f75547562652d5669657765722f746f74616c3f6c6162656c3d446f776e6c6f61647326636f6c6f723d73756363657373)](https://github.com/MShawon/YouTube-Viewer/releases) [![Closed issues](https://camo.githubusercontent.com/3d6a49d0867b665e95108d1c4cd57ad73eb2ef12781b05d38bdefba584b16342/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732d636c6f7365642f4d536861776f6e2f596f75547562652d5669657765722e737667)](https://github.com/MShawon/YouTube-Viewer/issues?q=is%3Aissue+is%3Aclosed) [![Open issues](https://camo.githubusercontent.com/a5e7d729f2f99e0c49916579b11dce5fd70c9caee671ab9070a012f50423085a/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f4d536861776f6e2f596f75547562652d566965776572)](https://github.com/MShawon/YouTube-Viewer/issues?q=is%3Aissue+is%3Aopen)

[![GitHub release (latest by date)](https://camo.githubusercontent.com/3f3bcc2137efd7a8d4ca164d7b7f30b7f1814bb5069b5a7d121f8166c725e739/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f4d536861776f6e2f596f75547562652d5669657765723f636f6c6f723d73756363657373)](https://github.com/MShawon/YouTube-Viewer/releases/latest) [![GitHub Release Date](https://camo.githubusercontent.com/b6ad925eb1560db8b6c6061db6beffaa31cfd2daa7f6b15c5ffc46402b926dde/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652d646174652f4d536861776f6e2f596f75547562652d5669657765723f636f6c6f723d73756363657373)](https://github.com/MShawon/YouTube-Viewer/releases/latest)

```auto
Yb dP dP"Yb 88 88 888888 88 88 88""Yb 888888
 YbdP dP Yb 88 88 88 88 88 88 __dP 88__   
  8P Yb dP Y8 8P 88 Y8 8P 88""Yb 88""   
 dP YbodP `YbodP' 88 `YbodP' 88oodP 888888 

                     Yb dP 88 888888 Yb dP 888888 88""Yb 
                      Yb dP 88 88 __Yb db dP 88__ 88__dP 
                       YbdP 88 88"" YbdPYbdP 88"" 88"Yb  
                        YP 88 888888 YP YP 888888 88 Yb

```

# YouTube Viewer

Simple program to increase YouTube views written in Python. Works with live stream too.

**Disclaimer:** This has been developed for educational purposes only. Any action you take using this script is strictly at your own risk. I will not be liable for any losses or damages you face using this script.

**Cons:** There will be some view drop always.

# Topics

[Requirements](https://github.com/MShawon/YouTube-Viewer#requirements)  
[New Update](https://github.com/MShawon/YouTube-Viewer#new-update)  
[Features](https://github.com/MShawon/YouTube-Viewer#features)  
[Proxies](https://github.com/MShawon/YouTube-Viewer#proxies)  
[Free Proxy](https://github.com/MShawon/YouTube-Viewer#free-proxy)  
[Premium Proxy](https://github.com/MShawon/YouTube-Viewer#premium-proxy)  
[Rotating Proxy](https://github.com/MShawon/YouTube-Viewer#rotating-proxy)  
[HTTP API](https://github.com/MShawon/YouTube-Viewer#http-api)  
[Config.json](https://github.com/MShawon/YouTube-Viewer#configjson)  
[Urls](https://github.com/MShawon/YouTube-Viewer#urls)  
[Search](https://github.com/MShawon/YouTube-Viewer#search)  
[Live Stream](https://github.com/MShawon/YouTube-Viewer#live-stream)  
[YouTube Music](https://github.com/MShawon/YouTube-Viewer#youtube-music)  
[Fast VPS](https://github.com/MShawon/YouTube-Viewer#fast-vps-with-unlimited-traffic)  
[Windows](https://github.com/MShawon/YouTube-Viewer#windows)  
[Binary Release](https://github.com/MShawon/YouTube-Viewer#binary-release)  
[Installation](https://github.com/MShawon/YouTube-Viewer#installation)  
[Usage](https://github.com/MShawon/YouTube-Viewer#usage)  
[Linux / Mac](https://github.com/MShawon/YouTube-Viewer#linux--mac)  
[Installation](https://github.com/MShawon/YouTube-Viewer#installation-1)  
[Usage](https://github.com/MShawon/YouTube-Viewer#usage)  
[Best Practices](https://github.com/MShawon/YouTube-Viewer#usage-1)  
[Issues](https://github.com/MShawon/YouTube-Viewer#issues)  
[Credits](https://github.com/MShawon/YouTube-Viewer#credits)

# Requirements

- **Python 3.7.x-3.11.x**
- High speed Internet Connection
- Good proxy list (http, https, socks4, socks5)
- Google Chrome installed on your OS (not Chromium)

# Features

- YouTube default, live streaming and YouTube Music support

- Multithreaded and Dynamic thread support

- Auto download updated chrome driver whenever user’s Google Chrome version is updated

- Patch chrome driver on the start of every thread by undetected-chromedriver

- Proxy support

- chrome v80+ randomized user agent based on platform

- canvas,audio,font,webgl fingerprint defender and IP leak prevent by webrtc control

- geolocation, timezone, referer spoofing

- can add extra extensions in the `extension/custom_extension/` folder

- direct link or search _keyword_ on YouTube then watch the video by matching exact video _title_

- modify **urls.txt, search.txt and config.json** on the fly without restarting program

- HTTP api on localhost and a database to store view count

- config.json to save settings

- bypass consent page and several other pop up

- save bandwidth by reducing video quality

- can set higher(100%) watch duration percentage to increase _Watch time_, change playback speed

- 
#### Traffic Sources

  - YouTube Search
  - Suggested Videos
  - External (Google, Yahoo, DuckDuckGo, Bing, Twitter)
  - End Screens
  - Channel Pages
  - Direct or unknown

# How to get started

1. First, install the script following any one of these

- [Windows without installing python](https://github.com/MShawon/YouTube-Viewer#binary-release)
- [Windows from source code](https://github.com/MShawon/YouTube-Viewer#installation)
- [Linux / Mac from source code](https://github.com/MShawon/YouTube-Viewer#linux--mac)

1. Then put your video links in the [urls.txt](https://github.com/MShawon/YouTube-Viewer#urls) file
2. To search for your video on YouTube and then play it, put the search keywords and video title in the [search.txt](https://github.com/MShawon/YouTube-Viewer#search) file
3. Get your [proxy](https://github.com/MShawon/YouTube-Viewer#proxies) list
4. Run the script and follow the instructions from there.

# Proxies

_[IPRoyal](https://iproyal.com/?r=18862) offers datacenter and residential proxies. The Royal Residential proxies have a large pool with addresses in over 160 countries all over the world, so they can generate a massive number of views. IPRoyal agreed to provide a huge discount for my script users, so the price will be as low as 3.60USD/GB! To get this incredible 10% discount for Royal Residential proxies, use the discount code: `youtubers10`_

- 
## Free Proxy

Try not to use free proxies. But if you have a paid subscription and you want to use authenticated IP feature, then you can use the free proxy category. Provide your text file path (where you saved the proxies) when the script asks for a proxy file name or a proxy API. N.B: Available for **http(s)/socks4/socks5**

- 
## Premium Proxy

Proxies with authentication can also be done. To do so put your proxies in this format `username:password@ipaddress:port`or `ipaddress:port:username:password` in a text file. Every single line will contain a single proxy. Provide your text file path when the script asks for a proxy file name or a proxy API.N.B: Only available for **http** type proxy.

- 
## Rotating Proxy

You can also use the rotating proxies service. You can either authenticate your IP on your proxy provider service and use `ipaddress:port` as Main Gateway. N.B: Available for **http(s)/socks4/socks5**Or direct use username:password combo like this `username:password@ipaddress:port` or `ipaddress:port:username:password` as Main Gateway.N.B: Only available for **http** type proxy. You can use proxy API too.

# HTTP API

Live logs fetched every 10 seconds and statistics in graphs are available on [http://localhost:5000/](http://localhost:5000/) .Or http://ip\_of\_your\_pc:5000/ use this to access from another device under same network. A SQLite Database is being used to store your generated views from this script. Last 200 logs from scripts are fetched every 10 seconds to show on website and graph is updated every 5 minutes.

# Config.json

No need to type everything everytime you run the script. A config file will be created automatically to save and use your preferences. You can modify it on the fly without restarting the program.

# Urls

Put video links in the urls.txt. For multiple videos place urls in multple lines.

1. To find video link in YouTube click share and copy.
2. If you have any external link which will redirect to your youtube video you can use that too. Example : when you post a YouTube video link in **twitter** and you hit play on twitter, you will get a link like this `https://t.co/xxxxxxxxxx?amp=1`. This is helpful because YouTube will see that views are coming from External Source like twitter in this example.

# Search

Program can search youtube with the keyword you want and find the video with video title or video id. To do this you need to know what keyword can find your video on youtube search engine. Also you need to provide **exact** video title or video id. Put keyword and title like this format `keyword :::: video title` or `keyword :::: video id` in **search.txt**. Always use multiple `keyword` for the same `video title` or `video id`.

_If you don’t know any keyword just put your `video title :::: video title` or `video title :::: video id` in search.txt_

# Live Stream

This script supports live streams too. Just use this script as you would for the already uploaded video. Script will automatically know if your video is live. Just bear in mind, you need a **high-end pc** for higher threads to get more viewers. Basically, script will check every 60 secs if youtube shows `x watching now` is present. If your live stream ends, script will check 5 times to be sure. In another word, after your live stream ends, script takes 5 minutes to close the driver.

If you have never used this script before, use this first for an already uploaded video. This way, you will have a better understanding of how this script works. To do so, keep reading.

# YouTube Music

Can generate views on YouTube Music too. In **urls.txt** put your music link like this `https://music.youtube.com/watch?v=xxxxx`. Script will automatically load YouTube Music when it sees link have `music.youtube.com`. **Search feature is not available for this.** So you need to empty the search.txt otherwise it will start searching videos in default YouTube.

# Fast VPS with Unlimited Traffic

_[PetroSky](https://petrosky.io/mshawon) is one of the various CloudHosting services with the fastest and most convenient cloud technology. Their servers are powered by the latest **AMD RYZEN/EPYC CPUs** with High-Performance **NVMe SSD Hard Drives** that will let your application run faster than ever. You can get 2 vCPU with 4 GB ECC RAM for as low as 11.99€/month which will work very well for YouTube-Viewer script for 2 threads. Visit [PetroSky](https://petrosky.io/mshawon) to get the fastest VPS with unlimited traffic at the lowest price. Use this code `mshawon25` to get **25% discount** on your purchase_

# Windows

- 
## Binary Release

For windows you can download binary releases from **[Binary releases](https://github.com/MShawon/YouTube-Viewer/releases)**. Download this file named `YouTube-Viewer_win_x.x.x.zip`, unzip it and run the `youtube_viewer.exe`. Or you can install it from source. To do so keep reading.

- 
## Installation

First, make sure you have installed git and Python version between 3.7.x to 3.11.xOpen command prompt and type

```auto
git clone https://github.com/MShawon/YouTube-Viewer.git --depth 10

```

```auto
cd YouTube-Viewer

```

```auto
python -m pip install --upgrade pip wheel

```

```auto
pip install "setuptools<59"

```

```auto
pip install -r requirements.txt

```

- 
## Important

  - If you’ve got a large free proxies collection, you should run this command to filter Good proxies. Then use **GoodProxy.txt** for proxy in **youtube\_viewer.py**

```auto
python proxy_check.py

```

- After closing program, if chromedrivers are still running. You may want to double click **killdrive.bat** to close all chrome instances.

- _urls.txt_ or _search.txt_ can’t be empty. Otherwise you will see errors. Use both for better results.

- 
## Usage

  - Open command prompt in YouTube-Viewer folder and run

```auto
python youtube_viewer.py

```

- Rest is self explanatory.

# Linux / Mac

- 
## Installation

First, make sure you have installed git and Python version between 3.7.x to 3.11.xOpen your favourite terminal and run

```auto
git clone https://github.com/MShawon/YouTube-Viewer.git --depth 10

```

```auto
cd YouTube-Viewer

```

```auto
python3 -m pip install --upgrade pip wheel

```

```auto
pip3 install "setuptools<59"

```

```auto
pip3 install -r requirements.txt

```

- 
## Important

  - If you’ve got a large free proxies collection, you should run this command to filter Good proxies. Then use **GoodProxy.txt** for proxy in **youtube\_viewer.py**

```auto
python3 proxy_check.py

```

- After closing program, if chromedrivers are still running. Open your terminal and run

ps aux | awk '/chrome/ { print $2 } ’ | xargs kill -9

- _urls.txt_ or _search.txt_ can’t be empty. Otherwise you will see errors. Use both for better results.

- 
## Usage

  - Open command prompt in YouTube-Viewer folder and run

```auto
python3 youtube_viewer.py

```

- Rest is self explanatory.

# Best Practices

To get the most out of this script you should maintain these things.

- Don’t use HEADLESS mode. Because no IP leak prevention, fingerprint defending, etc. can be done in headless mode.
- Youtube doesn’t count views from the same IP after a certain time. Like, don’t expect to get 100 views from 10 proxies. If you want more views, try to use a lot of premium proxies(free proxies are flagged by most websites). DO NOT use TOR proxies.
- In a nutshell, you need Rotating proxies to get the best result. But the IP MUST NOT change on each request. Set the sticky session or TTL to 5 to 15 minutes.
- For IPRoyal it would be _Royal Residential Proxies_, not Static Residential proxies
- Use both [urls.txt](https://github.com/MShawon/YouTube-Viewer#urls) and [search.txt](https://github.com/MShawon/YouTube-Viewer#search)
- And use as many [urls](https://github.com/MShawon/YouTube-Viewer#urls) and [keyword::::title](https://github.com/MShawon/YouTube-Viewer#search) as you can. Don’t use just one video.

## GitHub:

> **[GitHub - MShawon/YouTube-Viewer: A multithreaded view bot for YouTube](https://github.com/MShawon/YouTube-Viewer)**
>
> A multithreaded view bot for YouTube

## Enjoy! ❤

---

<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:** [February 27, 2023, 2:29pm UTC](https://onehack.st/t/youtube-viewer-a-simple-program-to-increase-youtube-views/233715/2 "2023-02-27T14:29:24Z")

</div>

Superb Share 😊

---

<div class="post-metadata">

**Author:** ![ksk14](https://onehack.st/user_avatar/onehack.st/ksk14/32/105682_2.png) [@ksk14](https://onehack.st/u/ksk14)\
**Post date:** [February 27, 2023, 3:28pm UTC](https://onehack.st/t/youtube-viewer-a-simple-program-to-increase-youtube-views/233715/3 "2023-02-27T15:28:01Z")

</div>

Nice, thanks for sharing

---

<div class="post-metadata">

**Author:** ![ailihphilia](https://onehack.st/user_avatar/onehack.st/ailihphilia/32/104172_2.png) [@ailihphilia](https://onehack.st/u/ailihphilia)\
**Post date:** [February 28, 2023, 9:06pm UTC](https://onehack.st/t/youtube-viewer-a-simple-program-to-increase-youtube-views/233715/4 "2023-02-28T21:06:57Z")

</div>

Awesome share! Thank you!
