JavScraper / Emby.Plugins.JavScraper

Emby/Jellyfin 的一个日本电影刮削器插件,可以从某些网站抓取影片信息。
https://javscraper.com
3.43k stars 547 forks source link

FC2 scraper 重写 #107

Open elizhyu opened 3 years ago

elizhyu commented 3 years ago

因为FC2 club网站的失效,以及网络上的备份也只是截至2020年6月后不再更新,所以插件源码的“FC2.cs”文件中原来的使用FC2 club网站获取信息及id,并再从FC2官网获取时间的方法不再适用,需要修改为直接从官网获取所有信息。

kid0613 commented 3 years ago

請問如何修改

JavScraper commented 3 years ago

@elizhyu 官网地址了?

elizhyu commented 3 years ago

@elizhyu 官网地址了?

我在修改了FC2类别的刮削地址后仍无法成功,地址如以下log

Emby.Plugins.JavScraper.Scrapers.FC2:` BaseUrl: https://adult.contents.fc2.com/

然后使用identify功能尝试刮削格式为FC2-XXXXXXX的车牌后仍无返回结果

kid0613 commented 3 years ago

可以試試看在識別功能裡只打數字不加FC2,我遇到的問題是可以刮削到資料~但是無法寫入,會變成NULL NULL

elizhyu commented 3 years ago

可以試試看在識別功能裡只打數字不加FC2,我遇到的問題是可以刮削到資料~但是無法寫入,會變成NULL NULL

我在尝试仅使用数字后产生如下log

[2021-02-06 00:24:33.355 +00:00] [INF] [30] Emby.Plugins.JavScraper.JavMovieProvider: GetSearchResults id: info:{"Name":"1669443","MetadataLanguage":"en","MetadataCountryCode":"US","ProviderIds":{"AniDB":"","AniList":"","Imdb":"","Kitsu":"","Tmdb":"","TmdbCollection":""},"IsAutomated":true}
[2021-02-06 00:24:33.565 +00:00] [ERR] [40] Emby.Plugins.JavScraper.Scrapers.JavBus: Response status code does not indicate success: 404 (Not Found).
[2021-02-06 00:24:33.738 +00:00] [ERR] [40] Emby.Plugins.JavScraper.Scrapers.JavBus: Response status code does not indicate success: 404 (Not Found).
[2021-02-06 00:24:35.722 +00:00] [INF] [43] Emby.Plugins.JavScraper.JavMovieProvider: GetSearchResults name:1669443 id: count:0

与以下使用完整FC2-XXXXXXX番号尝试刮削后产生的log相比较

[2021-02-06 00:24:42.984 +00:00] [INF] [40] Emby.Plugins.JavScraper.JavMovieProvider: GetSearchResults id:fc2-ppv-1669443 info:{"Name":"FC2-1669443","MetadataLanguage":"en","MetadataCountryCode":"US","ProviderIds":{"AniDB":"","AniList":"","Imdb":"","Kitsu":"","Tmdb":"","TmdbCollection":""},"IsAutomated":true}
[2021-02-06 00:26:23.010 +00:00] [ERR] [48] Emby.Plugins.JavScraper.Scrapers.FC2: The operation was canceled.
[2021-02-06 00:26:23.013 +00:00] [INF] [48] Emby.Plugins.JavScraper.JavMovieProvider: GetSearchResults name:FC2-1669443 id:fc2-ppv-1669443 count:0

可推断如单使用数字,插件无法识别类别为FC2,仅调用了常规javbus的源,而使用完整番号后,插件能够成功识别类别并调用了相应的FC2的源,然而因为FC2club网站的失效导致过期失效的源信息刮削方法无法成功。

所以,我个人的specific case并无法成功,好像也与你的情况有所不同。

我的jellyfin版本为10.6.4,插件版本为v1.2021.0205.2100