Skip to content
This repository has been archived by the owner on Oct 10, 2023. It is now read-only.

遇到问题,执行时出现not found #73

Closed
yurimoe opened this issue Mar 13, 2020 · 7 comments
Closed

遇到问题,执行时出现not found #73

yurimoe opened this issue Mar 13, 2020 · 7 comments

Comments

@yurimoe
Copy link

yurimoe commented Mar 13, 2020

[2020-03-13T01:17:21Z INFO exloli::exhentai] 搜索前 1 页本子
[2020-03-13T01:17:21Z INFO exloli::exhentai] 找到 25 本
[2020-03-13T01:17:21Z INFO exloli] 画廊名称: *****
[2020-03-13T01:17:21Z INFO exloli] 画廊地址: https://exhentai.org/g/*******
[2020-03-13T02:27:58Z DEBUG exloli::exhentai] 获取画廊信息: https://exhentai.org /g/*********
[2020-03-13T02:27:59Z DEBUG exloli::exhentai] 状态码: 200 OK
[2020-03-13T02:27:59Z DEBUG exloli::exhentai] tags: {"language": ["chinese", "tr anslated"], "female": ["bondage", "gag"]}
[2020-03-13T02:27:59Z DEBUG exloli::exhentai] 评分: 4.13
[2020-03-13T02:27:59Z DEBUG exloli::exhentai] 收藏数: 44
[2020-03-13T01:17:21Z ERROR exloli] 任务出错: not found

也尝试过编译0.2版本的,出现一样的错误。 不知道是哪里不对。
我的config配置如下

log_level = "INFO"

threads_num = 4 # 4.0 这里加“”会报错
[exhentai]

username = "****"

password = "****"

keyword = "chinese"

search_watched = false

max_pages = 2

max_img_cnt = 50

local_cache = false

cache_path = "/mnt/tg/"

[telegraph]

upload = true

access_token = "51*****82f4"

author_name = "yurimoe"

author_url = "https://t.me/*****"

[telegram]

channel_id = "@*****"

token = "881************Fa7Sw"

@Aloxaf
Copy link
Collaborator

Aloxaf commented Mar 13, 2020

竟然真有人用,我瞅一下

这个报错是 xpath 执行失败了

@yurimoe
Copy link
Author

yurimoe commented Mar 13, 2020

好项目,看着好玩,iOS上tg看本子感觉比app都方便 所以想部署一个 应该要怎么修呢?

@Aloxaf
Copy link
Collaborator

Aloxaf commented Mar 13, 2020

我试了一下没有问题,我怀疑是你的 ex 设置里改了一下布局之类的,然后导致 xpath 无法定位到相关元素。

@Aloxaf
Copy link
Collaborator

Aloxaf commented Mar 13, 2020

把报错弄得详细了一点:68dc01e
你重新编译一下最新版,看看是哪个 xpath 执行失败了,然后到 ex 设置里看看有没有相关设置

@yurimoe
Copy link
Author

yurimoe commented Mar 13, 2020

把报错弄得详细了一点:68dc01e
你重新编译一下最新版,看看是哪个 xpath 执行失败了,然后到 ex 设置里看看有没有相关设置

我试了一下没有问题,我怀疑是你的 ex 设置里改了一下布局之类的,然后导致 xpath 无法定位到相关元素。

实际上设置都是默认的,仅仅只是把图库页面缩略图设置切换为large 就跑起来了

@Aloxaf
Copy link
Collaborator

Aloxaf commented Mar 13, 2020

嗯?原来是我改了设置吗……

@yurimoe
Copy link
Author

yurimoe commented Mar 13, 2020

嗯?原来是我改了设置吗……

最开始也怀疑过是设置问题,因为也没看到什么改过的地方 所以发了issues
误打误撞 切换了缩略图 (‐^▽^‐)
现在已经成功将第一个本子上传到TG了

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants