0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-16 01:25:06 +00:00

[downloader/dash] PEP 8

This commit is contained in:
Sergey M․ 2016-02-14 14:13:09 +06:00
parent e76394f36c
commit c78c9cd10d

View file

@ -35,6 +35,7 @@ def combine_url(base_url, target_url):
return '%s%s%s' % (base_url, '' if base_url.endswith('/') else '/', target_url) return '%s%s%s' % (base_url, '' if base_url.endswith('/') else '/', target_url)
segments_filenames = [] segments_filenames = []
def append_url_to_file(target_url, target_filename): def append_url_to_file(target_url, target_filename):
success = ctx['dl'].download(target_filename, {'url': combine_url(base_url, target_url)}) success = ctx['dl'].download(target_filename, {'url': combine_url(base_url, target_url)})
if not success: if not success: