add several newspapers #36
@ -92,7 +92,7 @@ where
|
||||
//
|
||||
let image_urls = {
|
||||
let document = Document::from(&html);
|
||||
let imgs = document.select("img");
|
||||
let imgs = document.select("img:not([src^=\"data:\"])");
|
||||
|
||||
imgs.iter()
|
||||
.map(|image| {
|
||||
@ -115,7 +115,7 @@ where
|
||||
|
||||
let html = {
|
||||
let document = Document::from(&html);
|
||||
let imgs = document.select("img");
|
||||
let imgs = document.select("img:not([src^=\"data:\"])");
|
||||
|
||||
imgs.iter()
|
||||
.zip(downloaded_images.iter())
|
||||
|
Loading…
Reference in New Issue
Block a user