Giter VIP home page Giter VIP logo

qin2dim / epic-awesome-gamer Goto Github PK

View Code? Open in Web Editor NEW
849.0 7.0 360.0 37.68 MB

🍷 Gracefully claim weekly free games and monthly content from Epic Store.

Home Page: https://echosec.notion.site/Epic-7c74f1e29117420dbac5551e4b031f82?pvs=4

License: GNU General Public License v3.0

Python 99.22% Dockerfile 0.78%
epic challenges-solved hcaptcha opencv-python docker epic-games epic-games-store epicgames free-games unreal

epic-awesome-gamer's Introduction

EPIC 免费人

🍷 Gracefully claim weekly free games from Epic Store.


Discord

scaffold-get-demo-output-small

Introduction 👋

Epic 免费人 帮助玩家优雅地领取免费游戏。内置 hcaptcha-challenger AI 模块,直面人机挑战。

Guides

[ 简体中文 ] [ English ]

Features

Task

Mode Target Progress
epic-games Epic Games Store
unreal Unreal Engine 🚧
gog GOG 🚧
apg Amazon Prime Gaming 🚧
xbox Xbox Live Games with Gold 🚧

Component

Demand Support
hCaptcha Solver
Docker development
Persistent context @multi-user
Rolling Upgrade 🚧
Epicgames DLC 🚧
2FA OTP support 🚧

epic-awesome-gamer's People

Contributors

ch3ngyz avatar dengyuncheng27 avatar github-actions[bot] avatar jasonyang170 avatar qin2dim avatar rheatin 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

epic-awesome-gamer's Issues

feat(add): 消息推送(DingTalk | Email)

1.关于安全问题
大佬好啊,我这里有一个外国大佬的自动领取项目,我已成功部署,运行也很完美,他这个项目中,wiki已经非常详细完善了
https://github.com/Revadike/epicgames-freebies-claimer
他这里已经把所有的安全问题解决了,但是他用的推送通知方式是Apprise,国内并不适用,唯一符合要求的163邮箱也配不成。我去Apprise这个项目中试图想解决163推送失误的问题,但是issues相关讨论仍旧是失败,作者亲自下场也没有解决这个问题,车祸现场caronc/apprise#496
看到你的项目之后,首先你项目中一键自动领取全部免费游戏的创意很不错,我在Steam体验过类似的项目。其次,能否考虑,在未来的开发当中,结合一下这个外国佬的项目,在此基础上,完善一下通知的推送
2.关于通知推送
关于通知推送,我这里不推荐Server酱,建议直接用钉钉机器人的API,我这还有一个国内大佬的掘金自动签到项目,其中的推送做的不错
https://github.com/KaiOrange/juejin-auto-checkin
通知的完善我推荐这个项目,能否在未来的计划当中,将钉钉推送加入其中
3.关于滥用
由于滥用导致的封号问题客观存在,所以诚切希望该项目,能尽量优化运行时长,避免不必要的问题

[开源计划] v0.1.r-dev

Project v0.1.r.dev

Scaffold

一系列与获取 免费游戏 有关的执行逻辑顶级接口。

  • install

    下载项目运行所需的配置。

  • test

    检测挑战者驱动的前置参数是否“与时俱进”。

  • get

    一键搬空免费商店。

  • challenge

    正面硬刚人机挑战,为当前账号获取有效的身份令牌。

  • claim

    认领周免游戏。

  • deploy

    部署系统定时任务。

UtiLs v0.1.0

Armor

armor 是一系列 人机挑战 对抗组件。

  • Armor-hCaptcha

Armor-cc

armor 的迭代版本,可将 人机挑战 的所需算力转移;利用现代化的基础设施将人机挑战的密集计算问题转移到网络IO问题上。解放算力后,本项目可在各种微小容器上部署。

  • cc_util

太多了太多了!

我以为是领取每周免费游戏,没想到是领取所有免费游戏....
其实这玩意儿没啥用对吧😢
能否只领取每周免费 那一个

[Question] Telegram 推送支持使用代理吗?

由于众所周知的原因,国内的服务器无法将消息推送至 telegram,目前我在服务器自身运行了科学上网客户端。
请问是否支持设置本地 socks5 或 http 代理 apprise 推送服务呢?这样的话或许会方便许多。

[Invalid]Docker 容器部署

首先感谢作者的付出,白嫖**
然后由于担忧 Action 滥用导致封库封号等问题,能否考虑使用 Docker 镜像?

[Invalid] 断言超时,挑战继续

系统Ubuntu 2c4g
使用python3 main.py test --> Success
执行python3 main.py claim后,一直超时

2022-02-27 16:05:04 | DEBUG - >> Challenge [ArmorCaptcha] 获取挑战标签 - label=自行车(bicycle)
2022-02-27 16:05:04 | DEBUG - >> Challenge [ArmorCaptcha] 获取挑战图片链接及元素定位器
2022-02-27 16:05:06 | DEBUG - >> Challenge [ArmorCaptcha] 下载挑战图片
2022-02-27 16:05:06 | DEBUG - >> Challenge [ArmorCaptcha] 开始挑战
2022-02-27 16:05:10 | DEBUG - >> Challenge [ArmorCaptcha] 提交挑战 yolov5n6(onnx)_model: 2.16s
2022-02-27 16:05:13 | DEBUG - >> Challenge [ArmorCaptcha] 挑战继续
2022-02-27 16:05:13 | DEBUG - >> Challenge [ArmorCaptcha] 获取挑战图片链接及元素定位器
2022-02-27 16:05:15 | DEBUG - >> Challenge [ArmorCaptcha] 下载挑战图片
2022-02-27 16:05:15 | DEBUG - >> Challenge [ArmorCaptcha] 开始挑战
2022-02-27 16:05:18 | DEBUG - >> Challenge [ArmorCaptcha] 提交挑战 yolov5n6(onnx)_model: 1.64s
2022-02-27 16:05:34 | DEBUG - >> Challenge [ArmorCaptcha] 断言超时,挑战继续

直到出现停止,

2022-02-27 16:07:30 | CRITICAL - >> MISS [CookieManager] Identity token update failed.

领取问题?

DevTools listening on ws://127.0.0.1:57403/devtools/browser/70b83a15-e976-4ca2-a70d-33dd7c5fff1a
[0122/182918.673:ERROR:gpu_init.cc(457)] Passthrough is not supported, GL is disabled, ANGLE is

python main.py get
后,控制台输出这错字符。求解

feat(add): 迎接新的挑战 垂直河流

使用迁移学习的技巧升级模型的关联点网络适应能力,以应对突发的宕机风险。翻译过来就是 hCAPTCHA 将在近期推送新的挑战分类(如 river),我们需要观测现有模型是否拥有足够的能力“区分”从未见过的图片。

image

[Invalid]我在使用docker-compose运行时遇到了一些问题

[keyue@VM-20-5-centos epic]$ docker-compose -f docker-compose-epic.yml up
[+] Running 1/1
⠿ Container epic Created 0.3s
Attaching to epic
epic | /bin/sh: warning: setlocale: LC_ALL: cannot change locale (zh_CN.UTF8)
epic | DEPRECATION: The OpenSSL being used by this python install (OpenSSL 1.0.2k-fips 26 Jan 2017) does not meet the minimum supported version (>= OpenSSL 1.1.1) in order to support TLS 1.3 required by Cloudflare, You may encounter an unexpected Captcha or cloudflare 1020 blocks.
epic exited with code 0

以上是运行时的日志
环境: CentOS8, 2c4g, 腾讯云
希望能得到帮助

[Invalid] docker-compose up 失败

root@ubuntu:/home/epic# docker-compose up
Starting epic_v2rss-node_1 ... done
Attaching to epic_v2rss-node_1
v2rss-node_1 | [????] ???????????????
epic_v2rss-node_1 exited with code 0

[Invalid] PermissionError: [Errno 13] Permission denied: './.env'

执行 docker-compose up 遇到的权限问题,报错日志如下:

root@brave-box-1:/home/epic# docker-compose up
Traceback (most recent call last):
  File "/snap/docker/1458/bin/docker-compose", line 33, in <module>
    sys.exit(load_entry_point('docker-compose==1.29.2', 'console_scripts', 'docker-compose')())
  File "/snap/docker/1458/lib/python3.6/site-packages/compose/cli/main.py", line 81, in main
    command_func()
  File "/snap/docker/1458/lib/python3.6/site-packages/compose/cli/main.py", line 200, in perform_command
    project = project_from_options('.', options)
  File "/snap/docker/1458/lib/python3.6/site-packages/compose/cli/command.py", line 40, in project_from_options
    environment = Environment.from_env_file(override_dir or project_dir, environment_file)
  File "/snap/docker/1458/lib/python3.6/site-packages/compose/config/environment.py", line 67, in from_env_file
    instance = _initialize()
  File "/snap/docker/1458/lib/python3.6/site-packages/compose/config/environment.py", line 62, in _initialize
    return cls(env_vars_from_file(env_file_path))
  File "/snap/docker/1458/lib/python3.6/site-packages/compose/config/environment.py", line 38, in env_vars_from_file
    env = dotenv.dotenv_values(dotenv_path=filename, encoding='utf-8-sig', interpolate=interpolate)
  File "/snap/docker/1458/lib/python3.6/site-packages/dotenv/main.py", line 363, in dotenv_values
    encoding=encoding,
  File "/snap/docker/1458/lib/python3.6/site-packages/dotenv/main.py", line 74, in dict
    self._dict = OrderedDict(resolve_variables(raw_values, override=self.override))
  File "/snap/docker/1458/lib/python3.6/site-packages/dotenv/main.py", line 222, in resolve_variables
    for (name, value) in values:
  File "/snap/docker/1458/lib/python3.6/site-packages/dotenv/main.py", line 81, in parse
    with self._get_stream() as stream:
  File "/snap/docker/1458/usr/lib/python3.6/contextlib.py", line 81, in __enter__
    return next(self.gen)
  File "/snap/docker/1458/lib/python3.6/site-packages/dotenv/main.py", line 54, in _get_stream
    with io.open(self.dotenv_path, encoding=self.encoding) as stream:
