wbt5 / real-url

获取斗鱼&虎牙&哔哩哔哩&抖音&快手等 58 个直播平台的真实流媒体地址(直播源)和弹幕,直播源可在 PotPlayer、flv.js 等播放器中播放。
GNU General Public License v2.0
7.39k stars 1.54k forks source link

请教:斗鱼直播源报错。 #319

Open 1312644 opened 2 years ago

1312644 commented 2 years ago

File "douyu.py", line 34, in init self.res = self.s.get('https://m.douyu.com/' + str(rid)).text File "D:\Dev\Python\lib\site-packages\requests\sessions.py", line 526, in get return self.request('GET', url, kwargs) File "D:\Dev\Python\lib\site-packages\requests\sessions.py", line 513, in request resp = self.send(prep, send_kwargs) File "D:\Dev\Python\lib\site-packages\requests\sessions.py", line 623, in send r = adapter.send(request, **kwargs) File "D:\Dev\Python\lib\site-packages\requests\adapters.py", line 514, in send raise SSLError(e, request=request) requests.exceptions.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)