Comments (5)
注意这个API必须要POST,GET的话就是 404
from dhufufu.
POST是使用JSON编码{"ep_id":xxx,"auth":"xxx"}
还是类似GET那样用ep_id=xxx&auth=xxx
?
已经source=onAir了的情况下两种方法都测试了但是都是返回401 Unauthorized。
from dhufufu.
第二种编码。注意这里的验证auth信息得走 POST而不是GET。还有我忘了是不是需要给Mime Type是application/x-www-form-urlencoded。还有目前来看,source在POST和 queryString里面都要有
from dhufufu.
URL:http://api.bgm.tv/ep/385310/status/watched?source=onAir
POST:ep_id=385310&auth=<auth key url encoded>
返回:{"request":"\/ep\/385310\/status\/queue?source=onAir","code":401,"error":"Unauthorized"}
from dhufufu.
这个先开着,有空了研究一下
from dhufufu.
Related Issues (7)
- BGM api失效? HOT 1
- BGM API失效 HOT 2
- _(:з」∠)_ 亏我一直用HTTPCLIENT扒 HOT 4
- Bangumi API 中 Subject 中文名的关键词写错 HOT 6
- Bangumi 每日放送列表 API 解析
- Bangumi API 中 Cookies 行为(以及用户信息 API) 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 dhufufu.