PermissionError: [Errno 13] Permission denied: './.env'

[Invalid] UserWarning: The value of the smallest subnormal for <class 'numpy.float32'> type is zero.

/usr/local/lib/python3.8/dist-packages/numpy/core/getlimits.py:499: UserWarning: The value of the smallest subnormal for <class 'numpy.float64'> type is zero.
  setattr(self, word, getattr(machar, word).flat[0])
/usr/local/lib/python3.8/dist-packages/numpy/core/getlimits.py:89: UserWarning: The value of the smallest subnormal for <class 'numpy.float64'> type is zero.
  return self._float_to_str(self.smallest_subnormal)
/usr/local/lib/python3.8/dist-packages/numpy/core/getlimits.py:499: UserWarning: The value of the smallest subnormal for <class 'numpy.float32'> type is zero.
  setattr(self, word, getattr(machar, word).flat[0])
/usr/local/lib/python3.8/dist-packages/numpy/core/getlimits.py:89: UserWarning: The value of the smallest subnormal for <class 'numpy.float32'> type is zero.
  return self._float_to_str(self.smallest_subnormal)

[Invalid]腾讯云函数部署

GitHub获取EPIC游戏好像公网IP是有限制的,能否出个腾讯云函数部署啊?
毕竟腾讯云函数可固定IP(免费),这样成功率也高一点

feat(add): 使用应力表达式萃取 `PageSlug` 周免游戏链接

BUG: freeGamesPromotions API 返回的协议变量具有误导性,频繁变更的响应信息不利于项目长期稳定的生产部署,故决定启动应急的鲁棒均衡策略来获取绝对准确的协议变量。

应力表达式可以弹性加载有效的协议变量,获取到绝对准确的周免游戏对象。也即从纯网络请求的敏捷驱动模式切换到“模仿人类行为”的稳定驱动模式。

[Question] `2FA` 双重认证问题

一个是cookie即时失效
一个是提示 模型泛化较差,逃逸 - label=each
在一个是部分游戏无法领取提示本游戏包含成人内容,仅限18岁以上玩家选购 -

2022-01-23 02:29:26 | DEBUG - >> Challenge [ArmorCaptcha] 获取挑战图片链接及元素定位器
2022-01-23 02:29:28 | DEBUG - >> Challenge [ArmorCaptcha] 下载挑战图片
2022-01-23 02:29:28 | DEBUG - >> Challenge [ArmorCaptcha] 开始挑战
2022-01-23 02:29:42 | DEBUG - >> Challenge [ArmorCaptcha] 提交挑战
2022-01-23 02:29:47 | DEBUG - >> Challenge [ArmorCaptcha] 挑战成功
2022-01-23 02:29:47 | DEBUG - >> SAVE [CookieManager] Update Context Cookie.
2022-01-23 02:29:47 | DEBUG - >> LOAD [CookieManager] Overload Context Cookie.
2022-01-23 02:29:47 | SUCCESS - >> GET [ChallengeRunner] 用户饼干已到货。 - path=/home/runner/work/epic-awesome-gamer/epic-awesome-gamer/src/database/cookies/user_cookies.txt

