Comments (20)
你的cookie文件有问题,你可以打开检查一下,或者直接删了,让他重新登录
from biliup.
你更新一下再试试,如果中途有错误日志先不要管,只要有上传了几个文件的日志就行了
from biliup.
在GCE上运行,不知道为什么,log也不输出日至.
(为心爱的主播录制上传视频-_-)
from biliup.
首次上传更新cookie失败,一般问题不大,多等一会就好了,因为用的是模拟登录没有用登录api,所以有几率登录失败,如果等了很长时间还是更新cookie失败请再反馈一下。
from biliup.
新的log:
ds_update.log
from biliup.
我也有类似错误,上传失败
2019-10-16 16:34:47,948 handler.py[line:65](Pid:81944 Tname:ThreadPoolExecutor-0_1) error IOError
Traceback (most recent call last):
File "/Users/Mac/anaconda3/lib/python3.6/urllib/request.py", line 1318, in do_open
encode_chunked=req.has_header('Transfer-encoding'))
File "/Users/Mac/anaconda3/lib/python3.6/http/client.py", line 1239, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/Users/Mac/anaconda3/lib/python3.6/http/client.py", line 1285, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/Users/Mac/anaconda3/lib/python3.6/http/client.py", line 1234, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/Users/Mac/anaconda3/lib/python3.6/http/client.py", line 1026, in _send_output
self.send(msg)
File "/Users/Mac/anaconda3/lib/python3.6/http/client.py", line 964, in send
self.connect()
File "/Users/Mac/anaconda3/lib/python3.6/http/client.py", line 1400, in connect
server_hostname=server_hostname)
File "/Users/Mac/anaconda3/lib/python3.6/ssl.py", line 407, in wrap_socket
_context=self, _session=session)
File "/Users/Mac/anaconda3/lib/python3.6/ssl.py", line 814, in init
self.do_handshake()
File "/Users/Mac/anaconda3/lib/python3.6/ssl.py", line 1068, in do_handshake
self._sslobj.do_handshake()
File "/Users/Mac/anaconda3/lib/python3.6/ssl.py", line 689, in do_handshake
self._sslobj.do_handshake()
ssl.SSLEOFError: EOF occurred in violation of protocol (_ssl.c:841)During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/Mac/游乐场/bilibiliupload-master/engine/handler.py", line 58, in all_check
if one('检测' + url, url).check_stream():
File "/Users/Mac/游乐场/bilibiliupload-master/engine/plugins/general.py", line 17, in check_stream
info = site.parser(url)
File "/Users/Mac/游乐场/bilibiliupload-master/ykdl/extractor.py", line 21, in parser
info = self.prepare()
File "/Users/Mac/游乐场/bilibiliupload-master/ykdl/extractors/douyu/live.py", line 183, in prepare
error_msg = get_live_info()
File "/Users/Mac/游乐场/bilibiliupload-master/ykdl/extractors/douyu/live.py", line 150, in get_live_info
html_content = get_content('https://www.douyu.com/lapi/live/getH5Play/{}'.format(self.vid), data=data)
File "/Users/Mac/游乐场/bilibiliupload-master/ykdl/util/html.py", line 67, in get_content
response = urlopen(req)
File "/Users/Mac/anaconda3/lib/python3.6/urllib/request.py", line 223, in urlopen
return opener.open(url, data, timeout)
File "/Users/Mac/anaconda3/lib/python3.6/urllib/request.py", line 526, in open
response = self._open(req, data)
File "/Users/Mac/anaconda3/lib/python3.6/urllib/request.py", line 544, in _open
'_open', req)
File "/Users/Mac/anaconda3/lib/python3.6/urllib/request.py", line 504, in _call_chain
result = func(*args)
File "/Users/Mac/anaconda3/lib/python3.6/urllib/request.py", line 1361, in https_open
context=self._context, check_hostname=self._check_hostname)
File "/Users/Mac/anaconda3/lib/python3.6/urllib/request.py", line 1320, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error EOF occurred in violation of protocol (_ssl.c:841)>
from biliup.
如果是上传出错的话。上传需要你去b站建一个投稿模板然后保存,记得选转载,分区什么的按照你录的直播来选就行了
from biliup.
如果是上传出错的话。上传需要你去b站建一个投稿模板然后保存,记得选转载,分区什么的按照你录的直播来选就行了
已经在B站建立投稿模板。
新的log:
上传失败,
ds_update.log
from biliup.
def start(self, url, date=None): title = self.title if date: title = str(date) + self.title if self.filter_file(): logger.info('准备上传' + title) try: self.upload(title, self.file_list, link=url) except selenium.common.exceptions.WebDriverException: logger.exception('WebDriverException') # except : # logger.exception('?')
把这最后两行的注释打开再运行一下(在upload.py这个文件里),因为你这个现在没有报错,看不出来哪出问题了
from biliup.
我也有类似错误,上传失败
2019-10-16 16:34:47,948 handler.py[line:65](Pid:81944 Tname:ThreadPoolExecutor-0_1) error IOError
Traceback (most recent call last):
File "/Users/Mac/anaconda3/lib/python3.6/urllib/request.py", line 1318, in do_open
encode_chunked=req.has_header('Transfer-encoding'))
File "/Users/Mac/anaconda3/lib/python3.6/http/client.py", line 1239, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/Users/Mac/anaconda3/lib/python3.6/http/client.py", line 1285, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/Users/Mac/anaconda3/lib/python3.6/http/client.py", line 1234, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/Users/Mac/anaconda3/lib/python3.6/http/client.py", line 1026, in _send_output
self.send(msg)
File "/Users/Mac/anaconda3/lib/python3.6/http/client.py", line 964, in send
self.connect()
File "/Users/Mac/anaconda3/lib/python3.6/http/client.py", line 1400, in connect
server_hostname=server_hostname)
File "/Users/Mac/anaconda3/lib/python3.6/ssl.py", line 407, in wrap_socket
_context=self, _session=session)
File "/Users/Mac/anaconda3/lib/python3.6/ssl.py", line 814, in init
self.do_handshake()
File "/Users/Mac/anaconda3/lib/python3.6/ssl.py", line 1068, in do_handshake
self._sslobj.do_handshake()
File "/Users/Mac/anaconda3/lib/python3.6/ssl.py", line 689, in do_handshake
self._sslobj.do_handshake()
ssl.SSLEOFError: EOF occurred in violation of protocol (_ssl.c:841)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/Mac/游乐场/bilibiliupload-master/engine/handler.py", line 58, in all_check
if one('检测' + url, url).check_stream():
File "/Users/Mac/游乐场/bilibiliupload-master/engine/plugins/general.py", line 17, in check_stream
info = site.parser(url)
File "/Users/Mac/游乐场/bilibiliupload-master/ykdl/extractor.py", line 21, in parser
info = self.prepare()
File "/Users/Mac/游乐场/bilibiliupload-master/ykdl/extractors/douyu/live.py", line 183, in prepare
error_msg = get_live_info()
File "/Users/Mac/游乐场/bilibiliupload-master/ykdl/extractors/douyu/live.py", line 150, in get_live_info
html_content = get_content('https://www.douyu.com/lapi/live/getH5Play/{}'.format(self.vid), data=data)
File "/Users/Mac/游乐场/bilibiliupload-master/ykdl/util/html.py", line 67, in get_content
response = urlopen(req)
File "/Users/Mac/anaconda3/lib/python3.6/urllib/request.py", line 223, in urlopen
return opener.open(url, data, timeout)
File "/Users/Mac/anaconda3/lib/python3.6/urllib/request.py", line 526, in open
response = self._open(req, data)
File "/Users/Mac/anaconda3/lib/python3.6/urllib/request.py", line 544, in _open
'_open', req)
File "/Users/Mac/anaconda3/lib/python3.6/urllib/request.py", line 504, in _call_chain
result = func(*args)
File "/Users/Mac/anaconda3/lib/python3.6/urllib/request.py", line 1361, in https_open
context=self._context, check_hostname=self._check_hostname)
File "/Users/Mac/anaconda3/lib/python3.6/urllib/request.py", line 1320, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error EOF occurred in violation of protocol (_ssl.c:841)>
兄弟,你能成功上传了吗!?
from biliup.
不知道你加群没有,新加群的已经成功上传了
from biliup.
def start(self, url, date=None): title = self.title if date: title = str(date) + self.title if self.filter_file(): logger.info('准备上传' + title) try: self.upload(title, self.file_list, link=url) except selenium.common.exceptions.WebDriverException: logger.exception('WebDriverException') # except : # logger.exception('?')
把这最后两行的注释打开再运行一下(在upload.py这个文件里),因为你这个现在没有报错,看不出来哪出问题了
注释打开了,
ds_update.log
from biliup.
我可以成功上传,我有个问题是下满两个文件就上传吗,还有就是上传的同时还能下载吗?
我这里显示的同一个主播还在直播时,有两个文件下载完成了在上传的时候没有新的文件在下载,这样的话是不是有直播内容的丢失?
from biliup.
我可以成功上传,我有个问题是下满两个文件就上传吗,还有就是上传的同时还能下载吗?
我这里显示的同一个主播还在直播时,有两个文件下载完成了在上传的时候没有新的文件在下载,这样的话是不是有直播内容的丢失?
可以看“.part”文件的大小,判断进程有没有在下载- -。
感觉有时候,获取不到直播下载地址的时候,会有多个进程同时下载-,-
from biliup.
我可以成功上传,我有个问题是下满两个文件就上传吗,还有就是上传的同时还能下载吗?
我这里显示的同一个主播还在直播时,有两个文件下载完成了在上传的时候没有新的文件在下载,这样的话是不是有直播内容的丢失?
不是两个文件就上传,如果你不主动停止或者网络波动导致断流的话,直到主播下播才会上传,因为这个是给vps设计的,上传带宽比较充足,硬盘资源不足,所以出了问题是优先上传
from biliup.
我可以成功上传,我有个问题是下满两个文件就上传吗,还有就是上传的同时还能下载吗?
我这里显示的同一个主播还在直播时,有两个文件下载完成了在上传的时候没有新的文件在下载,这样的话是不是有直播内容的丢失?可以看“.part”文件的大小,判断进程有没有在下载- -。
感觉有时候,获取不到直播下载地址的时候,会有多个进程同时下载-,-
如果网络有问题,他会重试3次,不会同时下载的
from biliup.
你的cookie文件有问题,你可以打开检查一下,或者直接删了,让他重新登录
删除了cookie.
可以成功上传了.
感谢!!!
from biliup.
你的cookie文件有问题,你可以打开检查一下,或者直接删了,让他重新登录
删除了cookie.
可以成功上传了.
感谢!!!
看到上行在跑流量以为没事了,
还是有报错.
ds_update.log
from biliup.
你更新一下再试试,如果中途有错误日志先不要管,只要有上传了几个文件的日志就行了
好勒
from biliup.
你更新一下再试试,如果中途有错误日志先不要管,只要有上传了几个文件的日志就行了
成功上传拉!!!
ds_update.log
from biliup.
Related Issues (20)
- 能否添加关闭选项【功能建议】 HOT 1
- 【错误回报】弹幕缺少 HOT 1
- 【错误回报】录制超时,文件损坏 HOT 2
- 【错误回报】使用非stream-gears方式下载,仍然提示需要导入stream-gears HOT 5
- 后台启动biliup start,没有录制和上传的时候程序也一直在上传,平均4MB/S左右 HOT 1
- 【python 通过导入biliup模块来上传视频 出现400】
- 【错误回报】抖音录播一直出现 Non-monotonous DTS in output stream HOT 1
- B站录制返回错误的ts格式文件 HOT 1
- 录制的主播没用声音 HOT 3
- 请提供配置文件和日志 HOT 2
- 【功能建议】希望上传视频可以添加合集选项 HOT 5
- 【功能建议】B站上传模块的函数中不应该直接用 `asyncio.run` 这会导致用这个包的脚本就没法在使用 `asyncio.run` 了
- 录制主播没声音 HOT 2
- 录制主播没声音,日志和配置文件都已上传(到底能不能解决啊?)
- 【错误回报】抖音布部分直播间无法正常录播,网页端和app端都可以正常观看 HOT 3
- 【错误回报】添加完Afreecatv的账号后 再启动就报错了 检查了好几遍配置感觉没什么问题 HOT 1
- 【错误回报】bigo录制已炸 HOT 1
- 【错误回报】 HOT 1
- 【功能建议】列出过审视频
- 最新版master启动报错【错误回报】
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 biliup.