ZD3G3BCXBEXELHH3KMXMDUQUJ4BXIF4ZSZKFIJJCRO7IDK4XPOWAC
MQKOX2CQ7AON24UJC7RORAC7Y2UROROVG7BBKLVWURPXKY75JV5AC
Y6BVNXQ747WQKVB4JO3AHYOMBWNNJNPC6SG2UUCCZRIIXDMXJYDQC
UIMZBURR7KOWSREO4GDH5C2LZDUTEZBKQNYWBYSFGUTRYJ4GKSNQC
476KTQSS5NXVCTVLVZQRGSYD5OAFBYG75VTSWBN26Q45RSMRT5YQC
5JMYBRF3UYX4LFH7JK6S4BEDKRVKDFIL4YKTCWKMKP4TMNNGQFKQC
J64KBLKALQ3HQCY4HJU5H6WBXTATS7TKBYNNUUSNJE7JLWLYO66QC
THSENT35O3PIXQ343QPPE3DJGR4YVULN6YPS5ETW5PXSVGZZQIZAC
FFAFJQ5QVMHTLULZTGVM5PX7XQEZQUWLPH2GAN5BGVAYZOZZYG5QC
6FJACP6KUOZ4HWK4PSS5PFPGDYXZSCAWSKIARWBDGCZTPJWXA62AC
SBPKWZNQF5BWAJ7SZHWVK5BG6DTVJNDYND6UG5PDZCWZ2W4W2HXQC
JJ4SMY257MAHSJSZH5PJZMLBH3GJX5VKH2ZZSBGWLL7FWP7OA7TQC
5GQNHICLSFAA7ZUFXUCNACCPAIIGK4DV2QPTONDNXLS4TJJTOFHAC
XIHPYOWDLQY2MVMVUQPH23O3TBALRG4G2CHSLWSCAYMY5NVJ32WQC
76TBVFPIFU3LSMXY5NAHZBH6HRJLSLK43PGOPL6QQ2YYVBJ64QAQC
EEJ6CBJRTXLPQP44I2RLWVLJBX565DXXAWU4JIWNA3MMNE7WB5LQC
for podcast in state.subscriptions() {
if re.is_match(&podcast.title()) {
println!("Episodes for {}:", &podcast.title());
match Podcast::from_url(&podcast.url()) {
for podcast in &state.subs {
if re.is_match(&podcast.title) {
println!("Episodes for {}:", &podcast.title);
match Podcast::from_url(&podcast.url) {
for subscription in state.subscriptions() {
if re_pod.is_match(&subscription.title()) {
let podcast = Podcast::from_url(&subscription.url()).unwrap();
for subscription in &state.subs {
if re_pod.is_match(&subscription.title) {
let podcast = Podcast::from_url(&subscription.url).unwrap();
for subscription in state.subscriptions() {
if re_pod.is_match(&subscription.title()) {
let podcast = Podcast::from_url(&subscription.url()).unwrap();
for subscription in &state.subs {
if re_pod.is_match(&subscription.title) {
let podcast = Podcast::from_url(&subscription.url).unwrap();
for subscription in state.subscriptions() {
if re_pod.is_match(&subscription.title()) {
let podcast = Podcast::from_url(&subscription.url()).unwrap();
for subscription in &state.subs {
if re_pod.is_match(&subscription.title) {
let podcast = Podcast::from_url(&subscription.url).unwrap();
for subscription in state.subscriptions() {
if re_pod.is_match(&subscription.title()) {
let mut filename = String::from(subscription.title());
for subscription in &state.subs {
if re_pod.is_match(&subscription.title) {
let mut filename = subscription.title.clone();
if state
.last_run_time
.signed_duration_since(Utc::now())
.num_seconds() < -86400
{
update_rss(&mut state);
if state
.last_run_time
.signed_duration_since(Utc::now())
.num_seconds() < -86400
{
update_rss(&mut state);
}
state.last_run_time = Utc::now();
Ok(state)
},
Err(_) => Err(format!("Failed to parse .subscriptions ... I probably changed the schema ... sorry"))