163: remove leading whitespace

This commit is contained in:
Mort Yao 2013-01-11 18:18:51 +01:00
parent 3b4ea85d5f
commit 1959e6e41f
3 changed files with 5 additions and 3 deletions

View File

@ -25,7 +25,7 @@ Fork me on GitHub: <https://github.com/soimort/you-get>
* ifeng (凤凰视频) <http://v.ifeng.com>
* iQIYI (爱奇艺) <http://www.iqiyi.com>
* Ku6 (酷6网) <http://www.ku6.com>
* NetEase (网易) <http://v.163.com>
* NetEase (网易视频) <http://v.163.com>
* PPTV <http://www.pptv.com>
* QQ (腾讯视频) <http://v.qq.com>
* Sina (新浪视频) <http://video.sina.com.cn>
@ -217,7 +217,7 @@ You-Get基于优酷下载脚本[iambus/youku-lixian](https://github.com/iambus/y
* 凤凰视频 <http://v.ifeng.com>
* 爱奇艺 <http://www.iqiyi.com>
* 酷6网 <http://www.ku6.com>
* 网易 <http://v.163.com>
* 网易视频 <http://v.163.com>
* PPTV <http://www.pptv.com>
* 腾讯视频 <http://v.qq.com>
* 新浪视频 <http://video.sina.com.cn>

View File

@ -28,7 +28,7 @@ Supported Sites (As of Now)
* ifeng (凤凰视频) http://v.ifeng.com
* iQIYI (爱奇艺) http://www.iqiyi.com
* Ku6 (酷6网) http://www.ku6.com
* NetEase (网易) http://v.163.com
* NetEase (网易视频) http://v.163.com
* PPTV http://www.pptv.com
* QQ (腾讯视频) http://v.qq.com
* Sina (新浪视频) http://video.sina.com.cn

View File

@ -25,6 +25,8 @@ def netease_download(url, output_dir = '.', merge = True, info_only = False):
else:
title = r1('<title>(.+)</title>', html)
if title[0] == ' ':
title = title[1:]
url = r1(r'(.+)-list.m3u8', src) + ".mp4"
_, _, size = url_info(url)
ext = 'mp4'