$$$ WORKING WITH YOUTUBE BOT SOURCE , PYTHON **** | General Hacking | Crax

Welcome To Crax.Pro Forum!

Check our new Marketplace at Crax.Shop

   Login! SignUp Now!
  • We are in solidarity with our brothers and sisters in Palestine. Free Palestine. To learn more visit this Page

  • Crax.Pro domain has been taken down!

    Alternatives: Craxpro.io | Craxpro.com

$$$ WORKING WITH YOUTUBE BOT SOURCE , PYTHON ****

$$$ WORKING WITH YOUTUBE BOT SOURCE , PYTHON ****

LV
0
 

Kök Tengri

Member
Joined
Jul 30, 2023
Threads
13
Likes
10
Credits
652©
Cash
0$
import tkinter as tk
import random
import time
import webbrowser
import requests

class YouTubeBotGUI:
def __init__(self, master):
self.master = master
master.title("YouTube View Bot")

self.url_label = tk.Label(master, text="YouTube URL:")
self.url_label.pack()

self.url_entry = tk.Entry(master, width=50)
self.url_entry.pack()

self.proxies_label = tk.Label(master, text="Proxies:")
self.proxies_label.pack()

self.proxies_entry = tk.Text(master, height=5, width=50)
self.proxies_entry.pack()

self.start_button = tk.Button(master, text="Start", command=self.start_bot)
self.start_button.pack()

def start_bot(self):
url = self.url_entry.get()
proxies = self.proxies_entry.get("1.0", tk.END).splitlines()

while True:
proxy = random.choice(proxies)
try:
requests.get(url, proxies={"http": proxy, "https": proxy})
print("View added from", proxy)
except requests.exceptions.RequestException:
print("Error using proxy", proxy)

time.sleep(random.randint(30, 120))

webbrowser.open(url, new=0)

root = tk.Tk()
bot_gui = YouTubeBotGUI(root)
root.mainloop()

WORKING WITH YOUTUBE

Python
 
  • Like
Reactions: fognayerku

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

Similar threads

Top Bottom