Comments (2)
感谢建议:)
结论上来说,目前没有想到很好的办法。
bangumi有三个域名,bangumi.tv
,chii.in
和bgm.tv
,三个都在境外,访问速度都不是很快,bangumi.tv和
chii.in是一个服务器,所以我们只用讨论
bangumi.tv和
bgm.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.tv
或bgm.tv
是类似的速度吗,还是会变快?
from bangumin.
感谢回答,原来已经考虑到了吗,是我太想当然了_(:з」∠)_
访问速度慢主要在于讨论页,较为常出现请求超时,使用代理时有较好改善,另进度页有时也会出现番剧头像无法加载的情况。
提出这个问题的原因在于,我的PC端访问 bangumi.tv
时速度极慢,而访问 bgm.tv
时却十分流畅。APP的动态页以及主页虽然能保证稳定访问,但访问速度却不及 PC 端访问 bgm.tv
时的速度,于是便有了以上的提问。
from bangumin.
Related Issues (10)
- use implicit grant for bangumi oauth
- Support submit reply. HOT 2
- “动态” Unable to load HOT 3
- 请问Bangumin.tv的统计功能还在正常获取数据吗? HOT 1
- Implement virtual scrolling to display episodes HOT 1
- update episode progress in batch mode will cause loss of user current collection progress info HOT 1
- http request might return 503 if too many requests are sent at the same time HOT 1
- Design Choice: How to handle CORS
- Flex-layout is causing performance issues HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bangumin.