-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please add some details #2
Comments
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
<#2>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/A3MHXTKMCB3OQKZNAAKPLPTXFL6UZANCNFSM6AAAAAAX4DELLY>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
The text was updated successfully, but these errors were encountered: