- 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>
- Do not accept redirects. Usually
on yt at least, redirect means the link
is invalid. Hence, it redirects to the home
page.
- This is tested and it works well. trust.
Signed-off-by: HeshamTB <hishaminv@gmail.com>