edwardez / bangumin Goto Github PK
View Code? Open in Web Editor NEWBangumiN - Bangumi unofficial Cross-platform Experience
Home Page: https://bangumin.github.io/
License: MIT License
BangumiN - Bangumi unofficial Cross-platform Experience
Home Page: https://bangumin.github.io/
License: MIT License
如题,是否因未对开发者账号续费导致下架啊?
For subject that has lots of episodes, it could be a problem if we want to display all of them
like https://bgm.tv/subject/32585
This issue can be picked up after angular material team implements the feature
It would be nice if munin can allow user to post reply, to support this, munin needs to parse bbcode(which is the reply format on bangumi) into a AST.
Currently there is no bbcode parser in dart, hence we need to write one.
This task can be broken in following parts.
Write a parser to parser bbcode into ast.(when user wants to edit a post, bbcode is returned)
Parser user post into bbcode.(when user wants to submit a reply, we need to transpile it into bbcode)
2.5 Choose a rich text editor in flutter.
使用应用时访问速度很慢,然后想到 Bangumi 是有三个域名的,如果应用是使用网页的 API 的话,那么是否可以手动更改访问的域名来达到最佳访问速度?
api.bgm.tv
will return 503 if too many requests are sent at the same time
artillery quick --count 100 -n 1 https://api.bgm.tv/subject/1
Report
Scenarios launched: 100
Scenarios completed: 100
Requests completed: 100
RPS sent: 22.32
Request latency:
min: 197.1
max: 2241.2
median: 225
p95: 2216.6
p99: 2231
Codes:
200: 20
503: 80
in order to bypass CORS, all requests are proxied through our own server
might be a problem in production (proxy pool/convert app into a ionic one/request bangumin to be added to the Access-Control-Allow-Origin
list?)
currently bangumi only supports authorization code grant type, in a typical SPA, implicit grant should be used to authorize user(instead of authorization code grant).
bangumin is essentially, a website, in order to send requests to bgm, we'll need to handle CORS
Various solutions on bgm server side: not feasible, we'll need to persuade Sai to add bangumi to their CORS header(as a reference, https://bgm.tv/group/topic/346003)
Use Nginx to reverse proxy bangumi request, considering #6 , it will be easier for us to set up load balancing to mitigate peak requests
However, we're sending requests to bangumi, and all security concerns should still be considered(CSRF, XSS, etc), it would be better if node.js can handle the CORS requests: that being said, we can set up a nginx as the front reverse proxy, and use node.js to actually handle the proxy requests
我在今年9月、10月都有活动,但bangumin.tv的统计页面一直显示上次数据更新在2018年9月5日。统计数据中“总计”一项的数据好像更新过,看着是最新的,但其它数据都停留在上述日期。
After login, "动态" tag refused to load with authentication failure warning while other functions like "进度", "讨论" or "主页" work fine.
I'm happy to help with debugging like dumping logs or doing tests.
Thanks.
FYI: I don't have any "好友" on bangumi, so API format may different with others since it will display the timeline of whole site. Meanwhile users with at least one "好友" will only get timeline from their "好友".
see bangumi/api#32
disable batch update feature for now(i.e. watch until this episode) until this issue is resolved
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.