GithubHelp home page GithubHelp logo

woiden_extend's Introduction

Woiden And Hax Auto Extend 💯

woiden.id 和 hax.co.id 自动续订

activity 徽章显示最后执行成功的日期,脚本是否稳定运行,GithubUTC 时区会有时差,一天误差属于正常

Note Github Action 运行时所在的服务器IP可能被 Google ban 无法使用语音验证,因为公共的服务器被别人用过,IP被识别为机器人,可能上个人刚好也调用了 Google reCaptcha ,所以 Google reCaptcha 的语音验证调用能否成功随缘,使用 2CaptchaYesCaptcha 的图片验证不受此影响稳如老狗,甚至加载不出来图片也可以验证通过,建议语音图片两个同时使用即稳定也不费钱,或者托管自己服务器,登陆时脚本是先执行语音验证,验证失败再执行图片验证,语音验证频繁调用会被ben ( 没几次就会被ben,不用担心应该就ben一两个小时左右 ),自己服务器使用语音验证最好时间间隔久点

参数

可选参数 选择平台默认 woiden.id

HOST: woiden.id 或 hax.co.id

必要参数 用户

USERNAME: Telegram ID
PASSWORD: 密码

可选参数 Telegram 推送参数 ( 都有服务器了会没有电报吗 )

TELE_ID: Telegram ID
TELE_TOKEN: 机器人Token

可选参数 pushplus 推送参数 ( 微信推送 )

TENC_TOKEN: 你的Token

可选参数 图片和V3验证支持 2Captcha ( 使用 Yes Captcha 参考⤵ )

TWOCAPTCHA_TOKEN: 你的Token

可选参数 语音验证支持 腾讯 百度 IBM 讯飞,任选一个

  • 腾讯
    • ASR_CHOICE: TENCENT
    • SECRET_ID: 腾讯语音API的SECRET_ID
    • SECRET_KEY: 腾讯语音API的SECRET_KEY
  • 百度
    • ASR_CHOICE: BAIDU
    • APP_ID: 百度语音API的APP_ID
    • API_KEY: 百度语音API的API_KEY
    • SECRET_KEY: 百度语音API的SECRET_KEY
  • IBM
    • ASR_CHOICE: IBM
    • APP_ID: IBM API的IDkey
    • IBM_URL: IBM API的URL
  • 讯飞 ( 🚫不能使用 详细⤵ )
    • ASR_CHOICE: XFYUN
    • APP_ID: 讯飞语音API的APP_ID
    • API_KEY: 讯飞语音API的API_KEY
    • SECRET_KEY: 讯飞语音API的SECRET_KEY

例如:

docker run \
-e HOST=woiden.id \ # 选择平台
-e USERNAME=123456 -e PASSWORD=123456 \ # 用户
-e TELE_ID=123456 -e TELE_TOKEN=123456\ # Telegram 推送
-e TWOCAPTCHA_TOKEN=123456 \ # 图片和V3验证
-e ASR_CHOICE=BAIDU -e APP_ID=123456 -e API_KEY=123456 -e SECRET_KEY=123456 \ # 语音验证
-it --rm  ghcr.io/zakkoree/woinden_extend:latest

Warning 至少有一项语音或者图片参数,建议语音图片两个同时使用

使用

  • Github Action
    • 1.初次使用需要修改 renewTime 文件内日期,修改为你现在日期前六天内,之后会自动更新,不能是今日日期,不然今天不会执行脚本
    • 2.将 参数⤴ 添加到Secret 参考➡
    • 3.执行 续订 任务 参考➡,默认手动+cron, 0 0,8,16 * * * 每天 0/8/16 点执行,你可以修改 /.github/workflows/renew.yml 第 6 行来调整频率,每天只要成功续订一次后面任务就会跳过避免浪费解码平台额度
    • ⚠ 可能会有段时间无法使用(UTC 16点左右 | 北京时间0点左右),原因是apt安装包时网络异常,影响不大仍可正常使用,使用docker镜像没影响只是少了更新 README.md 徽章时间的功能
  • Github Action With 自己服务器
    托管自己服务器到 Github Action 中 参考➡
  • 自己服务器 + Crontab
    把 Python Scrip 或 Docker 运行命令添加到 crontab 里面
  • Python Script
    pip3 install --no-cache-dir -r requirements.txt
    playwright install --with-deps
    HOST="woiden.id" USERNAME="xxx" PASSWORD="xxx" [可选参数...]
    python3 main.py
  • Docker
    docker run -e HOST=woiden.id -e USERNAME=xxx -e PASSWORD=xxx [可选参数...] \
    -it --rm  ghcr.io/zakkoree/woinden_extend:latest
GitHub Actions 计划任务语法

计划任务语法有 5 个字段,中间用空格分隔,每个字段代表一个时间单位。

