Browse Source

update v0.1.1

格雷 3 years ago
parent
commit
31e7ac1bd7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      kemono.py

+ 1 - 1
kemono.py

@@ -120,7 +120,7 @@ class Kemono:
                 cls.__data_queue.task_done()
                 continue
             header = HEADER.copy()
-            header.update(Range=f"bytes={now_range}-")
+            header.update(Range=f"bytes={now_range}-{total_size}")
 
             block_size = 1024
             pbar = tqdm(desc=f"{name}", total=total_size, initial=now_range, unit="KB", unit_scale=True, leave=False)