├── README.md
└── main.py
/README.md:
--------------------------------------------------------------------------------
1 | # YouTube-ViewBot
2 | A youtube view bot using python
3 |
4 | | Star | Fork |
5 | | ---------------------------------------- | ---------------------------------------- |
6 | |  |  |
7 |
8 | ## Setup
9 | Install the modules using pip
10 | Ex: `pip install os`
11 | `pip` should be installed with [python](https://python.org)
12 | After this you just need to run the python file and complete the fields.
13 |
14 |
15 | Note : you need to install python for this view bot.
16 |
17 |
--------------------------------------------------------------------------------
/main.py:
--------------------------------------------------------------------------------
1 | import webbrowser
2 | import time
3 | import os
4 |
5 | url = input("Enter the youtube URL:")
6 | refresh = input("Enter the refresh time in seconds:")
7 | count = input("How many views do you want? ")
8 |
9 | def openURL():
10 | webbrowser.open(url)
11 | time.sleep(int(refresh))
12 |
13 | for i in range(int(count)):
14 | print("Webpage has been viewed")
15 | openURL()
16 |
17 | openURL()
18 |
--------------------------------------------------------------------------------