LifeActor / ykdl

a video downloader focus on China mainland video sites.(一款专注于中国大陆视频网站的视频下载器。)
https://github.com/LifeActor/ykdl
Other
1.45k stars 285 forks source link

xingyan.panda 部分地址异常 #292

Closed a67878813 closed 6 years ago

a67878813 commented 6 years ago

ykdl 'http://xingyan.panda.tv/145919'

Traceback (most recent call last): File "/usr/local/bin/ykdl", line 9, in load_entry_point('ykdl==1.6.0', 'console_scripts', 'ykdl')() File "/usr/local/lib/python3.5/dist-packages/ykdl-1.6.0-py3.5.egg/cykdl/main.py", line 171, in main File "/usr/local/lib/python3.5/dist-packages/ykdl-1.6.0-py3.5.egg/ykdl/extractor.py", line 24, in parser File "/usr/local/lib/python3.5/dist-packages/ykdl-1.6.0-py3.5.egg/ykdl/extractors/panda/xingyan.py", line 23, in prepare File "/usr/lib/python3.5/json/init.py", line 319, in loads return _default_decoder.decode(s) File "/usr/lib/python3.5/json/decoder.py", line 339, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/lib/python3.5/json/decoder.py", line 355, in raw_decode obj, end = self.scan_once(s, idx) json.decoder.JSONDecodeError: Unterminated string starting at: line 1 column 3249 (char 3248)

===================================

mengmo commented 6 years ago

请更新至最新版再次尝试

ykdl -i http://xingyan.panda.tv/145919
site:                熊猫星颜 (Panda Xingyan)
title:               熊猫最强音质百万录音棚千万调音师
artist:              Biu钟亚男
streams:
    - format:        current
      container:     flv
      video-profile: current
    # download-with: ykdl --format=current [URL]
Real urls:
http://flv-live-qn.xingxiu.panda.tv/panda-xingxiu/4853b2fbba708ca8716675419bf662e2.flv
a67878813 commented 6 years ago

已成功,多谢提醒。因更新记录未显示panda修正,欠考虑了。

mengmo commented 6 years ago

问题解决了的话,就请把这个 issue 关了吧。