a
This commit is contained in:
parent
38f9ef75b9
commit
6565984972
@ -9,8 +9,8 @@ use iptvnator::{download_with_progress, setup, M3u8, Parser, Readline};
|
|||||||
async fn main() {
|
async fn main() {
|
||||||
println!("Welcome to iptvnator, the port and extension of my previous program pyiptvnator, now in rust BLAZINGLY FAST\n");
|
println!("Welcome to iptvnator, the port and extension of my previous program pyiptvnator, now in rust BLAZINGLY FAST\n");
|
||||||
println!(
|
println!(
|
||||||
"There will be some options along the way \n {} is for refreshing your iptvfile.\n {} is to quit and save watched feeds\n {} is to download fields\n {} is to perform a new search",
|
"There will be some options along the way \n {} is for refreshing your iptvfile.\n {} is to quit and save watched feeds\n {} is to download fields\n {} is to perform a new search\n {} means all",
|
||||||
"r".bold(),"q".bold(),"d".bold(),"s".bold()
|
"r".bold(),"q".bold(),"d".bold(),"s".bold(),"a".bold()
|
||||||
);
|
);
|
||||||
let parser = Parser::new("iptv.m3u8".to_owned(), setup(), "watched.txt".to_owned()).await;
|
let parser = Parser::new("iptv.m3u8".to_owned(), setup(), "watched.txt".to_owned()).await;
|
||||||
|
|
||||||
@ -60,7 +60,7 @@ async fn main() {
|
|||||||
refresh(&parser).await;
|
refresh(&parser).await;
|
||||||
continue;
|
continue;
|
||||||
} else if user_wish == "d" {
|
} else if user_wish == "d" {
|
||||||
let selection = readline.input("Download all or select in comma separated [A]: ");
|
let selection = readline.input("Download all or select in comma separated [a]: ");
|
||||||
let selection = selection.trim();
|
let selection = selection.trim();
|
||||||
|
|
||||||
let to_download = loop {
|
let to_download = loop {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user