两个值得学习的项目:TikTok-ViewBot 和Bot likes, followers, shares and views on TikTok! ~ fast zefoy

这两个东西值得深入去学习!

TikTok-ViewBot 

自动化的 TikTok-ViewBot 源码在这里:GitHub - xtekky/TikTok-ViewBot: ViewBot using requests | Fast, no selenium | Custom Views count | Updated 2025

使用方法,先下载源代码

git clone https://github.com/xtekky/TikTok-ViewBot

安装python依赖库

uv pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple

或者

pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple

如果有undetected_chromedriver方面的报错,还要安装这个库

pip install undetected_chromedriver

undetected_chromedriver 是一个 Python 库,用于帮助创建一个不被检测到的 ChromeDriver 实例。ChromeDriver 是一个用于自动化 Google Chrome 浏览器的工具,它通常用于 web 自动化测试、爬虫和其它需要模拟浏览器行为的场景。

其主要功能是避免被检测

然后运行测试

python test.py

国内需要科学上网才行,主要是TikTok需要,程序本身功能是不需要的。

efoy:Bot likes, followers, shares and views on TikTok! ~ fast zefoy |

efoy源码:GitHub - xtekky/zefoy: 🪐Bot likes, followers, shares and views on TikTok! ~ fast zefoy | Updated 2025

efoy主要提供 TikTok 相关的功能,尤其是帮助用户增加视频的看、赞和关注者。

同时作者还用该技术构建了一个网站。

 TikTok-ViewBot调用了efoy的服务。

调试

报错raise exception_class(message, screen, stacktrace)

    raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.SessionNotCreatedException: Message: session not created: cannot connect to chrome at 127.0.0.1:56610
from session not created: This version of ChromeDriver only supports Chrome version 134
Current browser version is 133.0.6943.142

更新chrome版本到134

报错: [-] Waiting for Zefoy to load... 502 Error = Blocked country or VPN is on

这是没有科学上网的原因。

把视频换成国内的视频,就可以先体验程序功能了。

视频在config.json文件里设置。

一直出现某网站的检测页面

看了下源码,代码里有driver.get这句:

    def main(self):
        os.system(self.clear)
        self.change_title("TikTok Automator using zefoy.com | Github: @xtekky")
        
        print(self.color + text)
        print("\n" + self._print("Waiting for Zefoy to load... 502 Error = Blocked country or VPN is on"))
        
        self.driver.get("https://zefoy.com")
        self.wait_for_xpath(self.captcha_box)

也就是它使用zefoy作为驱动,所以一直有页面刷新。这应该证明它在工作中。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值