[miaopai] fix #1194

This commit is contained in:
Mort Yao 2016-06-23 21:23:17 +02:00
parent 166596e6bc
commit fc83718e58
No known key found for this signature in database
GPG Key ID: 07DA00CB78203251

View File

@ -37,7 +37,7 @@ def miaopai_download(url, output_dir = '.', merge = False, info_only = False, **
miaopai_download_by_url(url, output_dir, merge, info_only)
elif re.match(r'http://weibo.com/p/230444\w+', url):
_fid = match1(url, r'http://weibo.com/p/230444(\w+)')
miaopai_download_by_url('http://video.weibo.com/show?fid=1034:{_fid}'.format(_fid = _fid))
miaopai_download_by_url('http://video.weibo.com/show?fid=1034:{_fid}'.format(_fid = _fid), output_dir, merge, info_only)
site_info = "miaopai"
download = miaopai_download