teddy171

Results 11 comments of teddy171

I use celery to download videos. I think it is not easy to do that.

> "Doctor, when I hit myself with the hammer it hurts. What can I do?" > > Progress hooks are Python code called during the download. If you use an...

You can press button "control" and open the file.It will be opened

@abersheeran Could you tell me how to use baize.asgi.FileResponse to send file? It seem only can return header. ```json {"status_code":200,"headers":{"accept-ranges":"bytes","last-modified":"Sat, 08 Apr 2023 06:11:11 GMT","etag":"22f29ae79c1e6389cbde785a591426c3f463b5d7","content-disposition":"attachment; filename=\"demo.md\"; filename*=utf-8''demo.md"},"cookies":[],"filepath":"./demo.md","content_type":"application/octet-stream","download_name":null,"stat_result":[33188,2738687,16777237,1,501,20,19,1680934310,1680934271,1680934271],"chunk_size":262144} ``` Can you...

```python import uvicorn from fastapi import FastAPI, Response from baize.asgi.responses import FileResponse class ChunkFileResponse(Response): def __init__(self, *args, **kwargs) -> None: if len(args) == 1: kwargs = args[0] [kwargs.pop(k) for k...

Why I don't have the same output as you? ```zsh % python -m youtube_dl -v -F 'https://www.bilibili.com/video/BV1Hg411B7iR/' [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug]...

But why did cobalt's download speed become 0 after sometime's download. If it's caused by heavy downloads, is it better to resume, wait for a while, and then continue downloading?

Another possible solution is only download a part of video(such as 50MB) each time. If a part encounters the error, just that part should be redownloaded instead of all the...

In my case, after using hls, the situation becomes better, but it still cannot download a complete video. Around 100MB, the download process stops.

I also encountered this problem. The download speed became zero after downloading 2-3MB. ![image](https://github.com/user-attachments/assets/b87886b5-6f11-40ee-a445-0f41dbcd7c55) I turned on the HLS, but it still has a problem. After downloading 18MB, it stop...