抖音批量养号工具,抖音小红书快手养号脚本,看广告刷视频插件工具

简介: 多平台支持:集成抖音、小红书、快手三大平台的自动化操作模拟人类行为:包含随机鼠标移动

下载地址:http://m.pan38.com/download.php?code=ENROLN 提取码:3821

多平台支持:集成抖音、小红书、快手三大平台的自动化操作
模拟人类行为:包含随机鼠标移动、间隔点击、不规则停留时间等人性化设计
完整交互链:实现视频观看、点赞、评论、广告点击等养号必需操作
反检测机制:通过随机操作间隔和动态等待时间降低被封风险
可配置参数:支持自定义每个平台的操作时长和交互频率

import os
import time
import random
import pyautogui
from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.common.keys import Keys
from selenium.webdriver.chrome.options import Options
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC

class SocialMediaBot:
def init(self):
self.driver = None
self.platform_config = {
'douyin': {
'url': 'https://www.douyin.com',
'login_xpath': '//[@id="login-pannel"]/div[2]/div[1]',
'video_xpath': '//
[@id="root"]/div/div[2]/div[1]/div/div[1]/div[3]',
'ad_xpath': '//[@id="ads-container"]/div[1]'
},
'xiaohongshu': {
'url': 'https://www.xiaohongshu.com',
'login_xpath': '//
[@id="global"]/div[1]/div[3]/div[2]',
'video_xpath': '//[@id="app"]/div[1]/div[2]/div[2]/div[1]',
'ad_xpath': '//
[@id="__layout"]/div/div[2]/div[3]/div[1]'
},
'kuaishou': {
'url': 'https://www.kuaishou.com',
'login_xpath': '//[@id="login-btn"]',
'video_xpath': '//
[@id="video-list"]/div[1]',
'ad_xpath': '//*[@id="ad-container"]/div[1]'
}
}
self.setup_driver()

def setup_driver(self):
    chrome_options = Options()
    chrome_options.add_argument("--window-size=1200,800")
    chrome_options.add_argument("--disable-notifications")
    chrome_options.add_experimental_option("excludeSwitches", ["enable-automation"])
    self.driver = webdriver.Chrome(options=chrome_options)

def random_sleep(self, min_sec=2, max_sec=10):
    time.sleep(random.randint(min_sec, max_sec))

def simulate_human_behavior(self):
    # Random mouse movements
    for _ in range(random.randint(3, 7)):
        x = random.randint(100, 1000)
        y = random.randint(100, 700)
        pyautogui.moveTo(x, y, duration=random.uniform(0.3, 1.2))
        self.random_sleep(0.5, 1.5)

def watch_video(self, platform, duration=60):
    config = self.platform_config[platform]
    self.driver.get(config['url'])
    self.random_sleep(3, 8)

    # Login simulation
    try:
        login_btn = WebDriverWait(self.driver, 15).until(
            EC.presence_of_element_located((By.XPATH, config['login_xpath']))
        )
        login_btn.click()
        self.random_sleep(5, 10)  # Simulate manual login time
    except:
        print(f"Login element not found on {platform}")

    start_time = time.time()
    while time.time() - start_time < duration:
        # Watch video
        try:
            video = WebDriverWait(self.driver, 15).until(
                EC.presence_of_element_located((By.XPATH, config['video_xpath']))
            )
            video.click()
            watch_time = random.randint(15, 45)
            print(f"Watching video for {watch_time} seconds")
            time.sleep(watch_time)

            # Random interactions
            if random.random() > 0.7:
                pyautogui.press('l')  # Simulate like
                print("Liked the video")
                self.random_sleep(1, 3)

            if random.random() > 0.8:
                pyautogui.hotkey('shift', 'c')  # Simulate comment
                self.random_sleep(1, 2)
                pyautogui.typewrite(random.choice(['Nice!', 'Awesome', '666']))
                self.random_sleep(1, 2)
                pyautogui.press('enter')
                print("Commented on the video")

            # Watch ad occasionally
            if random.random() > 0.6:
                try:
                    ad = WebDriverWait(self.driver, 5).until(
                        EC.presence_of_element_located((By.XPATH, config['ad_xpath']))
                    )
                    ad.click()
                    print("Watching ad for 10-20 seconds")
                    self.random_sleep(10, 20)
                except:
                    pass

            # Scroll to next video
            pyautogui.scroll(-random.randint(300, 800))
            self.random_sleep(2, 5)
            self.simulate_human_behavior()

        except Exception as e:
            print(f"Error during video watching: {str(e)}")
            self.driver.refresh()
            self.random_sleep(5, 10)

def run(self, platforms, duration_per_platform=300):
    try:
        for platform in platforms:
            print(f"Starting {platform} automation")
            self.watch_video(platform, duration_per_platform)
            print(f"Finished {platform} session")
            self.random_sleep(10, 20)
    finally:
        self.driver.quit()

if name == "main":
bot = SocialMediaBot()
bot.run(['douyin', 'xiaohongshu', 'kuaishou'], duration_per_platform=600)

相关文章
|
10月前
|
Android开发 Python
自动养手机权重脚本,抖音看广告刷金币脚本插件, 抖音自动养号脚本app
采用uiautomator2实现Android设备控制,比纯ADB命令更稳定 随机化操作参数包括:观看时长
|
存储 安全 搜索推荐
虚拟云桌面中RDS、VDI技术比较
下面,就来看看两种主流的云桌面。 1、RDS(Remote Desktop Services,远程桌面服务),俗称共享云桌面 2、VDI(Virtual Desktop Infrastucture,虚拟桌面架构),俗称虚拟云桌面
3763 1
|
10月前
|
监控 数据可视化 机器人
直播间自动发言机器人,直播场控机器人免费版,快手抖音小红书哔哩哔哩工具
核心控制器采用异步IO架构,支持同时处理弹幕监控、自动回复和数据统计 实现多平台适配层,通过配置驱动支持抖音/快手/小红书/哔哩哔哩的差异化处理
|
10月前
|
机器人 Windows
直播间自动发言机器人,抖音机器人评论脚本,直播间自动发言机器人
多线程架构实现弹幕监听和发送分离 支持特殊用户识别和定制回复
|
10月前
|
消息中间件 安全 Android开发
抖音私信脚本怎么制作,用autojs?
AutoJS通过Android无障碍服务模拟用户操作,其抖音私信脚本主要依赖三大技术模块: 控件定位层
|
10月前
|
JSON 搜索推荐 机器人
直播间自动发言机器人,抖音快手小红书哔哩哔哩机器人, 自动评论app机器人打字弹幕脚本
多平台支持:整合抖音、哔哩哔哩等平台的自动化操作 智能评论生成:结合视频内容动态生成个性化评论
|
11月前
|
数据安全/隐私保护 Android开发
抖音快手自动刷金币脚本,小红书QQ微博,自动刷视频看广告插件【auojs】
该脚本实现了多平台自动切换、随机滑动间隔、广告识别处理等功能模块,通过OCR+图像识别
|
10月前
短视频脚本,分镜头脚本插件,自动刷广告工具分享
支持多平台配置化操作(抖音/快手) 包含智能广告识别跳过模块
|
11月前
|
自然语言处理 API
tiktok养号脚本, 抖音自动养号脚本app,批量起号插件脚本
该养号系统包含三大核心模块:主控程序实现自动化操作流程,内容生成器创建自然语言内容