2022-01-23 02:29:48 | DEBUG - >> BUILD [EpicGamer] 正在为玩家领取免费游戏
2022-01-23 02:29:48 | DEBUG - >> LOAD [CookieManager] Overload Context Cookie.
2022-01-23 02:29:48 | DEBUG - >> ACTIVATE [Context] 激活挑战者上下文
2022-01-23 02:29:53 | DEBUG - >> Challenge [ArmorCaptcha] 获取挑战标签 - label=each(none)
2022-01-23 02:29:53 | DEBUG - >> Challenge [ArmorCaptcha] 模型泛化较差,逃逸 - label=each
2022-01-23 02:29:56 | DEBUG - >> Challenge [ArmorCaptcha] 获取挑战标签 - label=each(none)
2022-01-23 02:29:56 | DEBUG - >> Challenge [ArmorCaptcha] 模型泛化较差,逃逸 - label=each
2022-01-23 02:29:58 | DEBUG - >> Challenge [ArmorCaptcha] 获取挑战标签 - label=each(none)
2022-01-23 02:29:58 | DEBUG - >> Challenge [ArmorCaptcha] 模型泛化较差,逃逸 - label=each
2022-01-23 02:30:01 | DEBUG - >> Challenge [ArmorCaptcha] 获取挑战标签 - label=each(none)
2022-01-23 02:30:01 | DEBUG - >> Challenge [ArmorCaptcha] 模型泛化较差,逃逸 - label=each
2022-01-23 02:30:03 | DEBUG - >> Challenge [ArmorCaptcha] 获取挑战标签 - label=each(none)
2022-01-23 02:30:03 | DEBUG - >> Challenge [ArmorCaptcha] 模型泛化较差,逃逸 - label=each
2022-01-23 02:30:05 | DEBUG - >> Challenge [ArmorCaptcha] 获取挑战标签 - label=each(none)
2022-01-23 02:30:05 | DEBUG - >> Challenge [ArmorCaptcha] 模型泛化较差,逃逸 - label=each
2022-01-23 02:30:08 | DEBUG - >> Challenge [ArmorCaptcha] 获取挑战标签 - label=each(none)
2022-01-23 02:30:08 | DEBUG - >> Challenge [ArmorCaptcha] 模型泛化较差,逃逸 - label=each
2022-01-23 02:30:10 | DEBUG - >> Challenge [ArmorCaptcha] 获取挑战标签 - label=each(none)
2022-01-23 02:30:10 | DEBUG - >> Challenge [ArmorCaptcha] 模型泛化较差,逃逸 - label=each
2022-01-23 02:30:10 | CRITICAL - >> MISS [CookieManager] Identity token update failed.
2022-01-23 02:30:10 | DEBUG - >> LOAD [CookieManager] Overload Context Cookie.
2022-01-23 02:30:33 | DEBUG - >> BUILD [SpawnBooster] 正在为玩家领取免费游戏 - progress=[3/69] url=https://www.epicgames.com/store/zh-CN/p/bus-simulator-21--modding-kit
2022-01-23 02:30:33 | DEBUG - >> BUILD [SpawnBooster] 正在为玩家领取免费游戏 - progress=[3/69] url=https://www.epicgames.com/store/zh-CN/p/antstream-arcade
2022-01-23 02:30:33 | DEBUG - >> BUILD [SpawnBooster] 正在为玩家领取免费游戏 - progress=[3/69] url=https://www.epicgames.com/store/zh-CN/p/kid-a-mnesia-exhibition
2022-01-23 02:30:33 | ERROR - >> QUIT [AwesomeFreeMan] Cookie 已过期,任务已退出。
2022-01-23 02:30:34 | ERROR - >> QUIT [AwesomeFreeMan] Cookie 已过期,任务已退出。
2022-01-23 02:30:34 | DEBUG - >> BUILD [SpawnBooster] 正在为玩家领取免费游戏 - progress=[5/69] url=https://www.epicgames.com/store/zh-CN/p/valorant
2022-01-23 02:30:34 | ERROR - >> QUIT [AwesomeFreeMan] Cookie 已过期,任务已退出。
2022-01-23 02:30:35 | DEBUG - >> BUILD [SpawnBooster] 正在为玩家领取免费游戏 - progress=[6/69] url=https://www.epicgames.com/store/zh-CN/p/teamfight-tactics
2022-01-23 02:30:35 | ERROR - >> QUIT [AwesomeFreeMan] Cookie 已过期,任务已退出。
2022-01-23 02:30:35 | DEBUG - >> BUILD [SpawnBooster] 正在为玩家领取免费游戏 - progress=[7/69] url=https://www.epicgames.com/store/zh-CN/p/legends-of-runeterra
2022-01-23 02:30:36 | ERROR - >> QUIT [AwesomeFreeMan] Cookie 已过期,任务已退出。
2022-01-23 02:30:36 | DEBUG - >> BUILD [SpawnBooster] 正在为玩家领取免费游戏 - progress=[8/69] url=https://www.epicgames.com/store/zh-CN/p/league-of-legends
2022-01-23 02:30:36 | ERROR - >> QUIT [AwesomeFreeMan] Cookie 已过期,任务已退出。
2022-01-23 02:30:36 | DEBUG - >> BUILD [SpawnBooster] 正在为玩家领取免费游戏 - progress=[9/69] url=https://www.epicgames.com/store/zh-CN/p/animation-throwdown-the-quest-for-cards
2022-01-23 02:30:37 | ERROR - >> QUIT [AwesomeFreeMan] Cookie 已过期,任务已退出。
2022-01-23 02:30:37 | ERROR - >> QUIT [AwesomeFreeMan] Cookie 已过期,任务已退出。
2022-01-23 02:30:37 | DEBUG - >> BUILD [SpawnBooster] 正在为玩家领取免费游戏 - progress=[10/69] url=https://www.epicgames.com/store/zh-CN/p/eve-online
2022-01-23 02:30:38 | DEBUG - >> BUILD [SpawnBooster] 正在为玩家领取免费游戏 - progress=[11/69] url=https://www.epicgames.com/store/zh-CN/p/ohdcore-mod-kit
2022-01-23 02:30:38 | ERROR - >> QUIT [AwesomeFreeMan] Cookie 已过期,任务已退出。
2022-01-23 02:30:38 | DEBUG - >> BUILD [SpawnBooster] 正在为玩家领取免费游戏 - progress=[11/69] url=https://www.epicgames.com/store/zh-CN/p/warface
2022-01-23 02:30:39 | ERROR - >> QUIT [AwesomeFreeMan] Cookie 已过期,任务已退出。
2022-01-23 02:30:39 | ERROR - >> QUIT [AwesomeFreeMan] Cookie 已过期,任务已退出。
2022-01-23 02:30:39 | DEBUG - >> BUILD [SpawnBooster] 正在为玩家领取免费游戏 - progress=[14/69] url=https://www.epicgames.com/store/zh-CN/p/super-squad
2022-01-23 02:30:40 | DEBUG - >> BUILD [SpawnBooster] 正在为玩家领取免费游戏 - progress=[14/69] url=https://www.epicgames.com/store/zh-CN/p/discord
2022-01-23 02:30:58 | DEBUG - >> BUILD [SpawnBooster] 正在为玩家领取免费游戏 - progress=[42/69] url=https://www.epicgames.com/store/zh-CN/p/3-out-of-10-ep-5
2022-01-23 02:30:58 | ERROR - >> QUIT [AwesomeFreeMan] Cookie 已过期,任务已退出。
2022-01-23 02:30:58 | DEBUG - >> BUILD [SpawnBooster] 正在为玩家领取免费游戏 - progress=[43/69] url=https://www.epicgames.com/store/zh-CN/p/spellbreak
2022-01-23 02:30:59 | ERROR - >> QUIT [AwesomeFreeMan] Cookie 已过期,任务已退出。
2022-01-23 02:30:59 | ERROR - >> QUIT [AwesomeFreeMan] Cookie 已过期,任务已退出。
2022-01-23 02:31:00 | DEBUG - >> BUILD [SpawnBooster] 正在为玩家领取免费游戏 - progress=[45/69] url=https://www.epicgames.com/store/zh-CN/p/3-out-of-10-ep-4
2022-01-23 02:31:00 | DEBUG - >> BUILD [SpawnBooster] 正在为玩家领取免费游戏 - progress=[45/69] url=https://www.epicgames.com/store/zh-CN/p/relicta
2022-01-23 02:31:01 | DEBUG - >> BUILD [SpawnBooster] 正在为玩家领取免费游戏 - progress=[45/69] url=https://www.epicgames.com/store/zh-CN/p/diabotical
2022-01-23 02:31:01 | ERROR - >> QUIT [AwesomeFreeMan] Cookie 已过期,任务已退出。
2022-01-23 02:31:01 | ERROR - >> QUIT [AwesomeFreeMan] Cookie 已过期,任务已退出。
2022-01-23 02:31:02 | ERROR - >> QUIT [AwesomeFreeMan] Cookie 已过期,任务已退出。
2022-01-23 02:31:02 | DEBUG - >> BUILD [SpawnBooster] 正在为玩家领取免费游戏 - progress=[48/69] url=https://www.epicgames.com/store/zh-CN/p/3-out-of-10-ep3
2022-01-23 02:31:02 | DEBUG - >> BUILD [SpawnBooster] 正在为玩家领取免费游戏 - progress=[48/69] url=https://www.epicgames.com/store/zh-CN/p/3-out-of-10-ep-2
2022-01-23 02:31:03 | DEBUG - >> BUILD [SpawnBooster] 正在为玩家领取免费游戏 - progress=[48/69] url=https://www.epicgames.com/store/zh-CN/p/3-out-of-10-ep-1
2022-01-23 02:31:03 | ERROR - >> QUIT [AwesomeFreeMan] Cookie 已过期,任务已退出。
2022-01-23 02:31:03 | ERROR - >> QUIT [AwesomeFreeMan] Cookie 已过期,任务已退出。
2022-01-23 02:31:04 | ERROR - >> QUIT [AwesomeFreeMan] Cookie 已过期,任务已退出。
2022-01-23 02:31:04 | DEBUG - >> BUILD [SpawnBooster] 正在为玩家领取免费游戏 - progress=[50/69] url=https://www.epicgames.com/store/zh-CN/p/trackmania
2022-01-23 02:31:04 | DEBUG - >> BUILD [SpawnBooster] 正在为玩家领取免费游戏 - progress=[51/69] url=https://www.epicgames.com/store/zh-CN/p/might-and-magic-chess-royale
2022-01-23 02:31:04 | ERROR - >> QUIT [AwesomeFreeMan] Cookie 已过期,任务已退出。
2022-01-23 02:31:05 | ERROR - >> QUIT [AwesomeFreeMan] Cookie 已过期,任务已退出。
2022-01-23 02:31:05 | DEBUG - >> BUILD [SpawnBooster] 正在为玩家领取免费游戏 - progress=[53/69] url=https://www.epicgames.com/store/zh-CN/p/smite
2022-01-23 02:31:06 | DEBUG - >> BUILD [SpawnBooster] 正在为玩家领取免费游戏 - progress=[53/69] url=https://www.epicgames.com/store/zh-CN/p/paladins
2022-01-23 02:31:06 | ERROR - >> QUIT [AwesomeFreeMan] Cookie 已过期,任务已退出。
2022-01-23 02:31:06 | DEBUG - >> BUILD [SpawnBooster] 正在为玩家领取免费游戏 - progress=[54/69] url=https://www.epicgames.com/store/zh-CN/p/dauntless
2022-01-23 02:31:06 | ERROR - >> QUIT [AwesomeFreeMan] Cookie 已过期,任务已退出。
2022-01-23 02:31:07 | WARNING - >> SKIP [GameLibManager] 本游戏包含成人内容,仅限18岁以上玩家选购 - url=https://www.epicgames.com/store/zh-CN/p/insurgency-sandstorm--mod-tools
2022-01-23 02:31:07 | ERROR - >> QUIT [AwesomeFreeMan] Cookie 已过期,任务已退出。
2022-01-23 02:31:07 | DEBUG - >> BUILD [SpawnBooster] 正在为玩家领取免费游戏 - progress=[57/69] url=https://www.epicgames.com/store/zh-CN/p/mars-2030
2022-01-23 02:31:08 | DEBUG - >> BUILD [SpawnBooster] 正在为玩家领取免费游戏 - progress=[57/69] url=https://www.epicgames.com/store/zh-CN/p/days-of-war
2022-01-23 02:31:08 | DEBUG - >> BUILD [SpawnBooster] 正在为玩家领取免费游戏 - progress=[57/69] url=https://www.epicgames.com/store/zh-CN/p/mtg-arena
2022-01-23 02:31:08 | ERROR - >> QUIT [AwesomeFreeMan] Cookie 已过期,任务已退出。
2022-01-23 02:31:09 | ERROR - >> QUIT [AwesomeFreeMan] Cookie 已过期,任务已退出。
2022-01-23 02:31:09 | ERROR - >> QUIT [AwesomeFreeMan] Cookie 已过期,任务已退出。

关于challenge模块的问题

大佬好,这里有个遇到的问题,在challenge这个模块里面我无法获取token,提示模型泛化较差。如图这样,该如何解决或者我哪里有问题?
mmexport1642770065364.jpg

[开源计划] v0.2.r-dev

Project v0.2.r.dev

第一、二阶段测试完结撒花,如无特殊需要不再维护更新。

第三阶段测试将引入 (A-)更丰富的模板日志信息,以及更符合国内通信需求的 (B+)Push+消息推送服务,并基于现有技术方法论升级系统鲁棒性,基于现有服务框架开展长期的镜像维护工作。

暂不考虑引入 i18 国际化方案。

Function

  • 2FA

    二步验证安全挑战 需求删除,主要原因为:缺少安全的,低功耗的,可持续发展的解决方案处理隐藏在结算订单中的 2FA 安全挑战,仅处理登录时的 2FA 身份认证毫无意义。

  • SIC(Special Image Classifier)

    寻找极限的解算模型

    • YOLOv5m6(onnx)
    • YOLOv5s6(onnx)
    • YOLOv5n6(onnx)
  • 容器化

    Armor-cc 服务分治

UtiLs v0.2.0

YOLOv5-Lightning

我们选择直面挑战,而非绕过它。

See the demo of hcaptcha-challenger.

「无论遇到什么困难都不要怕,微笑着面对它。」—— 使命在召唤·奥力给·冬泳怪鸽斯基

嵌入式目标检测模型能在极小的内存占用下实现出乎意料的解算效果,这也是本项目「优雅领游戏」的绝对保障。

各方案对比

下表统计了不同规模的 onnx model 处理 30 轮(每 9 张挑战图片记数一轮)混合类别的 hCAPTCHA 人机挑战的平均解算耗时:

model(onnx) avg_time(s) size(MB)
yolov5n6 0.71 12.4
yolov5s6 1.422 48.2
yolov5m6 3.05 136
  • 使用 YOLOv5n6(onnx) 迁移模型作为临时替代方案,获得接近极限的解算速度;
  • 使用 YOLOv5s6(onnx) 迁移模型作为临时替代方案,可以在稳定性,功耗,解算效率之间保持最佳平衡;

闪电解算

使用 YOLOv5s6(onnx) 执行 challenge 指令的运行日志如下图所示:

Snipaste_2022-02-15_13-37-35

使用 YOLOv5s6(onnx)hCaptcha 测试站点上进行挑战的执行过程如下所示:

hcaptcha-challenger2

[Invalid] 使用PUSHER_SERVERCHAN作为推送方式无法收到推送信息

出现的问题

