aboutsummaryrefslogtreecommitdiffstats
path: root/youtube_dl/downloader/f4m.py
diff options
context:
space:
mode:
authorRemita Amine <remitamine@gmail.com>2017-04-22 16:42:24 +0100
committerRemita Amine <remitamine@gmail.com>2017-04-22 16:42:24 +0100
commit3e0304fe6e3a194cfb04f21aa261effb0850da40 (patch)
tree6026936191e93009421524d00c28b58c6c2d658e /youtube_dl/downloader/f4m.py
parentfbf56be213021669363b69c5d0866b2cf22ecf2a (diff)
downloadyoutube-dl-3e0304fe6e3a194cfb04f21aa261effb0850da40.zip
youtube-dl-3e0304fe6e3a194cfb04f21aa261effb0850da40.tar.gz
youtube-dl-3e0304fe6e3a194cfb04f21aa261effb0850da40.tar.bz2
[downloader/fragment] use the documented names for fragment progress_hooks fields
Diffstat (limited to 'youtube_dl/downloader/f4m.py')
-rw-r--r--youtube_dl/downloader/f4m.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/downloader/f4m.py b/youtube_dl/downloader/f4m.py
index e456ed5..c8fde9a 100644
--- a/youtube_dl/downloader/f4m.py
+++ b/youtube_dl/downloader/f4m.py
@@ -376,7 +376,7 @@ class F4mFD(FragmentFD):
while fragments_list:
seg_i, frag_i = fragments_list.pop(0)
frag_index += 1
- if frag_index <= ctx['frag_index']:
+ if frag_index <= ctx['fragment_index']:
continue
name = 'Seg%d-Frag%d' % (seg_i, frag_i)
query = []