iambus / youku-lixian

优酷下载脚本,顺便支持其他……
Other
849 stars 265 forks source link

iqiyi现在下载不了 #44

Open leitwolf opened 12 years ago

leitwolf commented 12 years ago

http://www.iqiyi.com/jilupian/20120105/e866f8946924ff5c.html

Traceback (most recent call last): File "/usr/bin/lxv", line 62, in main() File "/usr/bin/lxv", line 59, in main script_main('video_lixian', any_download, any_download_playlist) File "/_my/youku-lixian/common.py", line 287, in script_main download(url, merge=merge) File "/usr/bin/lxv", line 52, in any_download m.download(url, merge=merge) File "/_my/youku-lixian/iqiyi.py", line 22, in iqiyi_download assert videoId AssertionError 请查看一下,谢谢!!

radaiming commented 12 years ago

可能修掉了,测试了两个视频,可以下载 https://github.com/radaiming/youku-lixian/commit/fdc7db9203dedb304fdf9fe81a0aa22cdf40fac2

leitwolf commented 11 years ago

Traceback (most recent call last): File "/usr/bin/lxv", line 62, in main() File "/usr/bin/lxv", line 59, in main script_main('video_lixian', any_download, any_download_playlist) File "/_my/youku-lixian/common.py", line 295, in script_main download(url, merge=merge) File "/usr/bin/lxv", line 52, in any_download m.download(url, merge=merge) File "/_my/youku-lixian/iqiyi.py", line 27, in iqiyi_download doc = parseString(info_xml) File "/usr/lib/python2.6/xml/dom/minidom.py", line 1927, in parseString from xml.dom import expatbuilder File "/usr/lib/python2.6/xml/dom/expatbuilder.py", line 32, in from xml.parsers import expat File "/usr/lib/python2.6/xml/parsers/expat.py", line 4, in from pyexpat import * ImportError: No module named pyexpat 不支持2.6版本吗

iambus commented 11 years ago

@leitwolf 这个错误看起来是python的环境有问题吧。

leitwolf commented 11 years ago

我的路由器openwrt上只有2.6的版本

iambus commented 11 years ago

恐怕和2.6还是2.7无关。标准库本身安装不完整。

leitwolf commented 11 years ago

那还要安装哪些库呢

iambus commented 11 years ago

如果是正常安装python,应该不需要自己再额外装什么。你的python是怎么安装的?

leitwolf commented 11 years ago

我的是路由器openwrt系统,系统里有可用的软件列表,点击就可以安装,不要自己编译。目前我的系统里有这两个关于python的:

python 2.6.4-3 python-mini 2.6.4-3

iambus commented 11 years ago

不太清楚点击安装是怎么做到的…… 很久以前我是先装了optware,然后用optware装的python 2.7。

leitwolf commented 11 years ago

就是直接登录进去的管理界面里面,会有很多可用的软件工具,应该是通过optware安装的

leitwolf commented 11 years ago

这里没办法发图