┌───────────── 分钟 (0 - 59)
│ ┌───────────── 小时 (0 - 23)
│ │ ┌───────────── 日 (1 - 31)
│ │ │ ┌───────────── 月 (1 - 12 或 JAN-DEC)
│ │ │ │ ┌───────────── 星期 (0 - 6 或 SUN-SAT)
│ │ │ │ │
│ │ │ │ │
│ │ │ │ │
* * * * *

每个时间字段的含义:

符号 描述 举例
* 任意值 * * * * * 每天每小时每分钟
, 值分隔符 1,3,4,7 * * * * 每小时的 1 3 4 7 分钟
- 范围 1-6 * * * * 每小时的 1-6 分钟
/ */15 * * * * 每隔 15 分钟

:由于 GitHub Actions 的限制,如果设置为 * * * * * 实际的执行频率为每 5 分执行一次。


结果

成功 账户错误 终止

集成

语音识别

  • Tencent 每月 10 小时免费音频
  • BaiDu 新用户 30000 次一年期限免费音频
  • IBM 每月 500 分钟免费音频,但准确度不够,注册需外币卡
    • 分享一个来自 wx5ecc8c432b706 的密钥和URl
    • IDkey:nblnZuv5E5A_wo5j9eYC-nQVWHKyY5HxJXuEPnNpJgrr
    • URL:https://api.us-south.speech-to-text.watson.cloud.ibm.com/instances/7e2f69e7-a5e8-4d56-91ae-f4dc7b4a1f0b
  • Xfyun 每月 500 次免费音频流,注意是语音听写API,语音转写额度太少
    • 🚫 Github Action 去除讯飞语音支持,偶尔能用简直莫名其妙,可能服务器环境不同导致,和 Docker 一样原因
    • Docker Build 镜像不含讯飞,因为加讯飞构建会导致各种依赖冲突和系统依赖包
    • Python Script 我本地使用是可以的,运行需要安装 xfyunAPI.py 的依赖项 和打开 main.py 22行437~441行 的注释
  • Aliyun 新用户三个月免费音频
  • Azure 每月 5 小时免费音频,每小时音频 $1.543,注册需外币卡
  • Google 国内要挂代理访问,需付费,注册需外币卡

图片识别 V3评分

Note 目前是跳过v3验证,加上v3验证感觉没啥区别

  • 2Captcha 1000次/1$,价格比下面便宜,并且识码还可以赚钱
  • Yes Captcha 66次/1¥,新用户可申请1500试用积分也就是100次

分享

woiden.id 和 hax.co.id 服务器使用小技巧

宽带不支持无法连接IP6,并且它们的 IPv4 也被墙了,网页的 SSH 太难用,挂代理连接方式不方便也不稳定,于是想到了 VPN 组网,然后就有了 IP4 地址,也不需要再挂 VPN 可以直连

使用工具 zerotier 或者 tailscale 都可以 (推荐使用配置简单的 tailscalezerotier 比较复杂可自定义配置服务器),基于p2p打洞 🕳 技术组成的虚拟局域网,无需要公网 IP,参照官网文档教程配置 hax(KVM) 就行了,OpenVZ 系统架构无法使用,woiden 似乎没有 KVM 架构的,可以使用 hax 作为跳板机启用 ssh 隧道 ssh -f -N -g -L 2222:localhost:22 root@woiden_IPv6 来连接 woiden 任意端口

配合 Squid 工具使用,你会发现原本需要挂代理连接的 VPS 变成了一个免费的代理服务器了 🌐,网速够用、延迟一般,YouTube 4K 🎞 流畅,支持多操作系统包括手机端
还可以通过 ssh 隧道连接到 woiden 的代理端口,实现随意切换到两只小鸡所在国家的IP( )

YouTube 4K
YouTube 4K

嗯~ 反转了 :)

kvm 架构的 hax 可玩性高点,woiden 的性能好点、网速更快,但对于国内连接 hax 和 woiden 的网速和延迟不差上下

Warning 似乎个别的小鸡存在IP封锁无法访问 CA CN NL KR SG 等一些国家IP

本项目为学习交流 python linux 等,如有问题或更棒的工具技巧欢迎联系我🤝


woiden_extend's People

Contributors

zakkoree avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

woiden_extend's Issues

容器部署

能在koyeb或者其其它容器上部署吗?

一直报这个错误怎们回事?用的DOCKER

