comwrg / bilibiliupload

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

请教cookie相关问题 #1

Closed deng47 closed 7 years ago

deng47 commented 7 years ago

我在自己两年前的cookie里面并没有找到_cnt_dyn=0和_cnt_dyn__ckMd5这两个字段,其他字段都有。请问是我找的地方不对吗?谢谢

comwrg commented 7 years ago

没有没关系的,有些cookie是没啥用的,你粘贴上去看可以上传就可以了

deng47 commented 7 years ago

谢谢这么快的回复!

我把cookie换成自己的,然后修改了一下你的bilibili.py(改成从命令行输入视频title、source、tag等参数)再上传,期间没有报错,但投稿都卡在b站审核那里了。

昨天我试过传四、五次日语的广播节目,结果审核总是提示“该稿件在上传过程中出现了错误,请尝试重新上传视频文件 ”。于是我尝试传一个只有虫鸣鸟叫的环境白噪音视频,没多久就通过审核,播放一切正常。 今天我又再尝试,结果连白噪音视频都不能通过审核。

现在我还没有搞清楚是我真的在修改脚本的时候出问题导致上传出错,还是b站审查视频的锅。

2017-06-24 17:20 GMT-07:00 comwrg notifications@github.com:

没有没关系的,有些cookie是没啥用的,你粘贴上去看可以上传就可以了

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/comwrg/youtubu2bilibili/issues/1#issuecomment-310873832, or mute the thread https://github.com/notifications/unsubscribe-auth/AQ2-cj70NI_RdCbvGgpT5IYu6-z42-uzks5sHae-gaJpZM4OEdnv .

comwrg commented 7 years ago

等会又空我再试试吧,之前上传了几个视频都审核成功了,也就一个礼拜之前

deng47 commented 7 years ago

谢谢,主要是现在网络舆论环境恶化,加上b站准备搞实名认证,让我分不清是代码问题还是审查问题。

2017-06-24 17:59 GMT-07:00 comwrg notifications@github.com:

等会又空我再试试吧,之前上传了几个视频都审核成功了,也就一个礼拜之前

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/comwrg/youtubu2bilibili/issues/1#issuecomment-310875021, or mute the thread https://github.com/notifications/unsubscribe-auth/AQ2-cnK1KBDRdZghSUL6BzwPheiIdWnIks5sHbDXgaJpZM4OEdnv .

comwrg commented 7 years ago

审核不通过提示什么信息?

2017年6月25日星期日,siqi deng notifications@github.com 写道:

谢谢,主要是现在网络舆论环境恶化,加上b站准备搞实名认证,让我分不清是代码问题还是审查问题。

2017-06-24 17:59 GMT-07:00 comwrg <notifications@github.com javascript:_e(%7B%7D,'cvml','notifications@github.com');>:

等会又空我再试试吧,之前上传了几个视频都审核成功了,也就一个礼拜之前

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/comwrg/youtubu2bilibili/issues/1# issuecomment-310875021, or mute the thread https://github.com/notifications/unsubscribe-auth/AQ2- cnK1KBDRdZghSUL6BzwPheiIdWnIks5sHbDXgaJpZM4OEdnv .

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/comwrg/youtubu2bilibili/issues/1#issuecomment-310875189, or mute the thread https://github.com/notifications/unsubscribe-auth/AS7zrZm6aAROZgfDaNLEjy0-i1zkb2cpks5sHbIYgaJpZM4OEdnv .

deng47 commented 7 years ago

退回理由 稿件中发现1个问题。 分P诊断

2017-06-24 18:27 GMT-07:00 comwrg notifications@github.com:

审核不通过提示什么信息?

2017年6月25日星期日,siqi deng notifications@github.com 写道:

谢谢,主要是现在网络舆论环境恶化,加上b站准备搞实名认证,让我分不清是代码问题还是审查问题。

2017-06-24 17:59 GMT-07:00 comwrg <notifications@github.com javascript:_e(%7B%7D,'cvml','notifications@github.com');>:

