This commit is contained in:
parent
0ad44036cb
commit
2f2c26e632
Binary file not shown.
|
@ -343,7 +343,7 @@ namespace youtube_downloader.Server.Functions
|
||||||
{
|
{
|
||||||
var c = await ytc.Channels.GetByUserAsync(name);
|
var c = await ytc.Channels.GetByUserAsync(name);
|
||||||
SavedChannel c2 = SavedChannel.FromChannel(c, _DownloadThumbnail);
|
SavedChannel c2 = SavedChannel.FromChannel(c, _DownloadThumbnail);
|
||||||
string infpath = GetPath(true, "Channels", c.Id + ".json");
|
string infpath = GetPath(true, "Channel", c.Id + ".json");
|
||||||
File.WriteAllText(infpath, JsonConvert.SerializeObject(c2));
|
File.WriteAllText(infpath, JsonConvert.SerializeObject(c2));
|
||||||
var cvids = await ytc.Channels.GetUploadsAsync(c2.Id).ToListAsync();
|
var cvids = await ytc.Channels.GetUploadsAsync(c2.Id).ToListAsync();
|
||||||
foreach (var v in cvids)
|
foreach (var v in cvids)
|
||||||
|
|
Loading…
Reference in New Issue