projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c12b4b8
)
[afreecatv] Fix title extraction
author
Tithen-Firion
<Tithen-Firion@users.noreply.github.com>
Thu, 27 Apr 2017 21:00:15 +0000
(23:00 +0200)
committer
Sergey M
<dstftw@gmail.com>
Thu, 27 Apr 2017 21:00:15 +0000
(
04:00
+0700)
youtube_dl/extractor/afreecatv.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/afreecatv.py
b/youtube_dl/extractor/afreecatv.py
index 78d29c861537fe8e5bbd0dffd1de87e08b411e8a..c8cb91dcba63cd7e532945eedb114f1975750b6f 100644
(file)
--- 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,