Armanihub / Youtube-Fast-View-Bot

A very fast youtube viewer bot
Apache License 2.0
1 stars 4 forks source link

Please add some details #2

Open blucifer1337 opened 1 year ago

blucifer1337 commented 1 year ago

add some comments on code that proxy location and example like ( proxy location here example: proxy/proxys.txt)

i tried to run but it just show video url on console and nothing works.

here is the full code If i did any mistake please let me know.

import webbrowser from selenium.webdriver.common.proxy import Proxy, ProxyType from selenium.webdriver.common.by import By from selenium.webdriver.common.keys import Keys import time from threading import Thread, Barrier import os

def load_proxies(PATH): # for loading the proxies return open(PATH).read().split('\n')

def load_session(url,proxy): # manage each session proxy,port = proxy.split(':') profile = webdriver.Chrome('webdriver/chromedriver.exe') profile.set_preference("network.proxy.type", 1) profile.set_preference("network.proxy.http", proxy) profile.set_preference("network.proxy.http_port", port) profile.set_preference("network.proxy.ssl", proxy) profile.set_preference("network.proxy.ssl_port", port) profile.update_preferences()

inpt = input("https://www.youtube.com/watch?v=q9zcCivdqps")

inpt2 = float(input("3"))

inp4 = int(input("5"))

print("Working...")

print ('<<<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>>>>') print ('--------------------------------------------------------------') print ('||||||||||||||||||||||||||BY Rae Armani||||||||||||||||||||||||||||') print ('--------------------------------------------------------------') print ('<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>')

counter =0 while (counter != inp4): webbrowser.open(inpt) time.sleep(inpt2) counter = counter +1

Armanihub commented 1 year ago

Hello, Code has been flagged by Youtube thats why it doesnt work anymore but I have a better code now that you can get. Thank you for reaching out Best Regards Armani

On Wed, May 10, 2023 at 3:47 AM blucifer1337 @.***> wrote:

add some comments on code that proxy location and example like ( proxy location here example: proxy/proxys.txt)

i tried to run but it just show video url on console and nothing works.

here is the full code If i did any mistake please let me know.

import webbrowser from selenium.webdriver.common.proxy import Proxy, ProxyType from selenium.webdriver.common.by import By from selenium.webdriver.common.keys import Keys import time from threading import Thread, Barrier import os

def load_proxies(PATH): # for loading the proxies return open(PATH).read().split('\n')

def load_session(url,proxy): # manage each session proxy,port = proxy.split(':') profile = webdriver.Chrome('webdriver/chromedriver.exe') profile.set_preference("network.proxy.type", 1) profile.set_preference("network.proxy.http", proxy) profile.set_preference("network.proxy.http_port", port) profile.set_preference("network.proxy.ssl", proxy) profile.set_preference("network.proxy.ssl_port", port) profile.update_preferences()

inpt = input("https://www.youtube.com/watch?v=q9zcCivdqps")

inpt2 = float(input("3"))

inp4 = int(input("5"))

print("Working...")

print ('<<<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>>>>') print ('--------------------------------------------------------------') print ('||||||||||||||||||||||||||BY Rae Armani||||||||||||||||||||||||||||') print ('--------------------------------------------------------------') print ('<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>')

counter =0 while (counter != inp4): webbrowser.open(inpt) time.sleep(inpt2) counter = counter +1

— Reply to this email directly, view it on GitHub https://github.com/Armanihub/Youtube-Fast-View-Bot/issues/2, or unsubscribe https://github.com/notifications/unsubscribe-auth/A3MHXTKMCB3OQKZNAAKPLPTXFL6UZANCNFSM6AAAAAAX4DELLY . You are receiving this because you are subscribed to this thread.Message ID: @.***>