mirror of
https://github.com/soimort/you-get.git
synced 2025-02-03 00:33:58 +03:00
fix pptv
This commit is contained in:
parent
cd3e27bb64
commit
87f6b5afb1
@ -137,7 +137,7 @@ def pptv_download_by_id(id, title = None, output_dir = '.', merge = True, info_o
|
||||
assert rid.endswith('.mp4')
|
||||
print_info(site_info, title, 'mp4', total_size)
|
||||
if not info_only:
|
||||
download_urls([urls], title, 'mp4', total_size, output_dir = output_dir, merge = merge)
|
||||
download_urls(urls, title, 'mp4', total_size, output_dir = output_dir, merge = merge)
|
||||
|
||||
def pptv_download(url, output_dir = '.', merge = True, info_only = False):
|
||||
assert re.match(r'http://v.pptv.com/show/(\w+)\.html$', url)
|
||||
|
Loading…
Reference in New Issue
Block a user