Update Program.cs
This commit is contained in:
parent
eb6421ce72
commit
e07510e36d
|
@ -74,10 +74,10 @@ namespace N_m3u8DL_RE
|
||||||
//展示交互式选择框
|
//展示交互式选择框
|
||||||
var selectedStreams = PromptUtil.SelectStreams(lists);
|
var selectedStreams = PromptUtil.SelectStreams(lists);
|
||||||
//加载playlist
|
//加载playlist
|
||||||
Logger.Info(ResString.selectedStream);
|
|
||||||
await extractor.FetchPlayListAsync(selectedStreams);
|
await extractor.FetchPlayListAsync(selectedStreams);
|
||||||
Logger.Warn(ResString.writeJson);
|
Logger.Warn(ResString.writeJson);
|
||||||
await File.WriteAllTextAsync("meta_selected.json", GlobalUtil.ConvertToJson(selectedStreams), Encoding.UTF8);
|
await File.WriteAllTextAsync("meta_selected.json", GlobalUtil.ConvertToJson(selectedStreams), Encoding.UTF8);
|
||||||
|
Logger.Info(ResString.selectedStream);
|
||||||
foreach (var item in selectedStreams)
|
foreach (var item in selectedStreams)
|
||||||
{
|
{
|
||||||
Logger.InfoMarkUp(item.ToString());
|
Logger.InfoMarkUp(item.ToString());
|
||||||
|
|
Loading…
Reference in New Issue