Closed Darnix closed 2 years ago
By the way, can dantalian bgm also add access token parameter?
You can use dantalian --access-token xxx bgm get 354246
I tried the new release bin to generate nfo files with access token but still not working.
Can you have a try for PR #54? You can find binaries at https://github.com/nanozuki/dantalian/actions/runs/3188438171
By the way, can dantalian bgm also add access token parameter?
You can use
dantalian --access-token xxx bgm get 354246
I tried the new release bin to generate nfo files with access token but still not working.
Can you have a try for PR #54? You can find binaries at https://github.com/nanozuki/dantalian/actions/runs/3188438171
Work like a charm now, thx!
I tried the new release bin to generate nfo files with access token but still not working.
Just found getting subject api url in https://bangumi.github.io/api/#/%E6%9D%A1%E7%9B%AE/getSubjectById is https://api.bgm.tv/v0/subjects/{subject_id} but dantalian is using https://api.bgm.tv/subject/{subject_id}.
Trying
curl -X 'GET' 'https://api.bgm.tv/subject/354246' -H 'accept: application/json' -H 'Authorization: Bearer <token>'
will return 404 response,curl -X 'GET' 'https://api.bgm.tv/v0/subjects/354246' -H 'accept: application/json' -H 'Authorization: Bearer <token>'
will get the correct response, and the same as getting episode data.By the way, can
dantalian bgm
also add access token parameter?Relay to #51
Thanks.