File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -111,14 +111,14 @@ def play_video(drivers):
111
111
options .add_argument ("--mute-audio" )
112
112
options .add_experimental_option ("excludeSwitches" , ["enable-logging" ])
113
113
drivers .append (webdriver .Chrome (options = options ,
114
- executable_path = r"chromedriver" ))
114
+ executable_path = r"chromedriver" ))
115
115
drivers [i ].get (random .choice (sites ))
116
116
drivers [i ].get (url )
117
117
play_video (drivers )
118
118
119
119
while True :
120
120
time .sleep (time_to_refresh )
121
- viewcount += 1
121
+ viewcount += number_of_drivers
122
122
wsviewcount ()
123
123
124
124
print ("view count = " + str (viewcount ))
Original file line number Diff line number Diff line change @@ -74,14 +74,14 @@ def play_video(drivers):
74
74
options .add_experimental_option (
75
75
"excludeSwitches" , ["enable-logging" ])
76
76
drivers .append (webdriver .Chrome (options = options ,
77
- executable_path = r"chromedriver" ))
77
+ executable_path = r"chromedriver" ))
78
78
drivers [i ].get (random .choice (sites ))
79
79
drivers [i ].get (url )
80
80
play_video (drivers )
81
81
82
82
while True :
83
83
time .sleep (time_to_refresh )
84
- viewcount += 1
84
+ viewcount += number_of_drivers
85
85
wsviewcount ()
86
86
progress_bar ()
87
87
You can’t perform that action at this time.
0 commit comments