Revert stream
Browse files- API/app.py +1 -1
- Client/hunt.py +1 -1
API/app.py
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
from fastapi import FastAPI, Query
|
| 2 |
from fastapi.responses import FileResponse
|
| 3 |
import aiohttp
|
| 4 |
import asyncio
|
|
|
|
| 1 |
+
from fastapi import FastAPI, Query
|
| 2 |
from fastapi.responses import FileResponse
|
| 3 |
import aiohttp
|
| 4 |
import asyncio
|
Client/hunt.py
CHANGED
|
@@ -65,7 +65,7 @@ for index in indexs:
|
|
| 65 |
post_ids.update(to_download)
|
| 66 |
print(f"Downloading {len(to_download)} images...")
|
| 67 |
if to_download:
|
| 68 |
-
images_zstd = requests.post(f'{endpoint}/download', json={'posts': to_download}
|
| 69 |
|
| 70 |
print("Decompressing zstd...")
|
| 71 |
dctx = zstandard.ZstdDecompressor()
|
|
|
|
| 65 |
post_ids.update(to_download)
|
| 66 |
print(f"Downloading {len(to_download)} images...")
|
| 67 |
if to_download:
|
| 68 |
+
images_zstd = requests.post(f'{endpoint}/download', json={'posts': to_download})
|
| 69 |
|
| 70 |
print("Decompressing zstd...")
|
| 71 |
dctx = zstandard.ZstdDecompressor()
|