add several newspapers #36

Merged
koalp merged 6 commits from feature/additional_newspapers into development 2021-05-22 04:50:43 +02:00
Showing only changes of commit cee0af6c3c - Show all commits

View File

@ -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())