Code Monkey home page Code Monkey logo

Comments (2)

edwardez avatar edwardez commented on June 15, 2024

感谢建议:)
结论上来说,目前没有想到很好的办法。
bangumi有三个域名,bangumi.tv,chii.inbgm.tv,三个都在境外,访问速度都不是很快,bangumi.tvchii.in是一个服务器,所以我们只用讨论bangumi.tvbgm.tv`。

目前app采取的是从bangumi.tv抓取网页和通过api.bgm.tv访问api相结合的方法

通过api.bgm.tv访问api,主要影响收视管理,用户个人主页和搜索条目: 没有很好的方法改善,官方只提供了这个地址(有一些不稳定的方法,比如向bangumi.tv发送假header从而使用bangumi.tv的api -- 我觉得这已经有点算欺诈了,或者自己开反向代理 - bangumi有请求限制,反向代理会被限制)

bangumi.tv抓取网页,主要影响讨论页,帖子,时间线: 理论上可以提供通过bgm.tv的访问,但出于某些原因bgm.tv禁止从bangumin里抓取网页,这个问题很严重,但我没法稳定复现,所以目前没办法提供通过bgm.tv的访问

作为参考,“使用应用时访问速度很慢”是访问哪些页面时很慢,不使用代理访问bangumi.tvbgm.tv是类似的速度吗,还是会变快?

from bangumin.

loykan avatar loykan commented on June 15, 2024

感谢回答,原来已经考虑到了吗,是我太想当然了_(:з」∠)_
访问速度慢主要在于讨论页,较为常出现请求超时,使用代理时有较好改善,另进度页有时也会出现番剧头像无法加载的情况。
提出这个问题的原因在于,我的PC端访问 bangumi.tv 时速度极慢,而访问 bgm.tv 时却十分流畅。APP的动态页以及主页虽然能保证稳定访问,但访问速度却不及 PC 端访问 bgm.tv 时的速度,于是便有了以上的提问。

from bangumin.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.