Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

qq解析失败 #28

Closed
singno opened this issue Oct 18, 2016 · 0 comments
Closed

qq解析失败 #28

singno opened this issue Oct 18, 2016 · 0 comments

Comments

@singno
Copy link

singno commented Oct 18, 2016

ykdl.py -i http://v.qq.com/x/cover/x8yeqkvx56kelzm/u00214d75pq.html

Traceback (most recent call last):
  File "/usr/local/bin/ykdl.py", line 4, in <module>
    __import__('pkg_resources').run_script('ykdl==1.1.3.5', 'ykdl.py')
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources/__init__.py", line 742, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources/__init__.py", line 1674, in run_script
    exec(script_code, namespace, namespace)
  File "/Library/Python/2.7/site-packages/ykdl-1.1.3.5-py2.7.egg/EGG-INFO/scripts/ykdl.py", line 148, in <module>
  File "/Library/Python/2.7/site-packages/ykdl-1.1.3.5-py2.7.egg/EGG-INFO/scripts/ykdl.py", line 127, in main
  File "build/bdist.macosx-10.12-intel/egg/ykdl/extractor.py", line 19, in parser
  File "build/bdist.macosx-10.12-intel/egg/ykdl/extractors/qq/video.py", line 245, in prepare
  File "build/bdist.macosx-10.12-intel/egg/ykdl/extractors/qq/video.py", line 189, in get_stream_info
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/posixpath.py", line 98, in splitext
    return genericpath._splitext(p, sep, altsep, extsep)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/genericpath.py", line 99, in _splitext
    sepIndex = p.rfind(sep)
AttributeError: 'NoneType' object has no attribute 'rfind'
zhangn1985 pushed a commit that referenced this issue Apr 27, 2018
try to fix #28

Signed-off-by: ykdl <zhangn1985@gmail.com>
zhangn1985 pushed a commit that referenced this issue Apr 27, 2018
try to fix #28

Signed-off-by: ykdl <zhangn1985@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant