HeshamTB
4a1a254026
- Fixed issues with escaping query in Hx-Redirect header. - GetFilename functions that runs concurrently since it takes time for yt-dlp to fetch info. Investigate getting url and name in one execution. - Directly redirects to /download-direct for a streaming response of the file. I am observing that the request on the server side to content provider does not wait for the full download. instead, it is streamed in a buffer, that is also copied at the same time to the user response as partial. Pretty cool. Not much memory overhead, which was the main concern. Signed-off-by: HeshamTB <hishaminv@gmail.com> |
||
---|---|---|
assets | ||
static | ||
templates | ||
.gitignore | ||
bindata.go | ||
Containerfile | ||
go.mod | ||
main.go | ||
Makefile | ||
yt.go |