Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] 暂用半自动追番方案 #64

Closed
Tracked by #29
li-guohao opened this issue Oct 27, 2022 · 4 comments · Fixed by #81
Closed
Tracked by #29

[Feature] 暂用半自动追番方案 #64

li-guohao opened this issue Oct 27, 2022 · 4 comments · Fixed by #81
Assignees
Labels
feature New feature or request

Comments

@li-guohao
Copy link
Member

li-guohao commented Oct 27, 2022

暂用半自动追番方案:直接解析蜜柑计划RSS链接更新,调用qbittorent的API下载,保存到数据库,通知用户更新

@li-guohao li-guohao changed the title 半自动追番:直接解析蜜柑计划RSS链接更新,调用qbittorent的API下载,保存到数据库,通知用户更新 [Feature] 暂用半自动追番方案 Oct 27, 2022
@li-guohao li-guohao added the feature New feature or request label Oct 27, 2022
@li-guohao li-guohao added this to the 1.0.0-SNAPSHOT milestone Oct 27, 2022
@li-guohao li-guohao self-assigned this Oct 30, 2022
@li-guohao
Copy link
Member Author

li-guohao commented Nov 11, 2022

相关的issue

方案实现思路

经过 #62 验证,获取到的有效信息只有标题和子文件URL

  1. 解析蜜柑计划我的订阅RSS链接
  2. 根据标题和子文件URL,查询BgmTv获取番剧信息
  3. 根据查询到的番剧元数据创建动画
  4. 根据获取torrent的URL,并调用QbittorentWebApi进行下载
  5. 待文件下载完成,创建文件硬链接,获取文件URL地址
  6. 将文件URL地址与对应的剧集关联

@li-guohao
Copy link
Member Author

卡在了调用BgmTv根据关键词查询对应的条目ID上,
目前BgmTv老的查询API一直返回HTML内容,新的查询API一直调不通

再看看要不要用备选方案

备选方案:

  1. 通过蜜柑的RSS订阅获取到剧集页面URL
  2. 通过爬虫获取到剧集页面的番剧URL链接
  3. 通过爬虫获取到番剧页面的BgmTv链接
  4. 根据BgmTv链接提取条目ID
  5. 根据条目ID查询元数据

@li-guohao
Copy link
Member Author

li-guohao commented Nov 11, 2022

卡在了调用BgmTv根据关键词查询对应的条目ID上, 目前BgmTv老的查询API一直返回HTML内容,新的查询API一直调不通

再看看要不要用备选方案

备选方案:

  1. 通过蜜柑的RSS订阅获取到剧集页面URL
  2. 通过爬虫获取到剧集页面的番剧URL链接
  3. 通过爬虫获取到番剧页面的BgmTv链接
  4. 根据BgmTv链接提取条目ID
  5. 根据条目ID查询元数据

备选方案已经实现,commit:li-guohao@1af3503

@li-guohao
Copy link
Member Author

出现了Docker容器内无法创建宿主机硬链接的问题

@li-guohao li-guohao linked a pull request Nov 13, 2022 that will close this issue
2 tasks
li-guohao added a commit that referenced this issue Nov 13, 2022
* add some method for support semi-automatic anime play

* add mikan episode page url when pull mikan rss

* add mikan episode and bangumi page parse

* finish semi-automatic anime play

* add S1E prefix for jellyfin file name

* optimize generate jellyfin episode file parent dir

* cancel qbittorrent category was removed when ikaros shutdown

* optimize method RegexUtils.getFileNameTagEpSeq

* fix url blank issue

* change create hard link to copy

* add default size value for FileEntity

* fix some issue for run in nas

* add dockerfile local build run file

* fix file hard link issue, Close #80

* optimize file tag regex matching

* finish semi-automatic anime play

* optimize file record create repetition issue and adjust task searchDownloadProcessAndCreateFileHardLinksAndRelateEpisode frequency

* update CHANGELOG.MD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant