Browse Source

[downloader/fragment] Clarify current_fragment's index and mark as experimental

master-ytdl-org
Sergey M․ 8 years ago
parent
commit
85f6de25e4
No known key found for this signature in database GPG Key ID: 2C393E0F18A9236D
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      youtube_dl/downloader/fragment.py

+ 3
- 1
youtube_dl/downloader/fragment.py View File

@ -46,9 +46,11 @@ class FragmentFD(FileDownloader):
Dictionary of downloader related data. May contain following data:
current_fragment:
Dictionary with current (being downloaded) fragment data:
index: Index of current fragment among all fragments
index: 0-based index of current fragment among all fragments
fragment_count:
Total count of fragments
This feature is experimental and file format may change in future.
"""
def report_retry_fragment(self, err, frag_index, count, retries):


Loading…
Cancel
Save