Skip to content
This repository has been archived by the owner on Sep 24, 2021. It is now read-only.

项目是不是不更新了? #90

Open
retsyo opened this issue Sep 17, 2016 · 1 comment
Open

项目是不是不更新了? #90

retsyo opened this issue Sep 17, 2016 · 1 comment

Comments

@retsyo
Copy link

retsyo commented Sep 17, 2016

下载youku的,说
【优酷】
File "youku.py", line 78, in parse_page
id2 = re.search(r"var\s+videoId2\s_=\s_'(\S+)'", page).group(1)
AttributeError: 'NoneType' object has no attribute 'group'
'from' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
【/优酷】

billy说
【b站】
File "R:\youku-lixian-master\bilibili.py", line 65, in bilibili_download
assert re.match(r'http://(www.bilibili.tv|bilibili.kankanews.com|bilibili.sm
gbb.cn)/video/av(\d+)', url)
AssertionError
【/b站】

@pengkui
Copy link

pengkui commented Mar 25, 2017

bilibili域名后缀改.com了,而且默认H5而不是flash,而且 “http://interface.bilibili.com/playurl?cid=” 还要提供appKey。我debug了一下,发现要改的太多,作罢。

现在我直接用youtube_dl了,它支持几百个站,包括 youku 和 B 站: https://github.com/rg3/youtube-dl/tree/master/youtube_dl/extractor 开源这东西没办法,就是众人拾柴火焰高。

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants