comwrg / bilibiliupload

This project is not maintained anymore.
MIT License
140 stars 35 forks source link

addChannel方法错误 #21

Closed Jaqen00 closed 5 years ago

Jaqen00 commented 5 years ago

首先感谢作者的代码,用起来很方便 在添加频道的时候出现错误,查看代码,发现添加频道的post请求是有问题的 这是我自己替换的代码,替换后添加成功 r = self.session.post( url='https://api.bilibili.com/x/space/channel/add', data={ 'name' : name, 'intro': intro, 'jsonp' : 'jsonp', 'csrf' : self.csrf, },

comwrg commented 5 years ago

非常感谢.

Jaqen00 commented 5 years ago

还有channel_addVideo方法中的url应该是https://api.bilibili.com/x/space/channel/video/add 可能是bilibili改版了吧:)