Explorar o código

update v0.1.1

格雷 %!s(int64=3) %!d(string=hai) anos
pai
achega
31e7ac1bd7
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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)