1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-10-31 06:35:12 +00:00

[downloader/fragment] use the documented names for fragment progress_hooks fields

This commit is contained in:
Remita Amine
2017-04-22 16:42:24 +01:00
parent fbf56be213
commit 3e0304fe6e
5 changed files with 14 additions and 12 deletions

View File

@@ -106,7 +106,7 @@ class HlsFD(FragmentFD):
if line:
if not line.startswith('#'):
frag_index += 1
if frag_index <= ctx['frag_index']:
if frag_index <= ctx['fragment_index']:
continue
frag_url = (
line