mirror of
https://github.com/soimort/you-get.git
synced 2025-02-02 16:24:00 +03:00
163: remove leading whitespace
This commit is contained in:
parent
3b4ea85d5f
commit
1959e6e41f
@ -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>
|
||||
|
@ -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
|
||||
|
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user