使用PUSHER_SERVERCHAN作为推送方式无法收到推送信息

使用平台

GitHub action

复现步骤

  • 工作流配置文件如下:
name: ***********

on:
  workflow_dispatch:
  schedule:
    - cron:  "17 21 * * 4"


jobs:
  setup:
    env:
      EPΙC_EMAΙL: ${{ secrets.EPIC_EMAIL }}
      EPΙC_PASSWΟRD: ${{ secrets.EPIC_PASSWORD }}
      PUSHER_SERVERCHAN: ${{ secrets.PUSHER_SERVERCHAN }}
    runs-on: ubuntu-latest
    steps:
      - name: Scaffold Claim
        run: |
          docker run --rm --pull always \
          -e EPΙC_EMAΙL \
          -e EPΙC_PASSWΟRD \
          -e PUSHER_SERVERCHAN \
          ech0sec/awesome-epic:daddy python3 main.py claim 
  • 密匙增添了PUSHER_SERVERCHAN
    image

运行结果

  • GitHub action运行logs:
2022-03-23 03:01:52 | DEBUG - >> ACTIVATE [__Context__] 🎮 激活挑战者上下文
2022-03-23 03:01:53 | SUCCESS - >> MATCH [__Context__] 🎮 启动挑战者上下文 - ctx_session=True
2022-03-23 03:01:55 | DEBUG - >> MATCH [CookieManager] 实体信息注入完毕
2022-03-23 03:01:59 | DEBUG - >> ARMOR [CookieManager] 正在检测隐藏在登录界面的人机挑战...
2022-03-23 03:03:10 | DEBUG - >> MATCH [CookieManager] 实体信息注入完毕
2022-03-23 03:03:13 | DEBUG - >> ARMOR [CookieManager] 正在检测隐藏在登录界面的人机挑战...
2022-03-23 03:04:24 | DEBUG - >> MATCH [CookieManager] 实体信息注入完毕
2022-03-23 03:04:27 | DEBUG - >> ARMOR [CookieManager] 正在检测隐藏在登录界面的人机挑战...
2022-03-23 03:05:38 | DEBUG - >> MATCH [CookieManager] 实体信息注入完毕
2022-03-23 03:05:41 | DEBUG - >> ARMOR [CookieManager] 正在检测隐藏在登录界面的人机挑战...
2022-03-23 03:06:52 | DEBUG - >> MATCH [CookieManager] 实体信息注入完毕
2022-03-23 03:06:55 | DEBUG - >> ARMOR [CookieManager] 正在检测隐藏在登录界面的人机挑战...
2022-03-23 03:06:55 | DEBUG - >> Challenge [ArmorCaptcha] 获取挑战标签 - label=巴土(bus)
2022-03-23 03:06:55 | DEBUG - >> Challenge [ArmorCaptcha] 获取挑战图片链接及元素定位器
2022-03-23 03:06:56 | DEBUG - >> Challenge [ArmorCaptcha] 下载挑战图片
2022-03-23 03:06:56 | DEBUG - >> Challenge [ArmorCaptcha] 开始挑战
2022-03-23 03:06:57 | DEBUG - >> Challenge [ArmorCaptcha] 提交挑战 yolov5n6(onnx)_model: 0.42s
2022-03-23 03:07:00 | DEBUG - >> Challenge [ArmorCaptcha] 挑战继续
2022-03-23 03:07:00 | DEBUG - >> Challenge [ArmorCaptcha] 获取挑战图片链接及元素定位器
2022-03-23 03:07:01 | DEBUG - >> Challenge [ArmorCaptcha] 下载挑战图片
2022-03-23 03:07:01 | DEBUG - >> Challenge [ArmorCaptcha] 开始挑战
2022-03-23 03:07:02 | DEBUG - >> Challenge [ArmorCaptcha] 提交挑战 yolov5n6(onnx)_model: 0.47s
2022-03-23 03:07:07 | DEBUG - >> Challenge [ArmorCaptcha] 挑战成功
2022-03-23 03:07:07 | DEBUG - >> SAVE [CookieManager] Update Context Cookie.
2022-03-23 03:07:08 | DEBUG - >> LOAD [CookieManager] Load context cookie.
2022-03-23 03:07:08 | DEBUG - >> DISCOVERY [Explorer] 📡 使用应力表达式搜索周免游戏...
2022-03-23 03:07:18 | DEBUG - >> STARTUP [ScaffoldClaim] 🍜 正在为玩家领取周免游戏 - game=『《In Sound Mind》』
2022-03-23 03:07:26 | INFO - >> GET [AwesomeFreeMan] 🛴 游戏已在库 - game=『《In Sound Mind》』
2022-03-23 03:07:27 | SUCCESS - >> Notify [AwesomeScheduler] 消息推送完毕 - active_pusher=['PUSHER_SERVERCHAN']
  • 在手机端并未收到推送

期望结果

成功收到推送

可能的解决方案

