يتم التشغيل بواسطة Blogger.

الأربعاء، 22 أبريل 2026

Tag:

بايثون نقرات كود

from selenium import webdriver

from selenium.webdriver.chrome.service import Service

from webdriver_manager.chrome import ChromeDriverManager

from selenium.webdriver.common.by import By

from selenium.webdriver.common.keys import Keys

import time

import random


KEYWORDS = ["Cristiano Ronaldo diet plan 2026 secrets", "Live Football Stream HD Virixoo"]

MY_SITE = "virixoo.com"


def start_bot():

    print("\n🚀 المحرك يعمل الآن...")

    options = webdriver.ChromeOptions()

    options.add_experimental_option("excludeSwitches", ["enable-logging"])

    try:

        service = Service(ChromeDriverManager().install())

        driver = webdriver.Chrome(service=service, options=options)

        driver.get("https://www.google.com")

        time.sleep(5)

        kw = random.choice(KEYWORDS)

        search_box = driver.find_element(By.NAME, "q")

        search_box.send_keys(kw)

        search_box.send_keys(Keys.ENTER)

        time.sleep(7)

        links = driver.find_elements(By.PARTIAL_LINK_TEXT, "virixoo")

        if links:

            links[0].click()

            stay = random.randint(88, 128)

            print(f"⏳ داخل الموقع لمدة {stay} ثانية...")

            time.sleep(stay)

        driver.quit()

    except Exception as e:

        print(f"⚠️ خطأ: {e}")


if __name__ == "__main__":

    while True:

        start_bot()

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

About toopmahmood

Hi, My Name is Hafeez. I am a webdesigner, blogspot developer and UI designer. I am a certified Themeforest top contributor and popular at JavaScript engineers. We have a team of professinal programmers, developers work together and make unique blogger templates.

0 التعليقات:

إرسال تعليق