aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTithen-Firion <Tithen-Firion@users.noreply.github.com>2017-04-27 23:00:15 +0200
committerSergey M <dstftw@gmail.com>2017-04-28 04:00:15 +0700
commit6b4ddd336cf50f2ecc00b2addf4950d73b1b3087 (patch)
tree4e487c7a94d785541596fd292440c31751cc5797
parentc12b4b80f8371fd8554589ab777f5b9294a88c4a (diff)
[afreecatv] Fix title extraction
-rw-r--r--youtube_dl/extractor/afreecatv.py3
1 files changed, 1 insertions, 2 deletions
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,