Closed bao3 closed 3 years ago
为保证隐私,项目不会在github action页面输出关键部分的运行结果,详情请下载私人仓库里的压缩包进行查看,关键部分运行结果会输出到压缩包里的log文件。
注意:运行通过并不代表配置完全没有问题,请以最终结果和日志为准。
请提交log记录和配置文件 注意隐藏自己的私密信息
原因是配置文件里使用 tab 不当引起的。已经修正。
为保证隐私,项目不会在github action页面输出关键部分的运行结果,详情请下载私人仓库里的压缩包进行查看,关键部分运行结果会输出到压缩包里的log文件。
注意:运行通过并不代表配置完全没有问题,请以最终结果和日志为准。
请提交log记录和配置文件 注意隐藏自己的私密信息 之前好好的,从9号开始就不行了: 2021-12-14 09:35:31 DEBUG manager invalid config, rolling back 2021-12-14 09:35:31 CRITICAL manager Failed to load config file: Did not pass schema validation. 2021-12-14 09:35:31 DEBUG manager Removed /home/runner/.flexget/.config-lock
log提示是配置文件格式出错 建议重新检查配置文件
若无法解决建议全部删了重来一次 我这里没有问题
log提示是配置文件格式出错 建议重新检查配置文件 若无法解决建议全部删了重来一次 我这里没有问题
还是不行啊 以前可以的 应该不是配置问题
tasks:
#自动签到
sign_in:
auto_sign_in:
user-agent: 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.111 Safari/537.36'
max_workers: 1
get_messages: no #设为no跳过获取未读信息。默认no
get_details: yes #设为no跳过获取统计。默认yes
aipocr: #baidu ocr参数
app_id: 'xxx'
api_key: 'xxx'
secret_key: 'xxx'
sites:
#以下为具体站点设置
#https://github.com/lhllhx/flexget_qbittorrent_mod/tree/master/ptsites 下存在需要的站点 只需配置相应的 主域名: cookie
# 1ptba: xxxxxxxx
# #部分cookie过期太快,而改用模拟登陆的站点,如以下站点 无此站点的请删除,请删除
# filelist:
# login:
# username: xxxxxxxx
# password: xxxxxxxx
# hdpost:
# login:
# usernameOrEmail: xxxxxxxx
# password: xxxxxxxx
# ourbits:
# # ourbits 在同时配置了cookie 和 login 时,会忽略login 使用cookie签到
# cookie: xxxxxxxx
# login:
# username: xxxxxxxx
# password: xxxxxxxx
# skyey2:
# login:
# username: xxxxxxxx
# password: xxxxxxxx
# m-team:
# login:
# username: 'xxxxxxxx'
# password: 'xxxxxxxx'
# #二次验证, 扫描二维码得到文本 otpauth://totp/*****:****?secret=[secret_key]&issuer=***** (只取[secret_key]部分)
# secret_key: <secret_key>
# #u2特殊设置 无此站点的请删除
# dmhy:
# username: <username>
# cookie: 'xxxxxxx'
# # 五个字符以上签到留言
# comment: <comment>
# ocr_config:
# # 重试次数
# retry: 3
# # 最低识别字符数
# char_count: 3
# # 最低匹配分数
# score: 50
pttime:
cookie: xxx
hdtime:
cookie: xxx
accept_all: yes
seen:
fields:
- title
notify:
task:
always_send: true
message: |+
{%- if task.accepted -%}
{%- for group in task.accepted|groupby('task') -%}
FlexGet has just signed in {{ group.list|length }} sites for task {{ group.grouper }}:
{% for entry in group.list %}
{{ loop.index }}: {{ entry.title }} {{ entry.result }}
{%- if entry.messages|d('') %}
Messages: {{ entry.messages }}
{% endif %}
{%- endfor -%}
{%- endfor -%}
{%- endif -%}
{%- if task.failed %}
{% for group in task.failed|groupby('task') %}
The following sites have failed for task {{ group.grouper }}:
{% for entry in group.list %}
{{ loop.index }}: {{ entry.title }} Reason: {{ entry.reason|d('unknown') }}
{%- if entry.messages|d('') %}
Messages: {{ entry.messages }}
{% endif %}
{%- endfor -%}
{%- endfor -%}
{%- endif -%}
via: #推送渠道选择 选择你需要的推送渠道 将不需要的删掉
- wecom: #微信
corp_id: 'xxx'
corp_secret: 'xxx'
agent_id: 'xxx'
to_user: 'xxx'
image: 'details_report.png'
# - telegram_mod: #tg
# bot_token: ''
# image: 'details_report.png'
# recipients:
# - username: '' #注意这里是用户名,不是昵称,不带@
格式不对 看 #9 的解决方法
求助:
我的配置上传了,然后点了 Star,看到 build 是绿色的,以为签到通过,但是检查完整日志时,看到实际操作终止了,如下是片段日志:
以下是附上上下文比较完整的配置文件: