xjasonlyu / jellyfin-plugin-avdc

Metadata Provider Plugin for Jellyfin/Emby.
GNU General Public License v3.0
291 stars 29 forks source link

FC2无法刮削 #4

Closed elizhyu closed 3 years ago

elizhyu commented 3 years ago

FC2系列无法刮削,别的网站包括javbus的都没问题, jellyfin版本10.7.1,avdc插件版本v2021.0323.0614,api版本4.4.2

尝试了不同的番号格式均失败后log如下

jellyfin的log:

[2021-03-23 16:52:41.032 +00:00] [INF] [40] Jellyfin.Plugin.AVDC.Providers.MovieProvider: [AVDC] SearchResults for video: "1734831 "
[2021-03-23 16:53:12.935 +00:00] [ERR] [40] Jellyfin.Plugin.AVDC.Providers.MovieProvider: [AVDC] GetMetadata for "1734831 " failed: "Response status code does not indicate success: 404 (NOT FOUND)."
[2021-03-23 16:53:12.937 +00:00] [WRN] [40] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://10.0.0.252:8096/Items/RemoteSearch/Movie" to "172.17.0.1" in 0:00:31.9071526 with Status Code 200

[2021-03-23 16:53:21.451 +00:00] [INF] [34] Jellyfin.Plugin.AVDC.Providers.MovieProvider: [AVDC] SearchResults for video: "FC2-1734831"
[2021-03-23 16:53:57.809 +00:00] [ERR] [40] Jellyfin.Plugin.AVDC.Providers.MovieProvider: [AVDC] GetMetadata for "FC2-1734831" failed: "Response status code does not indicate success: 404 (NOT FOUND)."
[2021-03-23 16:53:57.813 +00:00] [WRN] [40] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://10.0.0.252:8096/Items/RemoteSearch/Movie" to "172.17.0.1" in 0:00:36.3627459 with Status Code 200

[2021-03-23 16:54:58.333 +00:00] [INF] [47] Jellyfin.Plugin.AVDC.Providers.MovieProvider: [AVDC] SearchResults for video: "FC2PPV-1734831"
[2021-03-23 16:55:28.329 +00:00] [ERR] [51] Jellyfin.Plugin.AVDC.Providers.MovieProvider: [AVDC] GetMetadata for "FC2PPV-1734831" failed: "Response status code does not indicate success: 404 (NOT FOUND)."
[2021-03-23 16:55:28.332 +00:00] [WRN] [51] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Response from "http://10.0.0.252:8096/Items/RemoteSearch/Movie" to "172.17.0.1" in 0:00:29.9997442 with Status Code 200

AVDC-api的docker的log:

[2021-03-23 16:53:12,927] WARNING in api: match metadata from fc2: 1734831: int() argument must be a string, a bytes-like object or a number, not 'NoneType'
172.17.0.1 - - [23/Mar/2021 16:53:12] "GET /metadata/1734831 HTTP/1.1" 404 -

[2021-03-23 16:53:22,596] WARNING in api: match metadata from fc2: FC2-1734831: int() argument must be a string, a bytes-like object or a number, not 'NoneType'
172.17.0.1 - - [23/Mar/2021 16:53:57] "GET /metadata/FC2-1734831 HTTP/1.1" 404 -

[2021-03-23 16:54:59,501] WARNING in api: match metadata from fc2: FC2PPV-1734831: int() argument must be a string, a bytes-like object or a number, not 'NoneType'
172.17.0.1 - - [23/Mar/2021 16:55:28] "GET /metadata/FC2PPV-1734831 HTTP/1.1" 404 -
xjasonlyu commented 3 years ago

fc2影片命名格式:fc2-xxxxx或者fc2ppv-xxxx

xjasonlyu commented 3 years ago

不过fc2刮削确实有点问题,上游AVDC就存在,有部分是搜不到

xjasonlyu commented 3 years ago

好吧是有点bug,等下修一下。。

xjasonlyu commented 3 years ago

fc2刮削問題已修復,重新拉取鏡像就行了

elizhyu commented 3 years ago

亲测FC2的信息刮削已可以使用,然而尝试多个不同番号图片均刮削失败 如下图所示 Snipaste_2021-03-24_13-33-26 Snipaste_2021-03-24_13-33-32

xjasonlyu commented 3 years ago

可能是源就沒有封面?fc2網站上有封面嗎?

elizhyu commented 3 years ago

可能是源就沒有封面?fc2網站上有封面嗎?

尝试了多个不同的番号,均是在官网有封面的情况下刮削不出图片

xjasonlyu commented 3 years ago

给个源?我搜的都是not found的。。

elizhyu commented 3 years ago

给个源?我搜的都是not found的。。

FC2-1497167 https://adult.contents.fc2.com/article/1497167/ https://contents-thumbnail2.fc2.com/w276/storage57000.contents.fc2.com/file/365/36438443/1611987875.73.jpg

xjasonlyu commented 3 years ago

FC2-1497167 https://adult.contents.fc2.com/article/1497167/ https://contents-thumbnail2.fc2.com/w276/storage57000.contents.fc2.com/file/365/36438443/1611987875.73.jpg

这个是刮削得到有封面的啊

elizhyu commented 3 years ago

亲测FC2的信息刮削已可以使用,然而尝试多个不同番号图片均刮削失败 如下图所示 Snipaste_2021-03-24_13-33-26 Snipaste_2021-03-24_13-33-32

我在将api,db文件以及plugin均更新为最新版本后,结果仍然是如上无法显示封面(仅FC2),其它的来源均无问题

xjasonlyu commented 3 years ago

已修复,是因为FC2图片格式有点奇特没被识别出来。重新拉取avdc-api镜像即可。

elizhyu commented 3 years ago

已修复,是因为FC2图片格式有点奇特没被识别出来。重新拉取avdc-api镜像即可。

尝试多个番号,已确认问题得以修复,感谢!