mirror of
https://onedev.site.tesses.net/tytd2025
synced 2026-06-01 18:05:32 +00:00
Make the downloader more resiliant
This commit is contained in:
@@ -14,6 +14,6 @@
|
||||
"project_dependencies": [
|
||||
"..\/Tesses.YouTubeDownloader"
|
||||
],
|
||||
"version": "1.0.0.2-prod",
|
||||
"version": "1.0.0.3-prod",
|
||||
"compTime": "secure"
|
||||
}
|
||||
@@ -623,6 +623,17 @@ class TYTDApp {
|
||||
|
||||
}
|
||||
}
|
||||
else if(ctx.Path == "/api/v1/manifest.json")
|
||||
{
|
||||
const v = ctx.QueryParams.TryGetFirst("v");
|
||||
if(TypeIsString(v))
|
||||
{
|
||||
const resp=this.TYTD.ManifestRequest(v);
|
||||
Console.WriteLine(resp);
|
||||
ctx.WithMimeType("application/json").SendJson(resp);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
else if(ctx.Path == "/api/v1/personal")
|
||||
{
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user