2022-12-20 05:44:15,126-Extend-INFO-renewal verify code:9X2=18
2022-12-20 05:44:17,237-Extend-INFO-click agreement
2022-12-20 05:44:19,300-Extend-INFO-click Renew VPS
2022-12-20 05:44:20,623-Extend-INFO-copy text
2022-12-20 05:44:20,627-Extend-INFO-bark push Robot verification failed, please try again.
2022-12-20 05:44:20,627-Extend-INFO-After 10 seconds try renew 5
2022-12-20 05:44:30,627-Extend-INFO-click Extend VPS
2022-12-20 05:44:33,802-Extend-INFO-clear adsbygoogle
2022-12-20 05:44:33,887-Extend-INFO-recaptchaV3 token is none
2022-12-20 05:44:33,888-Extend-INFO-fill web address
2022-12-20 05:44:34,069-Extend-INFO-do CAPTCHA
2022-12-20 05:44:34,266-Extend-INFO-renewal verify code:3+9=12
2022-12-20 05:44:38,386-Extend-INFO-click agreement
2022-12-20 05:44:40,523-Extend-INFO-click Renew VPS
2022-12-20 05:44:41,841-Extend-INFO-copy text
2022-12-20 05:44:41,867-Extend-INFO-bark push Robot verification failed, please try again.
2022-12-20 05:44:41,867-Extend-INFO-After 10 seconds try renew 6
2022-12-20 05:44:51,868-Extend-INFO-click Extend VPS
2022-12-20 05:44:54,745-Extend-INFO-clear adsbygoogle
2022-12-20 05:44:54,824-Extend-INFO-recaptchaV3 token is none
2022-12-20 05:44:54,825-Extend-INFO-fill web address
2022-12-20 05:44:55,021-Extend-INFO-do CAPTCHA
2022-12-20 05:44:55,142-Extend-INFO-renewal verify code:6+8=14
2022-12-20 05:44:59,232-Extend-INFO-click agreement
2022-12-20 05:45:04,357-Extend-INFO-click Renew VPS
2022-12-20 05:45:05,581-Extend-INFO-copy text
2022-12-20 05:45:05,590-Extend-INFO-bark push Robot verification failed, please try again.
2022-12-20 05:45:05,590-Extend-INFO-After 10 seconds try renew 7
2022-12-20 05:45:15,590-Extend-INFO-click Extend VPS
2022-12-20 05:45:18,921-Extend-INFO-clear adsbygoogle
2022-12-20 05:45:18,937-Extend-INFO-recaptchaV3 token is none
2022-12-20 05:45:18,938-Extend-INFO-fill web address
2022-12-20 05:45:19,091-Extend-INFO-do CAPTCHA
2022-12-20 05:45:19,270-Extend-INFO-renewal verify code:5X6=30
2022-12-20 05:45:23,416-Extend-INFO-click agreement
2022-12-20 05:45:25,477-Extend-INFO-click Renew VPS
2022-12-20 05:45:26,662-Extend-INFO-copy text
2022-12-20 05:45:26,677-Extend-INFO-bark push Robot verification failed, please try again.
2022-12-20 05:45:26,677-Extend-INFO-After 10 seconds try renew 8
2022-12-20 05:45:36,677-Extend-INFO-click Extend VPS
2022-12-20 05:45:39,599-Extend-INFO-clear adsbygoogle
2022-12-20 05:45:39,700-Extend-INFO-recaptchaV3 token is none
2022-12-20 05:45:39,701-Extend-INFO-fill web address
2022-12-20 05:45:39,806-Extend-INFO-do CAPTCHA
2022-12-20 05:45:39,929-Extend-INFO-renewal verify code:3X4=12
2022-12-20 05:45:41,977-Extend-INFO-click agreement
2022-12-20 05:45:47,076-Extend-INFO-click Renew VPS
2022-12-20 05:45:48,258-Extend-INFO-copy text
2022-12-20 05:45:48,269-Extend-INFO-bark push Robot verification failed, please try again.
2022-12-20 05:45:48,269-Extend-INFO-After 10 seconds try renew 9
2022-12-20 05:45:58,269-Extend-INFO-click Extend VPS
2022-12-20 05:46:01,967-Extend-INFO-clear adsbygoogle
2022-12-20 05:46:02,008-Extend-INFO-recaptchaV3 token is none
2022-12-20 05:46:02,011-Extend-INFO-fill web address
2022-12-20 05:46:02,170-Extend-INFO-do CAPTCHA
2022-12-20 05:46:02,346-Extend-INFO-renewal verify code:2+2=4
2022-12-20 05:46:07,460-Extend-INFO-click agreement
2022-12-20 05:46:09,517-Extend-INFO-click Renew VPS
2022-12-20 05:46:10,705-Extend-INFO-copy text
2022-12-20 05:46:10,720-Extend-INFO-bark push Robot verification failed, please try again.
2022-12-20 05:46:10,721-Extend-INFO-After 10 seconds try renew 10
2022-12-20 05:46:20,722-Extend-INFO-click Extend VPS
2022-12-20 05:46:23,746-Extend-INFO-clear adsbygoogle
2022-12-20 05:46:23,835-Extend-INFO-recaptchaV3 token is none
2022-12-20 05:46:23,836-Extend-INFO-fill web address
2022-12-20 05:46:23,935-Extend-INFO-do CAPTCHA
2022-12-20 05:46:24,074-Extend-INFO-renewal verify code:2+9=11
2022-12-20 05:46:26,106-Extend-INFO-click agreement
2022-12-20 05:46:30,232-Extend-INFO-click Renew VPS
2022-12-20 05:46:31,478-Extend-INFO-copy text
2022-12-20 05:46:31,486-Extend-INFO-bark push Robot verification failed, please try again.
2022-12-20 05:46:31,486-Extend-ERROR-renew fail
2022-12-20 05:46:32,432-Extend-INFO-Telebot push
2022-12-20 05:46:32,432-Extend-ERROR-'TENC_TOKEN'