等会又空我再试试吧,之前上传了几个视频都审核成功了,也就一个礼拜之前

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/comwrg/youtubu2bilibili/issues/1# issuecomment-310875021, or mute the thread https://github.com/notifications/unsubscribe-auth/AQ2- cnK1KBDRdZghSUL6BzwPheiIdWnIks5sHbDXgaJpZM4OEdnv .

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/comwrg/youtubu2bilibili/issues/1# issuecomment-310875189, or mute the thread https://github.com/notifications/unsubscribe- auth/AS7zrZm6aAROZgfDaNLEjy0-i1zkb2cpks5sHbIYgaJpZM4OEdnv .

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/comwrg/youtubu2bilibili/issues/1#issuecomment-310875847, or mute the thread https://github.com/notifications/unsubscribe-auth/AQ2-ckcfLlODl00WzOiudoFN2uVYUVohks5sHbeDgaJpZM4OEdnv .

comwrg commented 7 years ago

那应该是上传的问题,你看看封面有没有生成

2017年6月25日 09:29,"siqi deng" notifications@github.com写道:

退回理由 稿件中发现1个问题。 分P诊断

  • P1 该稿件在上传过程中出现了错误,请尝试重新上传视频文件

2017-06-24 18:27 GMT-07:00 comwrg notifications@github.com:

审核不通过提示什么信息?

2017年6月25日星期日,siqi deng notifications@github.com 写道:

谢谢,主要是现在网络舆论环境恶化,加上b站准备搞实名认证,让我分不清是代码问题还是审查问题。

2017-06-24 17:59 GMT-07:00 comwrg <notifications@github.com javascript:_e(%7B%7D,'cvml','notifications@github.com');>:

等会又空我再试试吧,之前上传了几个视频都审核成功了,也就一个礼拜之前

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/comwrg/youtubu2bilibili/issues/1# issuecomment-310875021, or mute the thread https://github.com/notifications/unsubscribe-auth/AQ2- cnK1KBDRdZghSUL6BzwPheiIdWnIks5sHbDXgaJpZM4OEdnv .

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/comwrg/youtubu2bilibili/issues/1# issuecomment-310875189, or mute the thread https://github.com/notifications/unsubscribe- auth/AS7zrZm6aAROZgfDaNLEjy0-i1zkb2cpks5sHbIYgaJpZM4OEdnv .

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/comwrg/youtubu2bilibili/issues/1# issuecomment-310875847, or mute the thread https://github.com/notifications/unsubscribe-auth/AQ2- ckcfLlODl00WzOiudoFN2uVYUVohks5sHbeDgaJpZM4OEdnv .

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/comwrg/youtubu2bilibili/issues/1#issuecomment-310875904, or mute the thread https://github.com/notifications/unsubscribe-auth/AS7zretMEl9yQK4RwVTIBSyaZ5A9l2Xpks5sHbfugaJpZM4OEdnv .

deng47 commented 7 years ago

我不清楚你看不看得到我的附件图片,我这些视频最后都是自己生成了封面的

2017-06-24 20:03 GMT-07:00 comwrg notifications@github.com:

那应该是上传的问题,你看看封面有没有生成

2017年6月25日 09:29,"siqi deng" notifications@github.com写道:

退回理由 稿件中发现1个问题。 分P诊断

  • P1 该稿件在上传过程中出现了错误,请尝试重新上传视频文件

2017-06-24 18:27 GMT-07:00 comwrg notifications@github.com:

审核不通过提示什么信息?

2017年6月25日星期日,siqi deng notifications@github.com 写道:

谢谢,主要是现在网络舆论环境恶化,加上b站准备搞实名认证,让我分不清是代码问题还是审查问题。

2017-06-24 17:59 GMT-07:00 comwrg <notifications@github.com javascript:_e(%7B%7D,'cvml','notifications@github.com');>:

