All Projects → MShawon → YouTube-Viewer

MShawon / YouTube-Viewer

Licence: MIT license
A multithreaded view bot for YouTube

Programming Languages

python
139335 projects - #7 most used programming language
HTML
75241 projects
javascript
184084 projects - #8 most used programming language
Batchfile
5799 projects

Projects that are alternatives of or similar to YouTube-Viewer

twitchtube
Twitch YouTube bot. Automatically make video compilations of the most viewed Twitch clips and upload them to YouTube using Python 3.
Stars: ✭ 398 (-24.76%)
Mutual labels:  youtube-video, youtube-bot
chatbase-node
Quickly integrate your Node.js chatbot with Chatbase Analytics
Stars: ✭ 74 (-86.01%)
Mutual labels:  bots
FunUtils
Some codes i wrote to help me with me with my daily errands ;)
Stars: ✭ 43 (-91.87%)
Mutual labels:  bots
Slack-logger-bot
Simple slack bot that can save all of your team messages on your server so that you can still read them even if you exceeds the 10,000 messages in the archive.
Stars: ✭ 47 (-91.12%)
Mutual labels:  bots
exocortex-halo
Various and sundry additional pieces of software I've written to incorporate into my exocortex.
Stars: ✭ 65 (-87.71%)
Mutual labels:  bots
node-youtube-music
Unofficial YouTube Music API for Node.js
Stars: ✭ 34 (-93.57%)
Mutual labels:  youtube-video
vcodes
It is a Discord-based, open-source website. Titles it contains; code sharing, server list, Bot list, uptime system.
Stars: ✭ 151 (-71.46%)
Mutual labels:  bots
cerb-release
For over 20 years, teams of all sizes have used Cerb to manage their email workloads. Whether you're a solo founder replying to a few support messages per day, or a team with hundreds of members replying to thousands of messages per hour, you can serve your audience faster with Cerb's time-tested tools. Development at: https://github.com/jstande…
Stars: ✭ 37 (-93.01%)
Mutual labels:  bots
Idle-RPG-Bot
An Idle-RPG bot for Discord
Stars: ✭ 47 (-91.12%)
Mutual labels:  bots
zulipbot
GitHub workflow-optimizing bot by @zulip
Stars: ✭ 70 (-86.77%)
Mutual labels:  bots
pawxi
Dead simple reverse proxy for all your containerized needss
Stars: ✭ 14 (-97.35%)
Mutual labels:  proxies
Viber-and-the-Microsoft-Bot-Framework
se02035.github.io/viber-and-the-microsoft-bot-framework/
Stars: ✭ 16 (-96.98%)
Mutual labels:  bots
up 1 ao 99 todas classes-bro
Esta macro pretende upar do nível 1 de base até o 99 de todas as classes do ragnarok no servidor Brasileiro
Stars: ✭ 26 (-95.09%)
Mutual labels:  bots
twitter-crypto-bot
This is a Twitter bot that tweets about cryptocurrencies prices every certain amount of minutes
Stars: ✭ 21 (-96.03%)
Mutual labels:  bots
telegram
📚 Golang bindings for Telegram API
Stars: ✭ 15 (-97.16%)
Mutual labels:  bots
telegram bitcoin bot
Telegram Auto Mining Bitcoins In Termux
Stars: ✭ 115 (-78.26%)
Mutual labels:  bots
lura
Ultra performant API Gateway with middlewares. A project hosted at The Linux Foundation
Stars: ✭ 5,159 (+875.24%)
Mutual labels:  proxies
BooksAndBot
Telegram inline bot. Search for books and share them in a conversation
Stars: ✭ 26 (-95.09%)
Mutual labels:  bots
proxy machine
Parse 30.000 free proxies!
Stars: ✭ 66 (-87.52%)
Mutual labels:  proxies
FFmpegPlayer
Simple FFmpeg video player
Stars: ✭ 72 (-86.39%)
Mutual labels:  youtube-video

ViewCount OS Downloads Closed issues Open issues

GitHub release (latest by date) GitHub Release Date

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.

Support

Consider a donation to keep this project alive and for the countless hours of works and testing :)

PayPal : https://paypal.me/mshawon1

Bitcoin : 1Jh8KZ6khuHayNDeVV9tEzYSq9FPExKCAH

Topics

Requirements
New Update
Features
Proxies
  Free Proxy
  Premium Proxy
  Rotating Proxy
HTTP API
Config.json
Urls
Search
Live Stream
YouTube Music
Fast VPS
Windows
  Binary Release
  Installation
  Usage
Linux / Mac
  Installation
  Usage
Best Practices
Issues
Credits

Requirements

  • Python 3.7.x-3.9.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
    • location : text file (must be on path) / proxy API (should work with most of the proxy providers)
    • type : http, https, socks4, socks5
    • format : ip:port, user:pass@ip:port, ip:port:user:pass
    • proxy refresh after a certain time specified by the user
    • rotating 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
  2. Then put your video links in the urls.txt file
  3. To search your video on YouTube and then play it put the search keywords and video title in the search.txt file
  4. Get your proxy list
  5. Run the script and follow the instructions from there.

Proxies

IPRoyal 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:portor 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/ .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 video with video title. 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. Put keyword and title like this format keyword :::: video title in search.txt. You can use same video title for multiple keyword too.

If you don't know any keyword just put your video title :::: video title 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.

For YouTube Music use version 1.6.2 or earlier until the bug is fixed in the latest releases.

Fast VPS with Unlimited Traffic

PetroSky 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 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. 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.9.x

    Open command prompt and type

    git clone https://github.com/MShawon/YouTube-Viewer.git --depth 10
    
    cd YouTube-Viewer
    
    python -m pip install --upgrade pip wheel
    
    pip install "setuptools<59"
    
    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

      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
      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.9.x

    Open your favourite terminal and run

    git clone https://github.com/MShawon/YouTube-Viewer.git --depth 10
    
    cd YouTube-Viewer
    
    python3 -m pip install --upgrade pip wheel
    
    pip3 install "setuptools<59"
    
    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

      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
      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.
  • Use both urls.txt and search.txt
  • And use as many urls and keyword::::title as you can. Don't use just one video.

Credits

I want to thank all of you who have opened an issue or shared your code snippets or ideas with me!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].