mirror of
https://onedev.site.tesses.net/tytd2025
synced 2026-02-09 01:55:46 +00:00
Add some api docs
This commit is contained in:
@@ -27,6 +27,7 @@ class TYTD.AOVideoDownload : IVideoDownload {
|
||||
|
||||
var req = this.tytd.ManifestRequest(id).playerResponse;
|
||||
this.info.Title = req.videoDetails.title;
|
||||
tytd.LOG($"Downloading: {this.info.Title} with id: {id} Highest Audio");
|
||||
this.info.Channel = req.videoDetails.author;
|
||||
this.info.ChannelId = req.videoDetails.channelId;
|
||||
|
||||
|
||||
@@ -35,6 +35,7 @@ class TYTD.NoConvertVideoDownload : IVideoDownload {
|
||||
|
||||
|
||||
this.info.Title = req.videoDetails.title;
|
||||
tytd.LOG($"Downloading: {this.info.Title} with id: {id} Highest Video/Audio");
|
||||
this.info.Channel = req.videoDetails.author;
|
||||
this.info.ChannelId = req.videoDetails.channelId;
|
||||
|
||||
|
||||
@@ -27,6 +27,7 @@ class TYTD.SDVideoDownload : IVideoDownload {
|
||||
|
||||
var req = this.tytd.ManifestRequest(id).playerResponse;
|
||||
this.info.Title = req.videoDetails.title;
|
||||
tytd.LOG($"Downloading: {this.info.Title} with id: {id} LowVideo");
|
||||
this.info.Channel = req.videoDetails.author;
|
||||
this.info.ChannelId = req.videoDetails.channelId;
|
||||
|
||||
|
||||
@@ -29,7 +29,7 @@ class TYTD.VOVideoDownload : IVideoDownload {
|
||||
this.info.Title = req.videoDetails.title;
|
||||
this.info.Channel = req.videoDetails.author;
|
||||
this.info.ChannelId = req.videoDetails.channelId;
|
||||
|
||||
tytd.LOG($"Downloading: {this.info.Title} with id: {id} Highest Video");
|
||||
this.tytd.PutVideoInfo(req.videoDetails);
|
||||
|
||||
var width = 0;
|
||||
|
||||
Reference in New Issue
Block a user