等会又空我再试试吧,之前上传了几个视频都审核成功了,也就一个礼拜之前

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/comwrg/youtubu2bilibili/issues/1# issuecomment-310875021, or mute the thread https://github.com/notifications/unsubscribe-auth/AQ2- cnK1KBDRdZghSUL6BzwPheiIdWnIks5sHbDXgaJpZM4OEdnv .

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/comwrg/youtubu2bilibili/issues/1# issuecomment-310875189, or mute the thread https://github.com/notifications/unsubscribe- auth/AS7zrZm6aAROZgfDaNLEjy0-i1zkb2cpks5sHbIYgaJpZM4OEdnv .

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/comwrg/youtubu2bilibili/issues/1# issuecomment-310875847, or mute the thread https://github.com/notifications/unsubscribe-auth/AQ2- ckcfLlODl00WzOiudoFN2uVYUVohks5sHbeDgaJpZM4OEdnv .

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/comwrg/youtubu2bilibili/issues/1# issuecomment-310875904, or mute the thread https://github.com/notifications/unsubscribe-auth/ AS7zretMEl9yQK4RwVTIBSyaZ5A9l2Xpks5sHbfugaJpZM4OEdnv .

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/comwrg/youtubu2bilibili/issues/1#issuecomment-310879001, or mute the thread https://github.com/notifications/unsubscribe-auth/AQ2-coQAUaas5s4S_xyzoeICPhjFIugiks5sHc4TgaJpZM4OEdnv .

comwrg commented 7 years ago

有生成封面的话说明视频是上传成功的

2017-06-25 11:07 GMT+08:00 siqi deng notifications@github.com:

我不清楚你看不看得到我的附件图片,我这些视频最后都是自己生成了封面的

2017-06-24 20:03 GMT-07:00 comwrg notifications@github.com:

那应该是上传的问题,你看看封面有没有生成

2017年6月25日 09:29,"siqi deng" notifications@github.com写道:

退回理由 稿件中发现1个问题。 分P诊断

  • P1 该稿件在上传过程中出现了错误,请尝试重新上传视频文件

2017-06-24 18:27 GMT-07:00 comwrg notifications@github.com:

审核不通过提示什么信息?

2017年6月25日星期日,siqi deng notifications@github.com 写道:

谢谢,主要是现在网络舆论环境恶化,加上b站准备搞实名认证,让我分不清是代码问题还是审查问题。

2017-06-24 17:59 GMT-07:00 comwrg <notifications@github.com javascript:_e(%7B%7D,'cvml','notifications@github.com');>:

等会又空我再试试吧,之前上传了几个视频都审核成功了,也就一个礼拜之前

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/comwrg/youtubu2bilibili/issues/1# issuecomment-310875021, or mute the thread https://github.com/notifications/unsubscribe-auth/AQ2- cnK1KBDRdZghSUL6BzwPheiIdWnIks5sHbDXgaJpZM4OEdnv .

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/comwrg/youtubu2bilibili/issues/1# issuecomment-310875189, or mute the thread https://github.com/notifications/unsubscribe- auth/AS7zrZm6aAROZgfDaNLEjy0-i1zkb2cpks5sHbIYgaJpZM4OEdnv .

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/comwrg/youtubu2bilibili/issues/1# issuecomment-310875847, or mute the thread https://github.com/notifications/unsubscribe-auth/AQ2- ckcfLlODl00WzOiudoFN2uVYUVohks5sHbeDgaJpZM4OEdnv .

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/comwrg/youtubu2bilibili/issues/1# issuecomment-310875904, or mute the thread https://github.com/notifications/unsubscribe-auth/ AS7zretMEl9yQK4RwVTIBSyaZ5A9l2Xpks5sHbfugaJpZM4OEdnv .

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/comwrg/youtubu2bilibili/issues/1# issuecomment-310879001, or mute the thread https://github.com/notifications/unsubscribe-auth/AQ2-coQAUaas5s4S_ xyzoeICPhjFIugiks5sHc4TgaJpZM4OEdnv .

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/comwrg/youtubu2bilibili/issues/1#issuecomment-310879112, or mute the thread https://github.com/notifications/unsubscribe-auth/AS7zrTQ3qIvM-9cIm87PZwJC1hKWNUIXks5sHc7qgaJpZM4OEdnv .

deng47 commented 7 years ago

所以很可能是b站审核的锅?谢谢你的解答,麻烦你了

2017-06-24 20:13 GMT-07:00 comwrg notifications@github.com:

有生成封面的话说明视频是上传成功的

2017-06-25 11:07 GMT+08:00 siqi deng notifications@github.com:

我不清楚你看不看得到我的附件图片,我这些视频最后都是自己生成了封面的

2017-06-24 20:03 GMT-07:00 comwrg notifications@github.com:

那应该是上传的问题,你看看封面有没有生成

2017年6月25日 09:29,"siqi deng" notifications@github.com写道:

