[auto-b] Added static websites' info -ref 45b2206c, da1e902e, 8ce31c3b, 1c4d5bab, 6bf85c7e, ef27b136..

This commit is contained in:
G
2021-06-17 19:28:51 -07:00
committed by GitHub
parent 1a8f456a77
commit 1f9273b03b
10 changed files with 3340 additions and 2741 deletions
+3 -1
View File
@@ -24,7 +24,9 @@ async function extract_metadata(site, source) {
temp_dict["itemprop"] = meta[key].attribs.itemprop
}
if (meta[key].attribs.content) {
temp_dict["content"] = meta[key].attribs.content
if (meta[key].attribs.content.replace("\n", "").replace("\t", "").replace("\r", "").trim() != ""){
temp_dict["content"] = meta[key].attribs.content
}
}
["property", "name", "itemprop"].forEach((item, i) => {