Adding replace lines.

This commit is contained in:
Dessalines 2018-11-14 13:30:08 -07:00
parent 5a3cd8f9c5
commit e92cfc2d45
1 changed files with 2 additions and 2 deletions

View File

@ -70,8 +70,8 @@ fn skytorrents() {
.expect("Time went backwards") .expect("Time went backwards")
.as_secs(); .as_secs();
let seeders = row.find(Name("td")).nth(4).unwrap().text(); let seeders = row.find(Name("td")).nth(4).unwrap().text().replace(",","");
let leechers = row.find(Name("td")).nth(5).unwrap().text(); let leechers = row.find(Name("td")).nth(5).unwrap().text().replace(",","");
// infohash;name;size_bytes;created_unix;seeders;leechers;completed;scraped_date // infohash;name;size_bytes;created_unix;seeders;leechers;completed;scraped_date