退回理由 稿件中发现1个问题。 分P诊断

  • P1 该稿件在上传过程中出现了错误,请尝试重新上传视频文件

2017-06-24 18:27 GMT-07:00 comwrg notifications@github.com:

审核不通过提示什么信息?

2017年6月25日星期日,siqi deng notifications@github.com 写道:

谢谢,主要是现在网络舆论环境恶化,加上b站准备搞实名认证,让我分不清是代码问题还是审查问题。

2017-06-24 17:59 GMT-07:00 comwrg <notifications@github.com javascript:_e(%7B%7D,'cvml','notifications@github.com');>:

等会又空我再试试吧,之前上传了几个视频都审核成功了,也就一个礼拜之前

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/comwrg/youtubu2bilibili/issues/1# issuecomment-310875021, or mute the thread https://github.com/notifications/unsubscribe-auth/AQ2- cnK1KBDRdZghSUL6BzwPheiIdWnIks5sHbDXgaJpZM4OEdnv .

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/comwrg/youtubu2bilibili/issues/1# issuecomment-310875189, or mute the thread https://github.com/notifications/unsubscribe- auth/AS7zrZm6aAROZgfDaNLEjy0-i1zkb2cpks5sHbIYgaJpZM4OEdnv .

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/comwrg/youtubu2bilibili/issues/1# issuecomment-310875847, or mute the thread https://github.com/notifications/unsubscribe-auth/AQ2- ckcfLlODl00WzOiudoFN2uVYUVohks5sHbeDgaJpZM4OEdnv .

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/comwrg/youtubu2bilibili/issues/1# issuecomment-310875904, or mute the thread https://github.com/notifications/unsubscribe-auth/ AS7zretMEl9yQK4RwVTIBSyaZ5A9l2Xpks5sHbfugaJpZM4OEdnv .

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/comwrg/youtubu2bilibili/issues/1# issuecomment-310879001, or mute the thread https://github.com/notifications/unsubscribe-auth/AQ2-coQAUaas5s4S_ xyzoeICPhjFIugiks5sHc4TgaJpZM4OEdnv .

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/comwrg/youtubu2bilibili/issues/1# issuecomment-310879112, or mute the thread https://github.com/notifications/unsubscribe-auth/AS7zrTQ3qIvM- 9cIm87PZwJC1hKWNUIXks5sHc7qgaJpZM4OEdnv .

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/comwrg/youtubu2bilibili/issues/1#issuecomment-310879354, or mute the thread https://github.com/notifications/unsubscribe-auth/AQ2-cqW5oOujo7QpsAqXS3pvNeLUfgPyks5sHdB3gaJpZM4OEdnv .

deng47 commented 7 years ago

我觉得我可能发现问题原因了。我上传的几个片源是用rtmpdump下载的flv。我试着换成其他的mp4以后就好像没有出错了。 虽然同样的flv文件上传youtube完全没有问题

comwrg commented 7 years ago

嗯,懂了,源码里有个问题

在 2017年6月26日 上午2:59,siqi deng notifications@github.com写道:

我觉得我可能发现问题原因了。我上传的几个片源是用rtmpdump下载的flv。我试着换成其他的mp4以后就好像没有出错了。 虽然同样的flv文件上传youtube完全没有问题

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/comwrg/youtubu2bilibili/issues/1#issuecomment-310921183, or mute the thread https://github.com/notifications/unsubscribe-auth/AS7zrczIYtBBaq93ro3NfOhiqjLUBjEAks5sHq4ggaJpZM4OEdnv .

comwrg commented 7 years ago

试下bug#1分支的源码

deng47 commented 7 years ago

用新分支的bilibili.py上传后r.text出现报错: {"OK":-1,"info":"No file in body."} 6 6 {"OK":0,"info":"Chunks error, should be 0"}

comwrg commented 7 years ago

再上传试试?

deng47 commented 7 years ago

试过flv和mp4文件都一样问题

comwrg commented 7 years ago

试试最新master的,我这里测试都是可以的

deng47 commented 7 years ago

我觉得是我用rtmpdump下载的视频编码有问题,我直接正常网页端投稿都是显示上传出错的 现在我用ffmpeg转成mp4以后就没有问题了 谢谢