求助填写

您好 , USERNAME = os.environ['613830280'] 这个 613830280 是我的ID 号呀 ,怎么每次都报错?
KeyError: '613830280'
Error: Process completed with exit code 1.

在Action服务器上套Warp*可能*可以大幅度提高续期概率

今天发现使用Action服务器续期hax总过不去最后一步算术题页面的hcaptcha验证,无限报robot。套了cf warp之后一次成功,前后不超过五分钟,且语音验证码的概率大幅度提高。

  • name: Connect to Cloudflare Warp
    uses: daycat/cloudflare-warp-actions@main
    添加在安装依赖后,执行main.py之前。

push方式

能加一个pushplus的推送吗,用tg推送看到消息不怎么及时

The end of service WOIDEN

很遗憾通过这种方式知道这个项目,这是我刚刚收到的消息:

The end of service WOIDEN

Thanks to the auto-renewal script provided below, it caused us to lose more than half of our website visitors
https://github.com/Zakkoree/woiden_extend

We announced that, we will be discontinuing WOIDEN free vps next month, please take your backup, we provide plenty of time.

all servers below will be discontinued on this date:
EU-1 - Germany - May 16, 2023
EU-2 - Germany - May 16, 2023
EU-3 - France - May 31, 2023
EU-4 - Poland - May 31, 2023
EU-5 - France - May 31, 2023
EU-6 - France - May 31, 2023
EU-7 - United Kingdom - May 31, 2023
EU-8 - France - May 31, 2023
EU-BEST-1 - Germany - May 16, 2023

HAX may suffer the same fate but we still decided to wait 1 month longer before any decision is made, there is also the possibility of Woiden's old server moving to HAX, if HAX survives.

thanks for being part of Woiden

Thanks, Woiden Will End Its Service Soon!

I don't speak nor understand Chinese, so I will write this in English.

Recently, the community just got an information from Woiden (& Hax) admin , saying:

The end of service WOIDEN

Thanks to the auto-renewal script provided below, it caused us to lose more than half of our website visitors

https://github.com/Zakkoree/woiden_extend

We announced that, we will be discontinuing WOIDEN free vps next month, please take your backup, we provide plenty of time.
all servers below will be discontinued on this date:

EU-1 - Germany - May 16, 2023
EU-2 - Germany - May 16, 2023
EU-3 - France - May 31, 2023
EU-4 - Poland - May 31, 2023
EU-5 - France - May 31, 2023
EU-6 - France - May 31, 2023
EU-7 - United Kingdom - May 31, 2023
EU-8 - France - May 31, 2023
EU-BEST-1 - Germany - May 16, 2023

HAX may suffer the same fate but we still decided to wait 1 month longer before any decision is made, there is also the possibility of Woiden's old server moving to HAX, if HAX survives.

thanks for being part of Woiden

Think about it. Did you think what impact will be received by Woiden and the "loyal" community when any of you make this autorenew script? Did you think how Woiden getting its revenue? Yes, ADS!

They got paid with ads revenue, while the community gets free (NAT) Linux server to use. That's a win-win. But with this autorenew, this becomes win-lose situation. The community gets free servers, while Woiden gets nothing.

Judging from your repo' star count, there are many users who used your script.

Use your mind before doing anything, please. Well, maybe you just did this in your spare time, or just curious how do Woiden make a request to its backend server. But please, DON'T SHARE IT TO PUBLIC! THE WHOLE COMMUNITY WILL SUFFER FOR IT! Or even better, don't even try to make it!

Once again, thanks.

好像必须借助第三方平台进行验证?

语音的没试,我试了图片的:
YesCaptcha试了两次续费,可以成功,可惜只免费1500积分。
2Captcha没试,因为要钱,最低充3刀,接码赚钱,1000次simple captcha才0.26刀,不想做,而且网站在线统计有几万个员工被永久封禁的,好像是验证成功率低于95%就会被封?还是其他原因?

tg验证码倒是很容易搞,直接用telethon就行。

不知道语音转文字验证,tencent这家成功率高不高?每个月免费10小时,对于我来说够用了,有空试试

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.