1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-12-22 16:08:58 +00:00

[youtube] Support --download-sections for YT Livestream from start

This commit is contained in:
Elyse
2023-03-09 17:32:19 -06:00
parent b83d7526f2
commit fba1c397b1
3 changed files with 39 additions and 12 deletions

View File

@@ -33,6 +33,8 @@ class DashSegmentsFD(FragmentFD):
'filename': fmt.get('filepath') or filename,
'live': 'is_from_start' if fmt.get('is_from_start') else fmt.get('is_live'),
'total_frags': fragment_count,
'section_start': info_dict.get('section_start'),
'section_end': info_dict.get('section_end'),
}
if real_downloader: