This commit is contained in:
Dessalines 2019-01-28 15:27:47 -08:00
commit f5b1282a47
1 changed files with 15 additions and 13 deletions

View File

@ -2,6 +2,7 @@ extern crate clap;
extern crate csv;
extern crate reqwest;
extern crate select;
use clap::{App, Arg};
use select::document::Document;
use select::predicate::{Attr, Class, Name, Predicate};
@ -179,6 +180,7 @@ fn skytorrents(save_dir: &Path) {
for page in pages.iter() {
println!("Fetching page {}", page);
let html = match fetch_html(page) {
Ok(t) => t,
_err => continue,