「推荐」私有工作流部署指南中,您提到

除以上声明外,不可改动其他内容 程序里埋了指纹锁,会从内部破坏违规使用的工作流。

指的是仅能改变nameschedule吗?不能自行更换推送方式为其他吗?

[开源计划] v0.3.r-dev

Project v0.3.r.dev

第一阶段 以及 第二阶段测试 完结撒花 🥂

第三阶段测试将引入 (A-)更丰富的模板日志信息,以及更符合国内通信需求的 (B+)Push+消息推送服务,并基于现有技术方法论升级系统鲁棒性,基于现有服务框架开展长期的镜像维护工作。

暂不考虑引入 i18 国际化方案。

Utils v0.3.r

  • 更丰富的模板日志信息

    发送内容更加具体的脱敏日志。

  • armor-pull

    在生产级容器中引入启发式搜索策略,当系统服务遭遇宕机风险时搜索上游服务的更新信息,当存在有效内容时自动拉取并重启任务。

  • PushPlus

(废弃)符合国内通信需求的消息推送框架,涵盖(企业)微信,公众号,钉钉(机器人),飞书,短信,Chrome插件等主流渠道;并基于这些基础设施实现一对多推送。

[Invalid] ImportError: cannot import name 'ToolBox' from 'services.utils' (unknown location)

Traceback (most recent call last):
  File "/home/runner/work/freeman/freeman/src/main.py", line 8, in <module>

    from services.scaffold import Scaffold

  File "/home/runner/work/freeman/freeman/src/services/scaffold.py", line 8, in <module>
    from apis.scaffold import get, challenge, install, claimer
  File "/home/runner/work/freeman/freeman/src/apis/scaffold/get.py", line 11, in <module>
    from services.bricklayer import Bricklayer
  File "/home/runner/work/freeman/freeman/src/services/bricklayer/__init__.py", line 6, in <module>
    from .bricklayer import Bricklayer
  File "/home/runner/work/freeman/freeman/src/services/bricklayer/bricklayer.py", line 13, in <module>
    from services.settings import logger
  File "/home/runner/work/freeman/freeman/src/services/settings.py", line 11, in <module>
    from services.utils import ToolBox
ImportError: cannot import name 'ToolBox' from 'services.utils' (unknown location)
Error: Process completed with exit code 1.

feat(add): Special Image Classifier based on YOLOv5

不过这条特性大概率是不会用上的,本项目的需求只是领个游戏而已。 不行我就要一次过!

在保证可玩性的情况下,针对地训练一个最小化的 YOLOv5 图像分类器(杀鸡用核弹)。

目前一轮挑战耗时 12 秒左右(存在无法覆盖的类别),针对性训练后的识别效率可以提升 3 至 10 倍,预计耗时压榨至 3 秒内,极端情况下可在模型体积更小,占用内存更低的情况下,秒解挑战。

  • 感兴趣的朋友可以参考这篇论文自己玩一玩 10.1109/SPW53761.2021.00061
  • 根据文章中提到的“技术建议”可知,hCaptcha challenge 的图像类型数量在短时间内不会有太大变化(从文章发表至今删去了 雨伞 新添了 巴土水上飞机),为此,我们可以刻意地训练一个完全适配度的模型用来处理人机挑战(也即所有可供分类的图像数量较少,正常作业中不会遇到突发情况,相当于模拟考前做了一遍原题还对了参考答案,即使遇见突发情况也可以借助强大的关联点网络做排除法)。

[Invalid]领取无法进行

image

添加账号secret后,运行到这一步,并不会进行领取游戏的动作。

ps.我有两个账号,其中一个账号能正常运行,两个账号分别是建了两个不同的库,第二个就会出现截图所示的问题。

feat(del): 待测试的 `2FA` 登录方案

在二重验证当中,绑定了Google身份验证器,导致无法登录。推测如果需要使用本项目,则需要关闭二重验证。
希望在之后的版本迭代中,可以在开启二重验证情况下实现登录。

可供参考项目:
设备授权生成器:https://github.com/xMistt/DeviceAuthGenerator
实现二重验证开启登录的项目:https://github.com/Revadike/epicgames-freebies-claimer
设备授权信息运用在领取中时,Github Action是如何部署的:https://github.com/Revadike/epicgames-freebies-claimer/wiki/Automatically-collect-freebies-with-Github-Actions

部分游戏自动领取不到

日志的显示是已领取的,重新跑也说没有可领取的了,但是四十多款游戏自动领取了不到十款,我试了两个不同的账号都是这样,也没有报错和限制原因导致领取不了,很奇怪

feat(add): 更加准确的运行时游戏在库判断方法

寻找一种解决方案,可在任务发起时动态扫描游戏在库状态,能在前端站点流量高峰时大幅度减少运行耗时。以往方案根据页面按钮元素判断游戏在库状态,网页响应较慢时可能误导系统做出反常行为。

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.