文章374
标签215
分类51

【分享】Epic-Game自动领取Docker镜像

分享一个每天自动领取Epic-Game游戏的Docker镜像;

源代码:


【分享】Epic-Game自动领取Docker镜像

信息来源:

由于是Docker镜像,所以部署起来非常简单;

我是使用Docker-Compose起来的代码:

docker-compose.yml

version: '3'

services:
  epic-auto:
    image: luminoleon/epicgames-claimer:1.4.8
    container_name: epic-auto
    restart: unless-stopped
    environment:
      - TZ=Asia/Shanghai
      - AUTO_UPDATE=true
      - EMAIL=your_email_address
      - PASSWORD=your_password # 2FA Closed!
      - RUN_AT=23:00 # Run everyday
      - ONCE=false

将上面的EMAILPASSWORD换成你的,并且关闭账号的2FA即可!

RUN_AT为每天执行的时间,可以自行设定;

启动:

docker-compose up -d

启动后日志:

[Sat Sep  4 22:53:01 2021] Claimer is starting...
[Sat Sep  4 22:53:02 2021] Claimer started. Run at 23:00 everyday.
[Sat Sep  4 22:53:53 2021] All available weekly free games are already in your library.
[Sat Sep  4 23:00:37 2021] Warning: CAPTCHA is required for unknown reasons.
[Sat Sep  4 23:01:12 2021] Warning: CAPTCHA is required for unknown reasons.
[Sat Sep  4 23:01:56 2021] All available weekly free games are already in your library.

可以看到成功领取了(我已经领过了,所以显示All available weekly free games are already in your library.);

源代码:



本文作者:Jasonkay
本文链接:https://jasonkayzk.github.io/2021/09/04/【分享】Epic-Game自动领取Docker镜像/
版权声明:本文采用 CC BY-NC-SA 3.0 CN 协议进行许可