You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
closes#194, resolved#204, resolved#205, resolved#207, resolved#208, resolved #210, resolved#212; proxy API kinda resolves#202, watchdog for urls.txt and search.txt, proxy refresh interval, patch driver on every thread start, random command
Copy file name to clipboardExpand all lines: README.md
+28-5Lines changed: 28 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,19 +40,40 @@ Simple program to increase YouTube views written in Python. Works with live stre
40
40
* High speed Internet Connection
41
41
* Good proxy list (http, https, socks4, socks5)
42
42
* Google Chrome installed on your OS (not Chromium)
43
-
* Chrome driver will be downloaded automatically by undetected-chromedriver
43
+
44
+
# Features
45
+
* YouTube default, live streaming and YouTube Music support
46
+
* Multithreaded and Dynamic thread support
47
+
* Auto download chrome driver
48
+
* Patch chrome driver on the start of every thread by undetected-chromedriver
49
+
* Proxy support
50
+
* location : text file (must be on path) / proxy API (should work with most of the proxy providers)
51
+
* type : http, https, socks4, socks5
52
+
* format : `ip:port`, `user:pass@ip:port`, `ip:port:user:pass`
53
+
* proxy refresh after a certain time specified by the user
54
+
* rotating proxy support
55
+
* chrome v70+ randomized user agent based on platform
56
+
* canvas,audio,font,webgl fingerprint defender and IP leak prevent by webrtc control
57
+
* geolocation, timezone, referer spoofing
58
+
* direct link or search *keyword* on YouTube then watch the video by matching exact video *title*
59
+
* modify urls.txt and search.txt on the fly without restarting program
60
+
* HTTP api on localhost and a database to store view count
61
+
* config.json to save settings
62
+
* bypass consent page and several other pop up
63
+
* save bandwidth by reducing video quality
64
+
* can set higher(100%) watch duration percentage to increase *Watch time*, change playback speed
44
65
45
66
46
67
# Proxies
47
68
*[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 0.60USD/GB! To get this incredible 80% discount for Royal Residential proxies, use the discount code: `youtube80`*
48
69
49
70
50
71
*## Free Proxy
51
-
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.
72
+
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.
52
73
N.B: Available for **http(s)/socks4/socks5**
53
74
54
75
*## Premium Proxy
55
-
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.
76
+
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.
56
77
57
78
N.B: Only available for **http** type proxy.
58
79
@@ -61,7 +82,9 @@ Simple program to increase YouTube views written in Python. Works with live stre
61
82
N.B: Available for **http(s)/socks4/socks5**
62
83
63
84
Or direct use username:password combo like this `username:password@ipaddress:port` or `ipaddress:port:username:password` as Main Gateway.
85
+
64
86
N.B: Only available for **http** type proxy.
87
+
You can use proxy API too.
65
88
66
89
# HTTP API
67
90
Live logs fetched every 10 seconds and statistics in graphs are available on http://localhost:5000/ .Or [http://ip_of_your_pc:5000/](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.
@@ -82,13 +105,13 @@ Simple program to increase YouTube views written in Python. Works with live stre
82
105
83
106
84
107
# Live Stream
85
-
From now on, 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.
108
+
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.
86
109
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.
87
110
88
111
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.
89
112
90
113
# YouTube Music
91
-
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 either empty or delete the search.txt otherwise it will start searching videos in default YouTube.
114
+
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.
'\nScript will dynamically update thread amount when proxy reload happens.'+bcolors.ENDC)
207
+
print(bcolors.WARNING+'If you wish to use the same amount of threads all the time, enter the same number in Maximum and Minimum threads.'+bcolors.ENDC)
208
+
max_threads=input(
209
+
bcolors.OKCYAN+'\nMaximum Threads [Amount of chrome driver you want to use] (recommended = 5): '+bcolors.ENDC)
210
+
ifmax_threads=='':
211
+
max_threads=5
168
212
else:
169
-
threads=int(threads)
213
+
max_threads=int(max_threads)
170
214
171
-
ifenabled:
172
-
threads+=1
215
+
min_threads=input(
216
+
bcolors.OKCYAN+'\nMinimum Threads [Amount of chrome driver you want to use] (recommended = 2): '+bcolors.ENDC)
217
+
ifmin_threads=='':
218
+
min_threads=2
219
+
else:
220
+
min_threads=int(min_threads)
173
221
174
222
config["background"] =background
175
223
config["bandwidth"] =bandwidth
176
-
config["threads"] =threads
224
+
config["playback_speed"] =playback_speed
225
+
config["max_threads"] =max_threads
226
+
config["min_threads"] =min_threads
177
227
178
228
json_object=json.dumps(config, indent=4)
179
229
180
-
# Writing to sample.json
181
230
withopen("config.json", "w") asoutfile:
182
231
outfile.write(json_object)
183
232
184
-
print(bcolors.OKGREEN+'Your preferences are saved in config.json. You can always create a new config file from youtube_viewer.py'+bcolors.ENDC)
233
+
print(bcolors.OKGREEN+'\nYour preferences are saved in config.json. You can always create a new config file from youtube_viewer.py'+bcolors.ENDC)
185
234
print(bcolors.OKGREEN+'Or by running `python config.py` '+bcolors.ENDC)
0 commit comments