Coder Social home page Coder Social logo

cyberdevilz / youtubebot Goto Github PK

View Code? Open in Web Editor NEW
147.0 4.0 66.0 8.92 MB

YouTube Bot is a basic python script that tries to increase the number of views on your YouTube video. Sometimes, we struggle to get views even though our contents are great. View counts also contribute to the YouTube algorithm. Hence, this tool might help you in such situation. Remember! Do not overuse as it is completely unethical.

License: MIT License

Python 100.00%
youtube python-script automation selenium-python selenium-firefox selenium-chrome python-tools tricks hacktoberfest

youtubebot's Introduction

YouTube Bot

License Issues Stars Contributors Forks

Increase views on your videos

image

YouTube Bot is an easy to use simple python script that makes use of selenium to automate the process of increasing views on your Youtube Videos.

Requirements

  • Any of the python3 versions may work for you, but we highly recommend using python 3.7+

  • Web Browser (Chrome or Firefox)

  • Drivers for their respective broswsers.

    We have included the drivers for the browsers in their respective folders. To get further info about drivers, or have any issues , kindly refer to the README.md files in those folders.

Installation and Setup

  • Make sure you have Python3 installed in your system.
  • Then install the necessary libraries and modules by typing pip install -r requirements.txt
  • Download the apt Web Drivers (I have already included the drivers, so no need to worry).
  • Add the drivers to the path and you are done!!

Usage

  • Add the URL of your YouTube video and hit Submit.
  • Add the duration (specify how much time the script should "watch" your video. Format is HH:MM:SS)
  • Add the number of times you want to execute the script (mention inf for infinite).
  • Finally click on the start button to execute it.

Contribution

If you are a contributor and willing to contribute to our project. You are highly welcome to do that. Here are the few things you have to keep in mind while doing a contribution.

  • Make sure, you read the Contributing Guidelines before starting with contributions.
  • Follow the coding conventions and best practices while making changes to the code.
  • Make use of the ISSUE and PULL_REQUEST templates in the .github folder.

Thanks for using our YouTube Bot!

youtubebot's People

Contributors

arayush841 avatar askalik avatar ayushofficial avatar cyberdevilz avatar dependabot[bot] avatar p0intman avatar shadmankhan avatar snyk-bot avatar yaswanthsaivendra avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

youtubebot's Issues

selenium.common.exceptions.ElementClickInterceptedException: Message: Element <button class="ytp-play-button ytp-button"> is not clickable at point (59,481) because another element <tp-yt-iron-overlay-backdrop class="opened"> obscures it

resolution = 2240.0, 1260.0
img0 size -> 1045, 588
img1 size -> 583, 121
thumbnail size -> 1045, 588
Exception in Tkinter callback
Traceback (most recent call last):
  File "/usr/lib/python3.8/tkinter/__init__.py", line 1892, in __call__
    return self.func(*args)
  File "/home/molnar/YoutubeBot2/Firefox/YouTubeBot.py", line 89, in start
    plybtn.click()
  File "/home/molnar/YoutubeBot2/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webelement.py", line 80, in click
    self._execute(Command.CLICK_ELEMENT)
  File "/home/molnar/YoutubeBot2/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webelement.py", line 633, in _execute
    return self._parent.execute(command, params)
  File "/home/molnar/YoutubeBot2/venv/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute
    self.error_handler.check_response(response)
  File "/home/molnar/YoutubeBot2/venv/lib/python3.8/site-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response
    raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.ElementClickInterceptedException: Message: Element <button class="ytp-play-button ytp-button"> is not clickable at point (59,481) because another element <tp-yt-iron-overlay-backdrop class="opened"> obscures it

https://www.youtube.com/watch?v=AJEg-d-U2eY

image
image

Add LICENSE.md

Add an appropriate LICENSE to this repository. MIT is preferred

Need Documentation for CONTRIBUTING.md

Contributing to other repositories is a good deed. It helps developer speed their project development as well as improve their product. But many a times, the contributors don't know much about the ways of contribution. Hence it is a good idea to have a CONTRIBUTING.md file which informs the contributors about the steps required to perform a simple pull request.

Create a GUI for YouTubeBot

As it stands, you can run YouTubeBot using any IDE. But it would be better if a GUI would be created for easier execution. The GUI must take the following info:

  • URL of YouTube video
  • Duration
  • Loops (inf for infinite)

Add Pull Request Template

Create a Pull Request Template of your own format. Make sure it covers basic areas like what the pull request is all about, what is the changes made etc. A neat format is well appreciated.

Create pre-commit hooks

Create pre-commit hooks that checks for the quality of the code submitted, identifies any potential sensitive info disclosures and corrects / removes any error if found.

create CONTRIBUTING.md file

If anyone could help me create CONTRIBUTING.md file for this repo, that would be awesome! I literally can't take some time off my coding and focus on the non coding aspect. So the help is much appreciated.

Update README

The never ending task of updating README bugs every developer. Why don't you lend a hand by writing a neat documentation for YouTube Bot? You can choose whatever format you like, as long as it looks completely awesome and eye popping. Video demos are much appreciated.
Thanks

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.