FFAFJQ5QVMHTLULZTGVM5PX7XQEZQUWLPH2GAN5BGVAYZOZZYG5QC
476KTQSS5NXVCTVLVZQRGSYD5OAFBYG75VTSWBN26Q45RSMRT5YQC
XIHPYOWDLQY2MVMVUQPH23O3TBALRG4G2CHSLWSCAYMY5NVJ32WQC
EEJ6CBJRTXLPQP44I2RLWVLJBX565DXXAWU4JIWNA3MMNE7WB5LQC
UIMZBURR7KOWSREO4GDH5C2LZDUTEZBKQNYWBYSFGUTRYJ4GKSNQC
THSENT35O3PIXQ343QPPE3DJGR4YVULN6YPS5ETW5PXSVGZZQIZAC
Y6BVNXQ747WQKVB4JO3AHYOMBWNNJNPC6SG2UUCCZRIIXDMXJYDQC
SBPKWZNQF5BWAJ7SZHWVK5BG6DTVJNDYND6UG5PDZCWZ2W4W2HXQC
BSPWOOHZMN3RAOHGJ2A3XKUOUCFFAOXS7YR67E3AARPPPIA5YPDAC
let episodes_to_download = parse_download_episodes(e_search);
podcast.download_specific(episodes_to_download);
match parse_download_episodes(e_search) {
Ok(episodes_to_download) => podcast.download_specific(episodes_to_download),
Err(err) => eprintln!("{}", err),
}
return;
// TODO There has to be a better way to do this...later
result.insert(String::from(
val.trim_right_matches(".mp3")
.trim_right_matches(".m4a")
.trim_right_matches(".ogg"),
));
let name = String::from(val);
let index = name.find('.').unwrap();
result.insert(String::from(&name[0..index]));