mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-08-22 07:10:37 +02:00
[afreecatv] Fix title extraction
This commit is contained in:
parent
c12b4b80f8
commit
6b4ddd336c
@ -207,11 +207,10 @@ def _real_extract(self, url):
|
|||||||
file_url, video_id, 'mp4', entry_protocol='m3u8_native',
|
file_url, video_id, 'mp4', entry_protocol='m3u8_native',
|
||||||
m3u8_id='hls',
|
m3u8_id='hls',
|
||||||
note='Downloading part %d m3u8 information' % file_num)
|
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 = common_entry.copy()
|
||||||
file_info.update({
|
file_info.update({
|
||||||
'id': format_id,
|
'id': format_id,
|
||||||
'title': title,
|
'title': title if one else '%s (part %d)' % (title, file_num),
|
||||||
'upload_date': upload_date,
|
'upload_date': upload_date,
|
||||||
'duration': file_duration,
|
'duration': file_duration,
|
||||||
'formats': formats,
|
'formats': formats,
|
||||||
|
Loading…
Reference in New Issue
Block a user