Xavier-Lam / JAV.bundle

A plex agent for Japanese porn videos. It collects data from JavLibrary, AVEntertainments and some studio's official sites.
MIT License
101 stars 9 forks source link

目前 JavLibrary 的 cookie 失效太快了,有办法接入flaresolverr么? #7

Closed boweic closed 6 months ago

Xavier-Lam commented 6 months ago

由于 plex 插件是在一种 python 2.7 沙盒环境中运行的,因此有很多限制,不能运行完整功能的 python 代码. flaresolverr 需要 Selenium 和其他依赖,这些依赖无法在该环境中运行(至少很难运行,需要进行大量修改,我还没有看到任何项目这样做). 要么就需要要求用户搭个独立的 "flaresolverr", 不大可能. 我认为获取 cf_clearance 的最简单方法是使用 CF-Clearance-Scraper, 我现在也是用这个方案,需要更新的时候跑一下

boweic commented 6 months ago

由于 plex 插件是在一种 python 2.7 沙盒环境中运行的,因此有很多限制,不能运行完整功能的 python 代码. flaresolverr 需要 Selenium 和其他依赖,这些依赖无法在该环境中运行(至少很难运行,需要进行大量修改,我还没有看到任何项目这样做). 要么就需要要求用户搭个独立的 "flaresolverr", 不大可能.

我认为获取 cf_clearance 的最简单方法是使用 CF-Clearance-Scraper, 我现在也是用这个方案,需要更新的时候跑一下

了解,感谢解答。我确实在内网用docker 打了 plex 和 flaresolverr,如有余力也请考虑这种解法。

damahala commented 6 months ago

JAV.bundle.zip

You can try this for flaresolverr support if you like. You will need to config "Flare Solverr Url" from JAV Setting.

Performance-wise, configuring cf_clearance seems to be a lot faster than using flaresolverr.

NOTE: the package is based on the latest code from master with some minor adjustments, so it can support both. BUT, if you config "Flare Solverr Url", cf_clearance won't be used.

boweic commented 6 months ago

JAV.bundle.zip

You can try this for flaresolverr support if you like. You will need to config "Flare Solverr Url" from JAV Setting.

Performance-wise, configuring cf_clearance seems to be a lot faster than using flaresolverr.

NOTE: the package is based on the latest code from master with some minor adjustments, so it can support both. BUT, if you config "Flare Solverr Url", cf_clearance won't be used.

wow it works. thx.