From: Tithen-Firion Date: Thu, 27 Apr 2017 21:00:15 +0000 (+0200) Subject: [afreecatv] Fix title extraction X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=6b4ddd336cf50f2ecc00b2addf4950d73b1b3087;p=youtube-dl [afreecatv] Fix title extraction --- diff --git a/youtube_dl/extractor/afreecatv.py b/youtube_dl/extractor/afreecatv.py index 78d29c861..c8cb91dcb 100644 --- a/youtube_dl/extractor/afreecatv.py +++ b/youtube_dl/extractor/afreecatv.py @@ -207,11 +207,10 @@ class AfreecaTVIE(InfoExtractor): file_url, video_id, 'mp4', entry_protocol='m3u8_native', m3u8_id='hls', note='Downloading part %d m3u8 information' % file_num) - title = title if one else '%s (part %d)' % (title, file_num) file_info = common_entry.copy() file_info.update({ 'id': format_id, - 'title': title, + 'title': title if one else '%s (part %d)' % (title, file_num), 'upload_date': upload_date, 'duration': file_duration, 'formats': formats,